]> de.git.xonotic.org Git - xonotic/xonstat.git/commitdiff
Add foundation tabs to the top of the game finder page.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 9 Mar 2015 22:20:42 +0000 (18:20 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 9 Mar 2015 22:20:42 +0000 (18:20 -0400)
xonstat/templates/game_finder.mako

index ae3e2a39085431458881266f818ebdc16fd2594e..7c9a3ef6d8a48848a52fa280fda219fb68b0b959 100644 (file)
@@ -17,19 +17,20 @@ Game Index
 
 ##### ROW OF GAME TYPE ICONS #####
 <div class="row">
-  <div class="span12 tabbable">
-    <ul class="nav nav-tabs">
+  <div class="small-12 columns">
+    <ul class="tabs">
       % for gt, url in game_type_links:
-      <li
-        % if game_type_cd == gt or (game_type_cd is None and gt == 'overall'):
-        class="active"
-        % endif
-      >
-        <a href="${url}" alt="${gt}" title="Show only ${gt} games" data-toggle="none">
-          <span class="sprite sprite-${gt}"> </span><br />
-          ${gt} <br />
-        </a>
-      </li>
+        <li class="tab-title
+          % if game_type_cd == gt or (game_type_cd is None and gt == 'overall'):
+            active
+          % endif
+          "
+        >
+          <a href="${url}" alt="${gt}" title="Show only ${gt} games">
+            <span class="sprite sprite-${gt}"> </span><br />
+            ${gt} <br />
+          </a>
+        </li>
       % endfor
     </ul>
     <br />