]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Define a new block for Foundation customizations.
authorAnt Zucaro <azucaro@gmail.com>
Sat, 11 Apr 2015 00:26:00 +0000 (20:26 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sat, 11 Apr 2015 00:26:00 +0000 (20:26 -0400)
xonstat/templates/base.mako

index fb286fafb62c0420e0cff81c98a8dc4ad6d55712..1d20c76d904fb52d2e5f42e19aee1d091b02394e 100644 (file)
     ${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 -->