mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-12-29 05:51:22 +00:00
775f5682a4
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
36 lines
1.3 KiB
Text
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>
|