X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=xonstat%2Ftemplates%2Fplayer_index.mako;h=d23decab93d3891a405a83e78ebaf2af619c41f9;hb=82f90469bf71496c6e639da83af04488e0979b16;hp=1aa38b5ec6399086afd0e318a7e11a6ebe344a77;hpb=025e844c2f6955ba018f97d0079fea484867cbf2;p=xonotic%2Fxonstat.git diff --git a/xonstat/templates/player_index.mako b/xonstat/templates/player_index.mako old mode 100755 new mode 100644 index 1aa38b5..d23deca --- a/xonstat/templates/player_index.mako +++ b/xonstat/templates/player_index.mako @@ -1,33 +1,48 @@ -<%inherit file="base.mako"/> -<%namespace file="navlinks.mako" import="navlinks" /> - -<%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.nick_html_colors()|n} - ${player.joined_pretty_date()} -
-% endif - - -${navlinks("player_index_paged", players.page, players.last_page)} +<%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)} +
+