mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-19 05:43:17 +00:00
Removed sidebars, added tournament navbar, and removed chitika ads
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
<li> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span></span></li>
|
||||
<li><%= match.bout_number %> <%= match.bracket_score_string %> </li>
|
||||
<li class="bout-number"><%= match.bout_number %> <%= match.bracket_score_string %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span></span></li>
|
||||
<li> </li>
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
border: none;
|
||||
margin: 0px;
|
||||
padding: 0px;
|
||||
width: 7in; /* width: 7in; */
|
||||
width: 8in; /* width: 7in; */
|
||||
height: 9.5in; /* or height: 9.5in; */
|
||||
font-size: 10px;
|
||||
font-size: 8px;
|
||||
position: relative;
|
||||
left: 1in;
|
||||
left: 0in;
|
||||
height: 1in;
|
||||
}
|
||||
/*
|
||||
@@ -70,7 +70,7 @@ li:first-child,li:last-child {
|
||||
<table class='pagebreak'>
|
||||
<h5><strong><%= @tournament.name %> - <%= w.max %> lbs Bracket</strong></h5>
|
||||
<tr>
|
||||
<td valign="top" style="padding: 10px;">
|
||||
<td valign="top" style="padding: 0px;">
|
||||
<% @weight = w %>
|
||||
<% @matches = @tournament.matches.select{|m| m.weight_id == @weight.id} %>
|
||||
<% @wrestlers = Wrestler.where(weight_id: @weight.id) %>
|
||||
|
||||
@@ -43,6 +43,9 @@ li:first-child,li:last-child {
|
||||
border-right:1px solid #aaa; min-height:30px;
|
||||
}
|
||||
|
||||
.bout-number + li {
|
||||
valign: center;
|
||||
}
|
||||
.bracket-winner {
|
||||
border-bottom:1px solid #aaa;
|
||||
}
|
||||
@@ -52,13 +55,6 @@ li:first-child,li:last-child {
|
||||
}
|
||||
</style>
|
||||
<% cache ["#{@weight.id}_bracket", @weight] do %>
|
||||
</br>
|
||||
</br>
|
||||
</br>
|
||||
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<table class='pagebreak'>
|
||||
<h5><strong><%= @tournament.name %> - <%= @weight.max %> lbs Bracket</strong></h5>
|
||||
<tr>
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
|
||||
<br>
|
||||
<br>
|
||||
<% @weights.each do |weight| %>
|
||||
<%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/brackets/#{weight.id}" %>
|
||||
<br>
|
||||
<% end %>
|
||||
<% if can? :manage, @tournament %>
|
||||
<%= link_to "All Brackets (Printable)", "/tournaments/#{@tournament.id}/all_brackets?print=true", target: :_blank %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user