X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonstat.git;a=blobdiff_plain;f=xonstat%2Ftemplates%2Fplayer_index.mako;h=d23decab93d3891a405a83e78ebaf2af619c41f9;hp=03f52b940864b88e7d234c07c68406df949b681d;hb=82f90469bf71496c6e639da83af04488e0979b16;hpb=fe2c574fdbacd574cfcb99a319224c01df8e38d3 diff --git a/xonstat/templates/player_index.mako b/xonstat/templates/player_index.mako old mode 100755 new mode 100644 index 03f52b9..d23deca --- a/xonstat/templates/player_index.mako +++ b/xonstat/templates/player_index.mako @@ -1,33 +1,48 @@ -<%inherit file="base.mako"/> - -<%block name="title"> -Player Index - ${parent.title()} - - -% if not players: -

Sorry, no players yet. Get playing!

- -% else: -

Player Index

- - - - - - -% for player in players: - - -% endfor -
#NickJoined
${player.player_id} - ${player.nick_html_colors()} - ${player.create_dt.strftime('%m/%d/%Y at %H:%M')} -
-% endif - -% if players.previous_page: -Previous -% endif -% if players.next_page: -Next -% endif +<%inherit file="base.mako"/> +<%namespace name="nav" file="nav.mako" /> +<%namespace file="navlinks.mako" import="navlinks" /> + +<%block name="navigation"> +${nav.nav('players')} + + +<%block name="title"> +Player Index + + +% if not players: +

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)} +
+