+<%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;
padding-bottom: 40px;
}
</style>
+
<%block name="css">
- <link href="../assets/css/bootstrap-responsive.css" rel="stylesheet">
+ <!-- <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>
-
- <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">
<div class="row">
<div class="span12" id="xonborder">
- <div id="title"><%block name="title"></%block></div>
+ <div id="title"><%block name="title"></%block> </div>
${self.body()}
</div> <!-- /xonborder -->
</div> <!-- /main row -->
<%block name="footer">
- <p>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></p>
+ <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>