]> git.xonotic.org Git - xonotic/xonstat.git/blob - xonstat/templates/map_info.mako
Add map_info view and template.
[xonotic/xonstat.git] / xonstat / templates / map_info.mako
1 <%inherit file="base.mako"/>
2
3 <%block name="title">
4 % if gmap:
5 Map Information for ${gmap.name} - 
6 % endif
7
8 ${parent.title()}
9 </%block>
10
11
12 % if gmap is None:
13 <h2>Sorry, that map wasn't found!</h2>
14
15 % else:
16 <h2>Map Detail</h2>
17 <ul>
18    <li>ID: ${gmap.map_id}</li>
19    <li>Name: ${gmap.name}</li>
20    <li>PK3 Name: ${gmap.pk3_name}</li>
21    <li>Curl URL: ${gmap.curl_url}</li>
22 </ul>
23 % endif