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

Removed back to tournament button now that there is a navbar

This commit is contained in:
2019-01-23 20:05:08 +00:00
parent b001445090
commit 476bdfa650
12 changed files with 3 additions and 44 deletions

View File

@@ -1,9 +1,3 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<% if @users %> <% if @users %>
<h1>Search results</h1> <%= form_tag(tournament_delegate_path, :method => "get", id: "search-form") do %> <h1>Search results</h1> <%= form_tag(tournament_delegate_path, :method => "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: "Search users" %> <%= text_field_tag :search, params[:search], placeholder: "Search users" %>

View File

@@ -1,5 +1,3 @@
<%= link_to 'Back', tournaments_path, :class=>"btn btn-default" %>
<br>
<h1>Editing tournament</h1> <h1>Editing tournament</h1>
<%= render 'form' %> <%= render 'form' %>

View File

@@ -1,3 +1 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br><br>
<%= @tournament.match_generation_error %> <%= @tournament.match_generation_error %>

View File

@@ -1,3 +1 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br><br>
Matches are being generated. This can take anywhere from 1-5 minutes to finish. It is recommended to delete all delegated school permissions to prevent lineup changes after the tournament has started. Matches are being generated. This can take anywhere from 1-5 minutes to finish. It is recommended to delete all delegated school permissions to prevent lineup changes after the tournament has started.

View File

@@ -1,9 +1,6 @@
<h1>All <%= @tournament.name %> matches</h1> <h1>All <%= @tournament.name %> matches</h1>
<br>
<br>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<script> <script>
$(document).ready(function() { $(document).ready(function() {
$('#matchesList').dataTable(); $('#matchesList').dataTable();
@@ -11,7 +8,6 @@
} ); } );
</script> </script>
</br> </br>
</br>
<table class="table table-striped table-bordered table-condensed" id="matchesList"> <table class="table table-striped table-bordered table-condensed" id="matchesList">
<thead> <thead>
<tr> <tr>

View File

@@ -1,9 +1,3 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<% if @users %> <% if @users %>
<h1>Search results</h1> <%= form_tag(school_delegate_path, :method => "get", id: "search-form") do %> <h1>Search results</h1> <%= form_tag(school_delegate_path, :method => "get", id: "search-form") do %>
<%= text_field_tag :search, params[:search], placeholder: "Search users" %> <%= text_field_tag :search, params[:search], placeholder: "Search users" %>

View File

@@ -1,4 +1,3 @@
<%= link_to 'Back to browse tournaments', '/tournaments', :class=>"btn btn-default" %>
<% if can? :manage, @tournament %> <% if can? :manage, @tournament %>
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %> | <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
<% end %> <% end %>

View File

@@ -1,9 +1,5 @@
<% cache ["#{@tournament.id}_team_scores", @tournament] do %> <% cache ["#{@tournament.id}_team_scores", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}" , :class=>"btn btn-default"%>
<br>
<br>
<h3>Team Scores</h3> <h3>Team Scores</h3>
<table class="table table-striped table-bordered"> <table class="table table-striped table-bordered">
<thead> <thead>

View File

@@ -1,10 +1,4 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %> <h1>New Point Adjustment</h1>
<br>
<br>
<h1>New Point Adjustment</h1>
</br> </br>
</br> </br>
<table class="table table-striped table-bordered table-condensed"> <table class="table table-striped table-bordered table-condensed">

View File

@@ -1,5 +1,4 @@
<% cache ["#{@tournament.id}_up_matches", @tournament] do %> <% cache ["#{@tournament.id}_up_matches", @tournament] do %>
<%= 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();

View File

@@ -1,6 +1,4 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<% @weights.each do |weight| %> <% @weights.each do |weight| %>
<%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/weigh_in/#{weight.id}" %> <%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/weigh_in/#{weight.id}" %>
<br> <br>

View File

@@ -1,9 +1,4 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %> <table class="table table-striped table-bordered">
<br>
<br>
<%= link_to "Back to weigh ins","/tournaments/#{@tournament_id}/weigh_in", :class=>"btn btn-default" %>
<br><br>
<table class="table table-striped table-bordered">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>