]> git.rm.cloudns.org Git - xonotic/xonstat.git/commitdiff
Use Luma throughout the site. Thank you, sev!
authorAnt Zucaro <azucaro@gmail.com>
Sun, 19 Apr 2015 12:06:49 +0000 (08:06 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Sun, 19 Apr 2015 12:06:49 +0000 (08:06 -0400)
xonstat/templates/accuracy.mako
xonstat/templates/game_finder.mako
xonstat/templates/game_index.mako
xonstat/templates/game_info.mako
xonstat/templates/main_index.mako
xonstat/templates/map_info.mako
xonstat/templates/player_game_index.mako
xonstat/templates/player_info.mako
xonstat/templates/server_info.mako

index 3eea2cdd30b2c8e19c894582985db7d50f691f23..3a79323eb40e2b87aef212c8f39e9421972aa97b 100644 (file)
@@ -14,7 +14,7 @@
 
 <table class="table-hover table-condensed">
   <thead>
-    <th></th>
+    <th class="small-1"></th>
     <th class="show-for-medium-up">Weapon</th>
     <th class="show-for-medium-up">Frags</th>
     <th>Accuracy</th>
@@ -44,7 +44,7 @@
     <tr>
       ## Note: the name of the image must match up with the weapon_cd 
       ## entry of that weapon, else this won't work
-      <td><span class="sprite sprite-${weapon_stat[1]}"></span></td>
+      <td class="small-1 text-center"><span class="sprite sprite-${weapon_stat[1]}"></span></td>
       <td class="show-for-medium-up">${weapon_stat[0]}</td>
       <td class="show-for-medium-up">${weapon_stat[6]}</td>
       <td>${weapon_stat[4]}/${weapon_stat[5]} (${hit_pct}%)</td>
index a2ff12f887a7853c94c3fac19c8048f7502ebc27..e159bf36db2b7a5de9ab1a2ec3c3ab1ace08231d 100644 (file)
@@ -8,7 +8,7 @@ ${nav.nav('games')}
 
 <%block name="css">
     ${parent.css()}
-    <link href="/static/css/sprites.css" rel="stylesheet">
+    <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 <%block name="title">
@@ -56,7 +56,7 @@ Game Index
       % for rg in recent_games:
         <tr>
           <td class="text-center"><a class="button tiny" href="${request.route_url('game_info', id=rg.game_id)}" title="View detailed information about this game">view</a></td>
-          <td class="text-center"><span alt="${rg.game_type_cd}" class="sprite sprite-${rg.game_type_cd}" title="${rg.game_type_descr}"></span></td>
+          <td class="text-center"><i class="sprite sprite-${rg.game_type_cd}" title="${rg.game_type_descr}"></i></td>
           <td class="show-for-medium-up no-stretch"><a href="${request.route_url('server_info', id=rg.server_id)}" title="Go to the detail page for this server">${rg.server_name}</a></td>
           <td class="show-for-medium-up"><a href="${request.route_url('map_info', id=rg.map_id)}" title="Go to the map detail page for this map">${rg.map_name}</a></td>
           <td class="show-for-large-up"><span class="abstime" data-epoch="${rg.epoch}" title="${rg.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}">${rg.fuzzy_date}</span></td>
index dd477d0ba7dd95a0effc56effdef6223905f4b2d..5e2b4ee72f6495b05a630bdaeb14cbf980a07e68 100644 (file)
@@ -5,7 +5,7 @@
 
 <%block name="css">
 ${parent.css()}
-<link href="/static/css/sprites.css" rel="stylesheet">
+<link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 <%block name="navigation">
index 38448855b5a5ecf48428c638bec1d4872eaf0350..e64a6e760daaf5ceb402cbb3e3b670b20806671b 100644 (file)
@@ -9,7 +9,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 <%block name="foundation">
@@ -36,7 +36,7 @@
     <div class="small-12 columns">
       <h3>Game #${game.game_id}</h3>
       <p>
-        <img src="/static/images/icons/24x24/${game.game_type_cd}.png" alt="${game.game_type_cd}"/> ${gametype.descr} (${game.game_type_cd})<br />
+        <span class="sprite sprite-${game.game_type_cd}"></span> ${gametype.descr} <br />
         Played ${game.fuzzy_date()} <span class="abstime" data-epoch="${game.epoch()}" title="${game.start_dt.strftime('%a, %d %b %Y %H:%M:%S UTC')}"> <i class="fa fa-info-circle"></i></span><br />
         Server: <a href="${request.route_url("server_info", id=server.server_id)}" name="Server info page for ${server.name}">${server.name}</a><br />
         Map: <a href="${request.route_url("map_info", id=map.map_id)}" name="Map info page for ${map.name}">${map.name}</a><br />
index 01458caa043da797953dc02b00acc81d7c3cf64d..642d44b34b62aaaf4c62e9c44fb7319716e5b2f9 100644 (file)
@@ -6,7 +6,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 <%block name="hero_unit">
index 7a2d1b5fa839c2ca9d040ebd2709f290ab3574ed..0443a5d2814f8150a4e047392ea96074ea3ac7ec 100644 (file)
@@ -16,7 +16,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 % if gmap is None:
index 42c624176b07841ba02a27a753b95b0654f4f72d..b44cf3b706a8ba2105bfbe399c3c35e5dec0018a 100644 (file)
@@ -4,7 +4,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 <%block name="navigation">
index 8f7985968c2173b21e56001973d8bbbd5de2935c..99d97f9818ac586c3c3ed0bc9459ad7949915a9d 100644 (file)
@@ -11,7 +11,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
   <style>
     #damageChart, #accuracyChart {
       height: 250px;
index f074a9494b2b6d9ae21fc9b04067cbd78ce8c7e3..5c05e87220d0f07a802147748cfe839cc3ef28fb 100644 (file)
@@ -13,7 +13,7 @@
 
 <%block name="css">
   ${parent.css()}
-  <link href="/static/css/sprites.css" rel="stylesheet">
+  <link href="/static/css/luma.css" rel="stylesheet">
 </%block>
 
 % if server is None: