From b9d4f27df1c593ac374a6482d1d6893b9bd91217 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 2 Jun 2011 14:38:52 -0400 Subject: [PATCH] Update table style. --- xonstat/static/css/style.css | 9 ++------ xonstat/templates/accuracy.mako | 2 +- xonstat/templates/player_info.mako | 34 +++++++++++++++--------------- xonstat/templates/scoreboard.mako | 4 ++-- 4 files changed, 22 insertions(+), 27 deletions(-) diff --git a/xonstat/static/css/style.css b/xonstat/static/css/style.css index 1148134..bf7f555 100755 --- a/xonstat/static/css/style.css +++ b/xonstat/static/css/style.css @@ -20,22 +20,17 @@ body { text-align: center; } -.scoreboard-header{ +.table-header, .header-cell{ background-color: #E8E8E8; font-size: 14px; font-weight: bold; } + .accuracy-table{ text-align: center; } -.accuracy-table-header{ - background-color: #E8E8E8; - font-size: 14px; - font-weight: bold; -} - .nick { font-family: 'Xolonium', 'Arial', 'Helvetica'; font-size: 14px; diff --git a/xonstat/templates/accuracy.mako b/xonstat/templates/accuracy.mako index f8b9db7..a540023 100755 --- a/xonstat/templates/accuracy.mako +++ b/xonstat/templates/accuracy.mako @@ -12,7 +12,7 @@ ## [5] = Fired - + diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 7b572fe..405f7d2 100755 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -43,36 +43,36 @@ ${parent.title()}

Overall Game Stats

Weapon Hit
- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +
Playing Time${game_stats['total_alivetime']}Drops${game_stats['total_drops']}Playing Time${game_stats['total_alivetime']}Drops${game_stats['total_drops']}
Average Rank${game_stats['avg_rank']}Returns${game_stats['total_returns']}Average Rank${game_stats['avg_rank']}Returns${game_stats['total_returns']}
Score${game_stats['total_score']}Carrier Kills${game_stats['total_carrier_frags']}Score${game_stats['total_score']}Carrier Kills${game_stats['total_carrier_frags']}
Kills${game_stats['total_kills']}Collects${game_stats['total_collects']}Kills${game_stats['total_kills']}Collects${game_stats['total_collects']}
Deaths${game_stats['total_deaths']}Destroys${game_stats['total_destroys']}Deaths${game_stats['total_deaths']}Destroys${game_stats['total_destroys']}
Suicides${game_stats['total_suicides']}Destroys (with key)${game_stats['total_destroys']}Suicides${game_stats['total_suicides']}Destroys (with key)${game_stats['total_destroys']}
Captures${game_stats['total_captures']}Pushes${game_stats['total_pushes']}Captures${game_stats['total_captures']}Pushes${game_stats['total_pushes']}
Pickups${game_stats['total_pickups']}Pushed${game_stats['total_pushed']}Pickups${game_stats['total_pickups']}Pushed${game_stats['total_pushed']}
% endif @@ -88,7 +88,7 @@ ${accuracy(weapon_stats)} % if recent_games:

Recent Games

- + diff --git a/xonstat/templates/scoreboard.mako b/xonstat/templates/scoreboard.mako index 87605c9..18ad4cb 100755 --- a/xonstat/templates/scoreboard.mako +++ b/xonstat/templates/scoreboard.mako @@ -3,7 +3,7 @@ ##### CTF ##### % if game_type_cd == 'ctf': - + @@ -46,7 +46,7 @@ ##### DM ##### % if game_type_cd == 'dm': - + -- 2.39.2
Game Type Map Result
Nick Kills Captures
Nick Kills Deaths