source: subversion/sites/other/tilesAtHome_tahngo/templates/tile_details.html @ 9498

Last change on this file since 9498 was 9308, checked in by jth, 12 years ago

Django complains otherwise that base_browse.html not first, ok for your version?

File size: 1.3 KB
Line 
1{% extends "base_browse.html" %}
2{% load browse_filter %}
3{% block title %}t@h Tile Details{% endblock %}
4{% block breadcrumb %}{{ block.super }} <a href="{% url tah.browse.views.tiledetails %}">&raquo;Details</a> {% endblock %}
5
6{% block heading %}t@h Tile Details{% endblock %}
7{% block content %}
8
9<table class="browsetable">
10<tr>
11  <td><h3>Tile</h3>
12    Layer: {{tile.layer}}<br/>
13    Zoom,x,y: ({{tile.z}},{{tile.x}},{{tile.y}})<br/>
14    <h3>Base Tileset</h3>
15    Zoom,x,y: {{tile.basetileset|slice:"1:"}}<br/>{% if basetile_fsize %}
16    File size: {{basetile_fsize|filesizeformat}}<br/>
17    Last modified: {{basetile_mtime}}<br/>Uploaded by: {{user}}{%else%}
18    Could not find base tileset on disk.<br/> Displaying fallback legacy tile.
19    {%endif%}
20    <h3>Current Request status</h3>
21    {% if reqs %}{% for r in reqs %}<p>{{r.status_str|capfirst}} request at priority {{r.priority}} has been requested {{r.request_time|timesince}} ago.<br/>Renderer: {{r.client}}, Layers left to render: {{r.layers_str}}</p>{% endfor %}
22    {%else%}No request found{%endif%}
23  </td>
24  <td><a href="{% url tah.browse.views.index %}?layer={{tile.layer}}&z={{tile.z}}&x={{tile.x}}&y={{tile.y}}"><img src="http://tah.openstreetmap.org/Tiles/{{tile.layer}}/{{tile.z}}/{{tile.x}}/{{tile.y}}.png" width="256" height="256" class="browseimg"/></a></td>
25</tr>
26</table>
27{% endblock %}
Note: See TracBrowser for help on using the repository browser.