From c943143f4b6b2cdf082834fc3a44ed083d285978 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Mon, 24 Dec 2012 12:55:16 -0500 Subject: [PATCH] Whoops, add the game finder template! --- xonstat/templates/game_finder.mako | 47 ++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 xonstat/templates/game_finder.mako diff --git a/xonstat/templates/game_finder.mako b/xonstat/templates/game_finder.mako new file mode 100644 index 0000000..bca5e20 --- /dev/null +++ b/xonstat/templates/game_finder.mako @@ -0,0 +1,47 @@ +<%inherit file="base.mako"/> +<%namespace file="navlinks.mako" import="navlinks" /> + +<%block name="css"> + ${parent.css()} + + + +% if len(recent_games) > 0: +
+
+

Recent Games

+ + + + + + + + + + + + + % for rg in recent_games.items: + + + + + + + + % else: + ${rg.nick_html_colors|n} + % endif + + % endfor + +
TypeServerMapTimeWinner
view${rg.server_name}${rg.map_name}${rg.fuzzy_date} + % if rg.player_id > 2: + ${rg.nick_html_colors|n}
+
+
+ + +${navlinks("game_finder", recent_games.page, recent_games.last_page, search_query=query)} +% endif -- 2.39.2