ensl.org/app/views/application/_navigation.html.erb
Luke Barratt 775f5682a4 Added form view styling
Improved articles styling
Improved bbcode to html formatting
HTML and CSS refactorings
Moved Extra into concerns
Changed repo URL to read-only for deploys
Fixes quotes in comments
2014-04-12 02:35:42 +01:00

36 lines
1.3 KiB
Text

<nav id="menu">
<ul class="navigation">
<li><%= active_link_to "News", root_path, active: ["articles", "news_index"] %></li>
<li class="dropdown">
<%= active_link_to "Contests", controller: "contests", action: "current" %>
<ul>
<li><%= link_to "Historical", "/contests" %></li>
<li><%= link_to "NS1 History", "/contests/historical/NS1" %></li>
<li><%= link_to "NS2 History", "/contests/historical/NS2" %></li>
</ul>
</li>
<li class="dropdown">
<%= active_link_to "Gathers", Gather.last %>
<ul>
<li><%= link_to "Introduction", article_url(464) %></li>
<li><%= link_to "Archives", "/gathers/" %></li>
</ul>
</li>
<li class="dropdown">
<%= active_link_to "Articles", articles_path %>
<ul>
<li><%= link_to "NS Movies", movies_url %></li>
<li><%= link_to "Files", directory_url(Directory::ROOT) %></li>
</ul>
</li>
<li class="dropdown">
<%= active_link_to "Forums", forums_path, active: [["forums", "topics"]] %>
<ul>
<li><%= link_to "Index", forums_path %></li>
<li><%= link_to "Rules", "/topics/12" %></li>
</ul>
</li>
<li><%= active_link_to "Teams", controller: "teams", action: :index %></li>
<li><%= active_link_to "Users", controller: "users", action: :index %></li>
</ul>
</nav>