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 %>
<h1>Search results</h1> <%= form_tag(tournament_delegate_path, :method => "get", id: "search-form") do %>
<%= 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>
<%= 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 %>

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.

View File

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

View File

@@ -1,9 +1,3 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<br>
<br>
<% if @users %>
<h1>Search results</h1> <%= form_tag(school_delegate_path, :method => "get", id: "search-form") do %>
<%= 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 %>
| <%= link_to "Edit #{@tournament.name}", edit_tournament_path(@tournament), :class=>"btn btn-primary" %>
<% end %>

View File

@@ -1,9 +1,5 @@
<% 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>
<table class="table table-striped table-bordered">
<thead>

View File

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

View File

@@ -1,5 +1,4 @@
<% cache ["#{@tournament.id}_up_matches", @tournament] do %>
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default"%>
<script>
// $(document).ready(function() {
// $('#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| %>
<%= link_to "#{weight.max}" , "/tournaments/#{@tournament.id}/weigh_in/#{weight.id}" %>
<br>

View File

@@ -1,8 +1,3 @@
<%= link_to "Back to #{@tournament.name}", "/tournaments/#{@tournament.id}", :class=>"btn btn-default" %>
<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>
<tr>