diff options
author | AndrewMurrell <amurrel@purdue.edu> | 2014-04-01 17:18:13 -0400 |
---|---|---|
committer | AndrewMurrell <amurrel@purdue.edu> | 2014-04-01 17:18:13 -0400 |
commit | ac77cea14d5708f47df42774b0b281391b2e3c89 (patch) | |
tree | cf66f26702c9648687438de1d4f09306ca453c20 /app/views/matches | |
parent | 031b31dfcc2b99836021d6e251c78a9fc339d444 (diff) | |
parent | 0867bc68749873aa131c0f3b273771b5f70ae778 (diff) |
Merge branch 'master' of http://github.com/LukeShu/leaguer
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 d463e50..4193f16 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> @@ -28,5 +29,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> |