From dc8ea64b21f3033918f58ddcf0cd5a7a90c77583 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Sun, 25 Nov 2012 10:13:13 -0500 Subject: [PATCH] Sprite-ify the map and server info pages too. --- xonstat/templates/map_info.mako | 6 +++++- xonstat/templates/server_info.mako | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/xonstat/templates/map_info.mako b/xonstat/templates/map_info.mako index cda2035..4e0e690 100644 --- a/xonstat/templates/map_info.mako +++ b/xonstat/templates/map_info.mako @@ -14,6 +14,10 @@ Map Information ${parent.title()} +<%block name="css"> + ${parent.css()} + + % if gmap is None:

Sorry, that map wasn't found!

@@ -163,7 +167,7 @@ ${parent.title()} % for rg in recent_games: View - ${rg.game_type_cd} + ${rg.server_name} ${rg.fuzzy_date} diff --git a/xonstat/templates/server_info.mako b/xonstat/templates/server_info.mako index 7402035..f59a9f8 100644 --- a/xonstat/templates/server_info.mako +++ b/xonstat/templates/server_info.mako @@ -11,6 +11,10 @@ Server Information % endif +<%block name="css"> + ${parent.css()} + + % if server is None:

Sorry, that server wasn't found!

@@ -136,7 +140,7 @@ Server Information % for rg in recent_games: View - ${rg.game_type_cd} + ${rg.map_name} ${rg.fuzzy_date} -- 2.39.2