1 <%def name="nav(active='leaderboard', login_logout=False)">
3 <!-- HEADER NAVIGATION -->
4 <div class="contain-to-grid">
7 <div class="small-12 columns">
9 <nav class="top-bar" data-topbar="" data-options="is_hover: false">
10 <ul class="title-area">
11 <li class="name show-for-medium-up">
12 <h1><a href="http://www.xonotic.org">Xonotic</a></h1>
14 <li class="name show-for-small-only">
15 <a href="/"><img src="/static/css/img/xonotic-icon-mono.png"></a>
17 <li class="toggle-topbar menu-icon"><a href="#"><span></span></a></li>
20 <section class="top-bar-section">
21 <!-- Left Nav Section -->
23 <li><a href="http://www.xonotic.org/download/" title="Download the game"><i class="fa fa-download"></i> Download</a></li>
24 <li><a href="http://www.xonotic.org/media/" title="View screenshots and videos"><i class="fa fa-picture-o"></i> Media</a></li>
25 <li><a href="http://forums.xonotic.org/" title="Visit the community forums"><i class="fa fa-comments"></i> Forums</a></li>
26 <li><a href="http://www.xonotic.org/posts/" title="Read the blog"><i class="fa fa-book"></i> Blog</a></li>
27 <li class="has-dropdown">
28 <a href="/" title="View player statistics and recent games"><i class="fa fa-bar-chart"></i> Stats</a>
30 <li><a href="${request.route_url('main_index')}" title="Leaderboard">Leaderboard</a></li>
31 <li><a href="${request.route_url('player_index')}" title="Player Index">Players</a></li>
32 <li><a href="${request.route_url('game_index')}" title="Game Index">Games</a></li>
33 <li><a href="${request.route_url('server_index')}" title="Server Index">Servers</a></li>
34 <li><a href="${request.route_url('map_index')}" title="Map Index">Maps</a></li>
35 <li><a href="${request.route_url('search')}" title="Search">Search</a></li>
37 <li><a href="#" title="Log in with Mozilla Persona">${request.persona_button}</a></li>
41 <li><a href="https://gitlab.com/groups/xonotic" title="Contribute to Xonotic"><i class="fa fa-wrench"></i> Contribute</a></li>
42 <li><a href="https://gitlab.com/xonotic/xonotic/wikis/Halogenes_Newbie_Corner" title="Read the beginner's guide"><i class="fa fa-forward"></i> Guide</a></li>
48 </div> <!-- END ROW -->
49 </div> <!-- END HEADER NAVIGATION -->