From 8c85e2f25d07603288ba4ce3824120cde56ef819 Mon Sep 17 00:00:00 2001 From: Ant Zucaro Date: Fri, 13 Mar 2015 22:01:26 -0400 Subject: [PATCH] Convert the server_index page. --- xonstat/templates/server_index.mako | 76 ++++++++++++++++------------- 1 file changed, 42 insertions(+), 34 deletions(-) diff --git a/xonstat/templates/server_index.mako b/xonstat/templates/server_index.mako index 7c2e210..fe3ce11 100644 --- a/xonstat/templates/server_index.mako +++ b/xonstat/templates/server_index.mako @@ -3,46 +3,54 @@ <%namespace file="navlinks.mako" import="navlinks" /> <%block name="navigation"> -${nav.nav('servers')} + ${nav.nav('servers')} <%block name="title"> -Server Index + Server Index % if not servers: -

Sorry, no servers yet. Get playing!

+

Sorry, no servers yet. Get playing!

% else: -
-
-
- - - -
- - - - - - - - % for server in servers: - - - - - - % endfor -
IDNameAdded
${server.server_id}${server.name} - ${server.fuzzy_date()} - - - -
- % endif +
+
- ${navlinks("server_index", servers.page, servers.last_page)} -
-
+
+
+
+ + +
+
+ +
+
+
+ + + + + + + + + % for server in servers: + + + + + + % endfor +
Server IDNameAdded
${server.server_id}${server.name} + ${server.fuzzy_date()} + + + +
+ + ${navlinks("server_index", servers.page, servers.last_page)} +
+
+% endif -- 2.39.2