1
0
mirror of https://github.com/jcwimer/wrestlingApp synced 2026-03-25 01:14:43 +00:00

Added full screen bout board

This commit is contained in:
2016-01-04 19:43:57 +00:00
parent c012682e77
commit fa6c6458b6
2 changed files with 6 additions and 9 deletions

View File

@@ -8,7 +8,7 @@
<ul class="">
<li><%= link_to "Tournament home" , "/tournaments/#{@tournament.id}/" %></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>
</ul>
</div>
@@ -20,6 +20,7 @@
<br><strong>Pages</strong><br>
<br><%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
<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><%= 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.' } %>

View File

@@ -1,9 +1,9 @@
<% cache ["up_matches", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
<script>
$(document).ready(function() {
$('#matchList').dataTable();
} );
// $(document).ready(function() {
// $('#matchList').dataTable();
// } );
</script>
<script>
setTimeout("location.reload(true);",30000);
@@ -12,10 +12,8 @@
<br>
<h5 style="color:red">This page reloads every 30s</h5>
<br>
<br>
<h3>Upcoming Matches</h3>
<br>
<br>
<table class="table table-striped table-bordered">
<thead>
<tr>
@@ -40,11 +38,9 @@
</tbody>
</table>
<br>
<br>
<h3>Matches not assigned</h3>
<br>
<br>
<table class="display compact cell-border" id="matchList">
<table class="table table-striped table-bordered table-condensed" id="matchList">
<thead>
<tr>
<th>Round</th>