]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/base.mako
Merge pull request #11 from nyov/nyov/refactor
[xonotic/xonstat.git] / xonstat / templates / base.mako
1 <%namespace name="nav" file="nav.mako"/>
2 <!DOCTYPE html>
3 <html lang="en">
4   <head>
5     <meta charset="utf-8">
6     <title>XonStat: Player Statistics for Xonotic</title>
7     <meta name="description" content="">
8     <meta name="author" content="">
9
10     <!--[if lt IE 9]>
11       <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12     <![endif]-->
13
14     <style type="text/css">
15       body {
16         padding-top: 60px;
17         padding-bottom: 40px;
18       }
19     </style>
20
21     <%block name="css">
22     <!-- <link href="/static/css/style.min.css" rel="stylesheet"> -->
23     <link href="/static/css/style.css" rel="stylesheet">
24     <link type="images/vnd.microsoft.icon" rel="shortcut icon" href="/static/favicon.ico">
25     </%block>
26   </head>
27
28   <body>
29     <%block name="navigation">
30     ${nav.nav("leaderboard")}
31     </%block>
32
33     <div class="container">
34
35       <%block name="hero_unit">
36       </%block>
37
38       <div class="row">
39         <div class="span12" id="xonborder">
40           <div id="title"><%block name="title"></%block></div>
41             ${self.body()}
42         </div> <!-- /xonborder -->
43       </div> <!-- /main row -->
44
45       <%block name="footer">
46       <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>
47       </%block>
48
49       <%block name="js">
50       </%block>
51
52       <script type="text/javascript">
53       var _gaq = _gaq || [];
54       _gaq.push(['_setAccount', 'UA-30391685-1']);
55       _gaq.push(['_trackPageview']);
56
57       (function() {
58         var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
59         ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
60         var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
61       })();
62     </script>
63
64     </body>
65 </html>