+<%namespace name="nav" file="nav.mako"/>
<!DOCTYPE html>
<html lang="en">
<head>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
- <link href="/static/css/style.css" rel="stylesheet">
<style type="text/css">
body {
padding-top: 60px;
</style>
<%block name="css">
<link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
+ <link href="/static/css/style.css" rel="stylesheet">
</%block>
</head>
<body>
-
- <div class="navbar navbar-fixed-top">
- <div class="navbar-inner">
- <div class="container">
- <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
- <span class="i-bar"></span>
- <span class="i-bar"></span>
- <span class="i-bar"></span>
- </a>
- <a class="brand" href="#"><img src="/static/css/img/Xonotic_icon.png" /></a>
- <div class="nav-collapse">
- <ul class="nav">
- <li class="active"><a href="${request.route_url('main_index')}" title="Leaderboard">Leaderboard</a></li>
- <li><a href="${request.route_url('player_index')}" title="Player Index">Players</a></li>
- <li><a href="${request.route_url('game_index')}" title="Game Index">Games</a></li>
- <li><a href="${request.route_url('server_index')}" title="Server Index">Servers</a></li>
- <li><a href="${request.route_url('map_index')}" title="Map Index">Maps</a></li>
- </ul>
- </div><!--/.nav-collapse -->
- </div>
- </div>
- </div>
+ <%block name="navigation">
+ ${nav.nav("leaderboard")}
+ </%block>
<div class="container">
<%inherit file="base.mako"/>\r
+<%namespace name="nav" file="nav.mako" />\r
<%namespace file="scoreboard.mako" import="scoreboard" />\r
<%namespace file="navlinks.mako" import="navlinks" />\r
\r
+<%block name="navigation">\r
+${nav.nav('games')}\r
+</%block>\r
+\r
<%block name="title">\r
-Game Index - ${parent.title()}\r
+Game Index\r
</%block>\r
\r
% if not games:\r
<%inherit file="base.mako"/>
+<%namespace name="nav" file="nav.mako" />
<%namespace file="scoreboard.mako" import="scoreboard" />
<%namespace file="accuracy.mako" import="accuracy" />
+<%block name="navigation">
+${nav.nav('games')}
+</%block>
+
<%block name="title">
-Game Information - ${parent.title()}
+Game Information
</%block>
<%inherit file="base.mako"/>\r
+<%namespace name="nav" file="nav.mako" />\r
<%namespace file="navlinks.mako" import="navlinks" />\r
\r
+<%block name="navigation">\r
+${nav.nav('maps')}\r
+</%block>\r
+\r
<%block name="title">\r
-Map Index - ${parent.title()}\r
+Map Index\r
</%block>\r
\r
% if not maps:\r
<%inherit file="base.mako"/>
+<%namespace name="nav" file="nav.mako" />
+<%namespace file="navlinks.mako" import="navlinks" />
+
+<%block name="navigation">
+${nav.nav('maps')}
+</%block>
<%block name="title">
% if gmap:
-Map Information for ${gmap.name} -
+Map Information for ${gmap.name}
% endif
${parent.title()}
<%inherit file="base.mako"/>\r
+<%namespace name="nav" file="nav.mako" />\r
<%namespace file="navlinks.mako" import="navlinks" />\r
\r
+<%block name="navigation">\r
+${nav.nav('players')}\r
+</%block>\r
+\r
<%block name="title">\r
-Player Index - ${parent.title()}\r
+Player Index\r
</%block>\r
\r
% if not players:\r
<%inherit file="base.mako"/>
+<%namespace name="nav" file="nav.mako" />
<%namespace file="accuracy.mako" import="accuracy" />
+<%block name="navigation">
+${nav.nav('players')}
+</%block>
+
<%block name="css">
${parent.css()}
<link rel="stylesheet" href="/static/css/colorbox.css" type="text/css" media="screen" />
<%block name="title">
% if player:
-Player Information for ${player.nick_strip_colors()} -
+Player Information for ${player.nick_strip_colors()}
% endif
${parent.title()}
<%inherit file="base.mako"/>\r
+<%namespace name="nav" file="nav.mako" />\r
<%namespace file="navlinks.mako" import="navlinks" />\r
\r
+<%block name="navigation">\r
+${nav.nav('servers')}\r
+</%block>\r
+\r
<%block name="title">\r
-Map Index - ${parent.title()}\r
+Server Index\r
</%block>\r
\r
% if not servers:\r
<%inherit file="base.mako"/>
+<%namespace name="nav" file="nav.mako" />
+
+<%block name="navigation">
+${nav.nav('servers')}
+</%block>
<%block name="title">
% if server:
-Server Information for ${server.name} -
+Server Information for ${server.name}
% endif
${parent.title()}