mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-04-26 07:56:57 +00:00
Added full screen bout board
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<ul class="">
|
<ul class="">
|
||||||
<li><%= link_to "Tournament home" , "/tournaments/#{@tournament.id}/" %></li>
|
<li><%= link_to "Tournament home" , "/tournaments/#{@tournament.id}/" %></li>
|
||||||
<li><%= link_to "Brackets" , "/tournaments/#{@tournament.id}/brackets" %></li>
|
<li><%= link_to "Brackets" , "/tournaments/#{@tournament.id}/brackets" %></li>
|
||||||
<li><%= link_to "Upcoming Matches" , "/tournaments/#{@tournament.id}/up_matches" %></li>
|
<li><%= link_to "Bout Board" , "/tournaments/#{@tournament.id}/up_matches" %></li>
|
||||||
<li><%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %></li>
|
<li><%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
@@ -20,6 +20,7 @@
|
|||||||
<br><strong>Pages</strong><br>
|
<br><strong>Pages</strong><br>
|
||||||
<br><%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
|
<br><%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
|
||||||
<br><%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %>
|
<br><%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %>
|
||||||
|
<br><%= link_to "Full Screen Bout Board" , "/tournaments/#{@tournament.id}/up_matches?print=true" %>
|
||||||
|
|
||||||
<br><br><strong>Time Savers</strong><br>
|
<br><br><strong>Time Savers</strong><br>
|
||||||
<br><%= link_to "Create High School Weights" , "/tournaments/#{@tournament.id}/create_custom_weights?customValue=hs",data: { confirm: 'Are you sure? This will delete all current weights.' } %>
|
<br><%= link_to "Create High School Weights" , "/tournaments/#{@tournament.id}/create_custom_weights?customValue=hs",data: { confirm: 'Are you sure? This will delete all current weights.' } %>
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
<% cache ["up_matches", @tournament] do %>
|
<% cache ["up_matches", @tournament] do %>
|
||||||
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
|
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
// $(document).ready(function() {
|
||||||
$('#matchList').dataTable();
|
// $('#matchList').dataTable();
|
||||||
} );
|
// } );
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
setTimeout("location.reload(true);",30000);
|
setTimeout("location.reload(true);",30000);
|
||||||
@@ -12,10 +12,8 @@
|
|||||||
<br>
|
<br>
|
||||||
<h5 style="color:red">This page reloads every 30s</h5>
|
<h5 style="color:red">This page reloads every 30s</h5>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
|
||||||
<h3>Upcoming Matches</h3>
|
<h3>Upcoming Matches</h3>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
|
||||||
<table class="table table-striped table-bordered">
|
<table class="table table-striped table-bordered">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -40,11 +38,9 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
|
||||||
<h3>Matches not assigned</h3>
|
<h3>Matches not assigned</h3>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<table class="table table-striped table-bordered table-condensed" id="matchList">
|
||||||
<table class="display compact cell-border" id="matchList">
|
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Round</th>
|
<th>Round</th>
|
||||||
|
|||||||
Reference in New Issue
Block a user