-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-<html>
- <head>
- <title><%block name="title">XonStat - Player Statistics for Xonotic</%block></title>
- <%block name="css">
- <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" />
- <link rel="stylesheet" href="/static/css/tables.css" type="text/css" media="screen" />
- </%block>
- </head>
- <body>
- <div id="container">
- <header>
- <a href="/"><h1>Xonotic Game Statistics</h1></a>
- <h2>Xonotic is a fast-paced open-source GPL first person shooter</h2>
- </header>
- <div id="home" class="window">
- <h1 id="title">Player Statistics for Xonotic</h1>
- <ul id="menu" class="nav clearfix">
- <li><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('map_index')}" title="Map Index">maps</a></li>
- <li class="last"><a href="${request.route_url('server_index')}" title="Server Index">servers</a></li>
- </ul>
- <div id="content" class="clearfix">
- ${self.body()}
- </div> <!-- #home -->
- </div><!-- #content -->
- <div id="footer">
- <%block name="footer">
- <p>XonStat is a open source (GPLv2) project created by Antibody. Fork it <a href="https://github.com/antzucaro/XonStat" title="Go to the project page">on Github!</a></p>
- </%block>
- </div> <!-- #footer -->
- </div><!-- #container -->
- <%block name="js">
- <!-- production: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
- <script>window.jQuery || document.write( '<script src="/static/js/scripts/jquery-1.6.1.min.js"><\/script>' )</script>-->
- <script src="/static/js/jquery-1.6.1.min.js"></script>
- <script src="/static/js/jquery.dataTables.min.js"></script>
- <script src="/static/js/default.js"></script>
- </%block>
+<%namespace name="nav" file="nav.mako"/>
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <title>XonStat: Player Statistics for Xonotic</title>
+ <meta name="description" content="">
+ <meta name="author" content="">
+
+ <!--[if lt IE 9]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+
+ <style type="text/css">
+ body {
+ padding-top: 60px;
+ padding-bottom: 40px;
+ }
+ </style>
+
+ <%block name="css">
+ <!-- <link href="/static/css/style.min.css" rel="stylesheet"> -->
+ <link href="/static/css/style.css" rel="stylesheet">
+ <link type="images/vnd.microsoft.icon" rel="shortcut icon" href="/static/favicon.ico">
+ </%block>
+
+ <script src="/static/js/jquery-1.7.1.min.js"></script>
+ </head>
+
+ <body>
+ <%block name="navigation">
+ ${nav.nav("leaderboard")}
+ </%block>
+
+ <div class="container">
+
+ <%block name="hero_unit">
+ </%block>
+
+ <div class="row">
+ <div class="span12" id="xonborder">
+ <div id="title"><%block name="title"></%block> </div>
+ ${self.body()}
+ </div> <!-- /xonborder -->
+ </div> <!-- /main row -->
+
+ <%block name="footer">
+ <p class="pagination-centered">XonStat is an open source (GPLv2) project created by Antibody. Fork it <a href="https://github.com/antzucaro/XonStat" title="Go to the project page">on Github!</a> <br />Questions? Check the <a href="https://github.com/antzucaro/XonStat/wiki/FAQ" title="FAQ">FAQ</a> first. <br />Issues? Log them either <a href="http://dev.xonotic.org/projects/xonstat" title="Xonotic Redmin Issue Tracker">here</a> or <a href="https://github.com/antzucaro/XonStat/issues" title="GitHub issue tracker">here</a> - I check both!</p>
+ </%block>
+
+ <%block name="js">
+ <script src="/static/js/jquery-1.7.1.min.js"></script>
+ </%block>
+
+ <!-- RELATIVE TIME CONVERSION -->
+ <script type="text/javascript">
+ $('.abstime').each(function(i,e){
+ var epoch = e.getAttribute('data-epoch');
+ var d = new Date(0);
+ d.setUTCSeconds(epoch);
+ e.setAttribute('title', d.toDateString() + ' ' + d.toTimeString());
+ });
+ </script>
+
+ <!-- GOOGLE ANALYTICS -->
+ <script type="text/javascript">
+ var _gaq = _gaq || [];
+ _gaq.push(['_setAccount', 'UA-30391685-1']);
+ _gaq.push(['_trackPageview']);
+
+ (function() {
+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+ })();
+ </script>
+
</body>
</html>