]> git.xonotic.org Git - xonotic/xonstat.git/blobdiff - xonstat/templates/base.mako
Remove Piwik.
[xonotic/xonstat.git] / xonstat / templates / base.mako
index a30dff123472f9240692f5c9c36a88fa363fe753..11c3114c1ff7f1a17b92c978131df64b7f7ac4e4 100644 (file)
@@ -1,4 +1,6 @@
 <%namespace name="nav" file="nav.mako"/>
+<%namespace name="footer" file="footer.mako" />
+
 <!DOCTYPE html>
 <html lang="en">
   <head>
     <link rel="shortcut icon" href="/static/favicon.ico">
 
     <%block name="css">
-      <link href="/static/css/foundation.css" rel="stylesheet">
-      <link href="/static/css/font-awesome.min.css" rel="stylesheet">
-      <link href="/static/css/app.css" rel="stylesheet">
+      ### FOR DEVELOPMENT ONLY
+      ### <link href="/static/css/foundation.css" rel="stylesheet">
+      ### <link href="/static/css/font-awesome.min.css" rel="stylesheet">
+      ### <link href="/static/css/app.css" rel="stylesheet">
+      ### <link href="/static/css/luma.css" rel="stylesheet">
+      <link href="/static/css/xonstat.css" rel="stylesheet">
     </%block>
 
     <%block name="headjs">
       ${nav.nav("leaderboard")}
     </%block>
 
+    <%block name="hero_unit">
+    </%block>
+
     <div class="row">
-      <div class="small-1 large-12 columns" id="xonborder">
+      <div class="small-12 columns">
         <div id="title">
           <%block name="title"></%block>
         </div>
       </div> <!-- /xonborder -->
     </div> <!-- /row -->
 
-    <%block name="footer">
-      <div class="row">
-        <div class="small-1 large-12 columns">
-          <p class="text-center" >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>
-        </div>
-      </div>
-    </%block>
+    ${footer.footer()}
 
     <%block name="js">
-     <script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'></script>
-     <script src="/static/js/foundation.min.js"></script>
-     <script>
-       $(document).foundation();
-     </script>
+      <script type='text/javascript' src='//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js'></script>
+      <script src="/static/js/foundation.min.js"></script>
+      <%block name="foundation">
+        <script>
+          $(document).foundation();
+        </script>
+      </%block>
     </%block>
 
     <!-- RELATIVE TIME CONVERSION -->