diff --git a/app/controllers/tournaments_controller.rb b/app/controllers/tournaments_controller.rb
index 8d18bac..39d31b8 100644
--- a/app/controllers/tournaments_controller.rb
+++ b/app/controllers/tournaments_controller.rb
@@ -166,10 +166,6 @@ class TournamentsController < ApplicationController
GenerateTournamentMatches.new(@tournament).generate
end
- def brackets
- @weights = @tournament.weights.sort_by{|w| w.max}
- end
-
def team_scores
@schools = @tournament.schools
@schools = @schools.sort_by{|s| s.page_score_string}.reverse!
diff --git a/app/views/layouts/_analytics.html.erb b/app/views/layouts/_analytics.html.erb
new file mode 100644
index 0000000..c7ebc79
--- /dev/null
+++ b/app/views/layouts/_analytics.html.erb
@@ -0,0 +1,9 @@
+
\ No newline at end of file
diff --git a/app/views/layouts/_lsidebar.html.erb b/app/views/layouts/_lsidebar.html.erb
deleted file mode 100644
index ad124b3..0000000
--- a/app/views/layouts/_lsidebar.html.erb
+++ /dev/null
@@ -1,77 +0,0 @@
-
-
-
-
- <% if @tournament %>
-
-
Tournament Director Links
-
-
Pages
-
<%= link_to "Weigh In Page" , "/tournaments/#{@tournament.id}/weigh_in" %>
-
<%= link_to "All Matches" , "/tournaments/#{@tournament.id}/matches" %>
-
<%= link_to "Full Screen Bout Board" , "/tournaments/#{@tournament.id}/up_matches?print=true" , target: :_blank %>
-
Bout Sheets:
- <% if @tournament.total_rounds > 0 %>
- <% 1.upto(@tournament.total_rounds) do |round| %>
- - <%= link_to "Round #{round}" , "/tournaments/#{@tournament.id}/bout_sheets?round=#{round}&print=true" , target: :_blank %>
- <% end %>
- <% end %>
- - <%= link_to "All Rounds" , "/tournaments/#{@tournament.id}/bout_sheets?round=All&print=true" , target: :_blank %>
-
-
<%= link_to "Deduct Team Points" , "/tournaments/#{@tournament.id}/teampointadjust" %>
- <% if can? :destroy, @tournament %>
-
<%= link_to "Tournament Delegation" , "/tournaments/#{@tournament.id}/delegate" %>
- <% end %>
-
<%= link_to "School Delegation" , "/tournaments/#{@tournament.id}/school_delegate"%>
-
-
Time Savers
-
<%= 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.' } %>
-
-
Tournament Actions
-
<%= link_to "Generate Brackets" , "/tournaments/#{@tournament.id}/generate_matches", data: { confirm: 'Are you sure? This will delete all current matches.' } %>
-
-
- <% end %>
- <% end %>
-
+
+ <%= render 'layouts/tournament-navbar' %>
+
+
+
<%= render 'layouts/underheader' %>
+
-
- <%= render 'layouts/lsidebar' %>
-
-
+
<%= notice %>
<%= yield %>
-
- <%= render 'layouts/rsidebar' %>
-
<%= render 'layouts/footer' %>
-
<% end %>