diff --git a/app/views/layouts/_footer.html.erb b/app/views/layouts/_footer.html.erb index 51d0013..086cfb0 100644 --- a/app/views/layouts/_footer.html.erb +++ b/app/views/layouts/_footer.html.erb @@ -1,11 +1,11 @@ \ No newline at end of file diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 514f72c..3d8463b 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -10,9 +10,10 @@
  • <%= link_to "Results" , "/tournaments/#{@tournament.id}/results" %>
  • <%= link_to "Team Scores" , "/tournaments/#{@tournament.id}/team_scores" %>
  • <% end %> +
  • <%= link_to "About", "/static_pages/about" %>
  • <% if user_signed_in? %>
  • <%=link_to "Log out", destroy_user_session_url ,:method => 'delete' %>
  • -
  • <%=link_to "Edit user", edit_user_registration_path %>
  • +
  • <%=link_to "Edit user", edit_user_registration_path %>
  • <% else %>
  • <%= link_to "Log In" , new_user_session_path %>
  • <% end %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index d023b76..3daf884 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -33,8 +33,10 @@ + <%= render 'layouts/footer' %> + <% end %> diff --git a/app/views/static_pages/about.html.erb b/app/views/static_pages/about.html.erb index 716f8a3..fd76fe1 100644 --- a/app/views/static_pages/about.html.erb +++ b/app/views/static_pages/about.html.erb @@ -1,2 +1,44 @@

    About WrestlingDev

    -

    WrestlingDev was created to help bring wrestling into the 21st century for free. This site is open source and is supported by the ads on the sidebar.

    \ No newline at end of file +
    +

    WrestlingDev was created to help bring wrestling into the 21st century for free. This site is open source and is supported by the ads on the sidebar.

    +
    +

    Features

    +
    +

    At this moment in time, WrestlingDev supports a pool to bracket type tournament for up to 16 teams. The bracket format follows OHSAA's 5 match per day rule. WrestlingDev will automatically generate brackets, generate bout numbers, generate and update a bout board, track team points, and update brackets.

    +

    For pool to bracket tournaments, pool tie breakers are the following:

    + +

    If three wrestlers are tied, they will be put through this sequence until two wrestlers are left. Once two wrestlers are left, the pool runner up will be decided by head to head.

    +

    For pool to bracket tournaments, team points will be calculated as follows:

    + +

    Wins outside of the pool will only get bonus points (for maj tech or fall) and extra placement points. Please note, only brackets with four pools place up to 8. Brackets with 1 or 2 pools only place top 4.

    +
    +

    Future Plans

    +
    +

    Future development plans to support normal double elimination brackets are underway and are planned to be finished in time for the 2016-2017 wrestling season.

    +
    +

    Contact

    +
    +

    Suggestions, criticism, and kind words are welcomed. Please contact us.

    \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb index 30175f9..ff09bb4 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -25,6 +25,7 @@ Wrestling::Application.routes.draw do get 'admin/index' get 'static_pages/control_match' get 'static_pages/not_allowed' + get 'static_pages/about' get 'tournaments/:id/weigh_in/:weight' => 'tournaments#weigh_in_weight' post 'tournaments/:id/weigh_in/:weight' => 'tournaments#weigh_in_weight'