]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/player_info.mako
Add basic views for player and game info, plus the supporting templates.
[xonotic/xonstat.git] / xonstat / templates / player_info.mako
1 <%inherit file="base.mako"/>
2
3 <%block name="title">
4 % if player:
5 Player Information for ${player.nick} - 
6 % endif
7
8 ${parent.title()}
9 </%block>
10
11
12 % if player is None:
13 <h2>Sorry, that player wasn't found!</h2>
14
15 % else:
16 <h2>Player Detail</h2>
17 <ul>
18    <li>Nickname: ${player.nick}</li>
19    <li>ID: ${player.player_id}</li>
20    <li>Location: ${player.location}</li>
21    <li>Joined: ${player.create_dt}</li>
22 </ul>
23 % endif