]> de.git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/base.mako
Fix flush() error with partitioned tables by explicitly setting the PK value.
[xonotic/xonstat.git] / xonstat / templates / base.mako
index 1e336a94f583c1971833a6f71a942c533c7290f0..74b5fcfbd56d92edd57c38f6c582f3e0c5df1bc2 100755 (executable)
@@ -1,24 +1,40 @@
+<!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 - The Xonotic Statistics Database</%block></title>
-         <%block name="css">
-      <link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen" />
-      </%block>
-         <%block name="js"/>
-   </head>
-   <body>
-      <div id="header">
-         <%block name="header">
-         <h1>XonStat</h1>
-         <h2>The Statistics Database for Xonotic</h2>
-         <br />
-         </%block>
-         </div>
-
-         ${self.body()}
-
-         <div id="footer">
-         <%block name="footer"/>
-         </div>
-   </body>
+    <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">
+                       <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/jquery.dataTables.numHtml.js"></script>
+               <script src="/static/js/default.js"></script>
+        </%block>
+    </body>
 </html>