From 130e9b75ffd43d416bbb2c08ad1b46d0b32cf51e Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 28 Mar 2013 15:11:28 -0400 Subject: [PATCH] Use new glyphicon font for up/down/minus Elo. --- xonstat/templates/player_game_index.mako | 82 ++++++++++++------------ xonstat/templates/player_info.mako | 8 +-- 2 files changed, 45 insertions(+), 45 deletions(-) diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index e5a5be6..03dfdc8 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -24,54 +24,54 @@ Recent Games - - - - - - - + + + + + + + % for rg in games.items: - - - - - - + + + + + + + - - - + % else: + + % endif + + + % endfor
TypeServerMapResultPlayedEloTypeServerMapResultPlayedElo
view${rg.game_type_cd}${rg.server_name}${rg.map_name} - % if rg.team != None: - % if rg.team == rg.winner: - Win - % else: - Loss - % endif +
view${rg.game_type_cd}${rg.server_name}${rg.map_name} + % if rg.team != None: + % if rg.team == rg.winner: + Win + % else: + Loss + % endif % else: - % if rg.rank == 1: - Win + % if rg.rank == 1: + Win + % else: + Loss (#${rg.rank}) + % endif + % endif + ${rg.fuzzy_date} + + % if rg.elo_delta is not None: + % if round(rg.elo_delta,2) > 0: + + % elif round(rg.elo_delta,2) < 0: + % else: - Loss (#${rg.rank}) + % endif - % endif - ${rg.fuzzy_date} - - % if rg.elo_delta is not None: - % if round(rg.elo_delta,2) > 0: - - % elif round(rg.elo_delta,2) < 0: - - % else: - - % endif - % else: - - % endif - -
diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index 051ca1e..20dcc4c 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -464,14 +464,14 @@ Player Information % if rg.elo_delta is not None: % if round(rg.elo_delta,2) > 0: - + % elif round(rg.elo_delta,2) < 0: - + % else: - + % endif % else: - + % endif -- 2.39.2