]> de.git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/player_info.mako
cfa47c361c0d05c96d4265ddb905bc88e905a819
[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
24
25 % if recent_games:
26 <h2>Recent Games</h2>
27 <ul>
28 % for (game_id, server_name, map_name) in recent_games:
29    <li>Game #${game_id} on ${server_name}: ${map_name}</li>
30 % endfor
31 </ul>
32 % endif