From: Ant Zucaro <azucaro@gmail.com> Date: Sun, 19 Apr 2015 12:06:49 +0000 (-0400) Subject: Use Luma throughout the site. Thank you, sev! X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e8748ad2d07c61e40a426524a326c8d8ad3a197e;p=xonotic%2Fxonstat.git Use Luma throughout the site. Thank you, sev! --- diff --git a/xonstat/templates/accuracy.mako b/xonstat/templates/accuracy.mako index 3eea2cd..3a79323 100644 --- a/xonstat/templates/accuracy.mako +++ b/xonstat/templates/accuracy.mako @@ -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> diff --git a/xonstat/templates/game_finder.mako b/xonstat/templates/game_finder.mako index a2ff12f..e159bf3 100644 --- a/xonstat/templates/game_finder.mako +++ b/xonstat/templates/game_finder.mako @@ -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> diff --git a/xonstat/templates/game_index.mako b/xonstat/templates/game_index.mako index dd477d0..5e2b4ee 100644 --- a/xonstat/templates/game_index.mako +++ b/xonstat/templates/game_index.mako @@ -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"> diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 3844885..e64a6e7 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -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 /> diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 01458ca..642d44b 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -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"> diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index 7a2d1b5..0443a5d 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -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: diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index 42c6241..b44cf3b 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -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"> diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 8f79859..99d97f9 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -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; diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index f074a94..5c05e87 100644 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -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: