From 40ce03905c7693f17564906def643115e178ebe9 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Thu, 29 Aug 2019 19:55:23 -0400 Subject: [PATCH] Update the templates for the new classes. --- xonstat/templates/accuracy.mako | 2 +- xonstat/templates/game_finder.mako | 4 ++-- xonstat/templates/game_info.mako | 2 +- xonstat/templates/main_index.mako | 2 +- xonstat/templates/map_info.mako | 2 +- xonstat/templates/player_game_index.mako | 4 ++-- xonstat/templates/player_info.mako | 4 ++-- xonstat/templates/player_versus.mako | 2 +- xonstat/templates/server_info.mako | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/xonstat/templates/accuracy.mako b/xonstat/templates/accuracy.mako index 55736d0..3c1e007 100644 --- a/xonstat/templates/accuracy.mako +++ b/xonstat/templates/accuracy.mako @@ -44,7 +44,7 @@ ## Note: the name of the image must match up with the weapon_cd ## entry of that weapon, else this won't work - + ${weapon_stat[0]} ${weapon_stat[6]} ${weapon_stat[4]}/${weapon_stat[5]} (${hit_pct}%) diff --git a/xonstat/templates/game_finder.mako b/xonstat/templates/game_finder.mako index afb68d3..8695c27 100644 --- a/xonstat/templates/game_finder.mako +++ b/xonstat/templates/game_finder.mako @@ -22,7 +22,7 @@ Game Index " > -
+
${gt}
@@ -51,7 +51,7 @@ Game Index % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/game_info.mako b/xonstat/templates/game_info.mako index 1f15106..389f0c9 100644 --- a/xonstat/templates/game_info.mako +++ b/xonstat/templates/game_info.mako @@ -32,7 +32,7 @@

Game #${game.game_id}

- ${gametype.descr}
+ ${gametype.descr}
Played ${game.fuzzy_date()}
Server: ${server.name}
Map: ${map.name}
diff --git a/xonstat/templates/main_index.mako b/xonstat/templates/main_index.mako index 473e3e9..fea048e 100644 --- a/xonstat/templates/main_index.mako +++ b/xonstat/templates/main_index.mako @@ -120,7 +120,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index 01a4439..c58f74a 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -167,7 +167,7 @@ % for rg in recent_games: View - + ${rg.server_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/player_game_index.mako b/xonstat/templates/player_game_index.mako index 83f1071..d2b138a 100644 --- a/xonstat/templates/player_game_index.mako +++ b/xonstat/templates/player_game_index.mako @@ -52,7 +52,7 @@ % else: % endif -
+
${game.game_type_cd}
@@ -81,7 +81,7 @@ % for rg in games.items: view - + ${rg.server_name} ${rg.map_name} diff --git a/xonstat/templates/player_info.mako b/xonstat/templates/player_info.mako index d063bf5..ad65e8f 100644 --- a/xonstat/templates/player_info.mako +++ b/xonstat/templates/player_info.mako @@ -80,7 +80,7 @@ % endif "> -
+
${g.game_type_cd}
(${g.games})
@@ -222,7 +222,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} diff --git a/xonstat/templates/player_versus.mako b/xonstat/templates/player_versus.mako index 780779d..9313d54 100644 --- a/xonstat/templates/player_versus.mako +++ b/xonstat/templates/player_versus.mako @@ -58,7 +58,7 @@ % for rg in recent_games: view - + ${rg.server_name} ${rg.map_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index e197f75..1955130 100644 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -145,7 +145,7 @@ % for rg in recent_games: View - + ${rg.map_name} ${rg.fuzzy_date} -- 2.39.2