tyedye/views/player.html
2013-06-06 11:35:03 +02:00

11 lines
387 B
HTML

$def with (player_name, player_id, stats, edit_links)
<h2>$player_name summary</h2>
<p>Player UUID:
<textarea style="width: 98%;">$player_id</textarea></p>
<p>Player stats:<br />
<ul>
$for stat in stats:
<li>$stat: $stats[stat]</li>
</ul>
$if edit_links:
<p><a href="/tyedye/player_edit/$player_name">[edit]</a>&nbsp;<a href="/tyedye/player_remove/$player_name">[remove]</a></p>