From 25ce6ddbf2fd3723796bd08103501e5614f85c46 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 13 Mar 2015 21:53:21 -0400 Subject: [PATCH] Convert the player_index page. --- xonstat/templates/player_index.mako | 76 ++++++++++++++++------------- 1 file changed, 42 insertions(+), 34 deletions(-) diff --git a/xonstat/templates/player_index.mako b/xonstat/templates/player_index.mako index d23deca..36b8cb5 100644 --- a/xonstat/templates/player_index.mako +++ b/xonstat/templates/player_index.mako @@ -3,46 +3,54 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('players')} + ${nav.nav('players')} <%block name="title"> -Player Index + Player Index % if not players: -

Sorry, no players yet. Get playing!

+

Sorry, no players yet. Get playing!

% else: -
-
-
- - - -
- - - - - - - - % for player in players: - - - - % endfor -
Player IDNickJoined
${player.player_id} - ${player.nick_html_colors()|n} - ${player.joined_pretty_date()} - - - - -
-% endif +
+
+ +
+
+
+ + +
+
+ +
+
+
- ${navlinks("player_index", players.page, players.last_page)} -
-
+ + + + + + + + % for player in players: + + + + % endfor +
Player IDNickJoined
${player.player_id} + ${player.nick_html_colors()|n} + ${player.joined_pretty_date()} + + + + +
+ + ${navlinks("player_index", players.page, players.last_page)} +
+
+% endif -- 2.39.2