diff options
author | Tomer Kimia <tkimia@purdue.edu> | 2014-04-01 17:14:05 -0400 |
---|---|---|
committer | Tomer Kimia <tkimia@purdue.edu> | 2014-04-01 17:14:05 -0400 |
commit | 0867bc68749873aa131c0f3b273771b5f70ae778 (patch) | |
tree | d29a091054b4ac659af77072f55be1e7b1bf69cf /app/views/matches | |
parent | cd6b94cfc989800d65acc0fbceeebe35da5be4af (diff) |
players can now leave tournaments
Diffstat (limited to 'app/views/matches')
-rw-r--r-- | app/views/matches/index.html.erb | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/app/views/matches/index.html.erb b/app/views/matches/index.html.erb index d862d57..f1019ec 100644 --- a/app/views/matches/index.html.erb +++ b/app/views/matches/index.html.erb @@ -1,5 +1,6 @@ -<h1>Listing matches</h1> +<h1><%= @tournament.name %> Matches</h1> +<!-- <table> <thead> <tr> @@ -30,5 +31,17 @@ </table> <br> +--> -<%= link_to 'New Match', new_tournament_match_path %> +<SVG version="1.1" + baseProfile="full" + width="<%= 300 * @matches.count / 2 + 50 %>" height="<%= 200 * @matches.count + 50 %>" + xmlns="http://www.w3.org/2000/svg"> + + <% @matches.each do |tournament | %> + <g class="svg-match" > + + </g> + <% end %> + +</SVG>
\ No newline at end of file |