mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-08 07:22:38 +00:00
Finished pool advance logic still need tests
This commit is contained in:
@@ -66,7 +66,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -78,7 +78,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -90,7 +90,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -115,7 +115,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -140,7 +140,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -152,7 +152,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -177,7 +177,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
|
||||
@@ -66,7 +66,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -78,7 +78,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -104,7 +104,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -131,7 +131,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -143,7 +143,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -168,7 +168,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<% @round = 1 %>
|
||||
<% until @matches.select{|m| m.round == @round}.blank? %>
|
||||
<% if @round <= @pools %>
|
||||
<td><%= w.boutByRound(@round) %><br>Result</td>
|
||||
<td><%= w.boutByRound(@round) %><br><%= w.resultByBout(w.boutByRound(@round)) %></td>
|
||||
<% end %>
|
||||
<% @round = @round + 1 %>
|
||||
<% end %>
|
||||
|
||||
@@ -66,7 +66,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -90,7 +90,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
|
||||
@@ -66,7 +66,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -78,7 +78,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -104,7 +104,7 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
<li class="game game-top "><%= match.w1_name %> <span>Score</span></li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> </li>
|
||||
<li class="game game-spacer"><%= match.bout_number %> <%= match.bracketScore %> </li>
|
||||
<li class="game game-bottom "><%= match.w2_name %><span>Score</span></li>
|
||||
|
||||
<li class="spacer"> </li>
|
||||
@@ -120,4 +120,4 @@ li.game{
|
||||
<li class="spacer"> </li>
|
||||
|
||||
</ul>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user