troggle-unchained/templates/qm.html

94 lines
4.0 KiB
HTML
Raw Permalink Normal View History

2011-07-11 02:10:22 +01:00
{% extends "base.html" %}
{% load link %}
2021-04-30 22:44:03 +01:00
{% block title %} QM: {{qm|safe}} {% endblock %}
2011-07-11 02:10:22 +01:00
{% block contentheader %}
2023-03-17 20:01:52 +00:00
{% endblock %}
{% block related %}
{% endblock %}
{% block content %}
2011-07-11 02:10:22 +01:00
<table id="cavepage">
<tr>
2023-03-17 14:33:30 +00:00
<th id="kat_no"><a class="whitetext" href="{{qm.get_previous_by_id.get_absolute_url}}">Previous QM</a></th>
<th id="name">QM &nbsp;&nbsp;{{qm|safe}}</th>
<th id="status"><a class="whitetext" href="{{qm.get_next_by_id.get_absolute_url}}">Next QM</a></th>
2011-07-11 02:10:22 +01:00
</tr>
</table>
2023-03-19 19:12:09 +00:00
<div style="font-size: 120%">
<div style="text-align:center; font-family: sans-serif;font-size: 150%; border:solid">{{qm.location_description|safe}}</div>
2023-03-17 20:01:52 +00:00
{% if qm.ticked %}
2023-03-19 19:12:09 +00:00
<h4>This QM is <span style="color:blue; background:lime">TICKED</span></h4>
2023-03-17 20:01:52 +00:00
{% if qm.resolution_station_name %}
The survey station which record the continuation of the cave past this QM is <b>{{qm.resolution_station_name}}</b>.<br />
{%endif %}
2023-03-18 03:03:06 +00:00
Tick off completion description: '{{qm.completion_description|safe}}' </a> <br />
Tick off date: '{{qm.completion_date|date:'Y-m-d'}}' [For survex file ticks. not implemented yet]</a> <br />
2023-03-19 19:12:09 +00:00
Tick off comment: '{{qm.comment|safe}}'</a> <br />
2022-07-06 11:44:40 +01:00
{% else %}
2023-03-19 19:12:09 +00:00
<h4>This QM is <span style="color:red; background:yellow">OPEN</span></h4>
Comment: '<span style="color:red;">{{qm.comment}}</span>'</a> <br />
2022-07-06 11:44:40 +01:00
{% endif %}
2023-03-17 20:01:52 +00:00
2023-03-19 19:12:09 +00:00
<h4>QM Number: {{qm.number}} Grade: {{qm.grade}} </h4>
2023-03-17 14:33:30 +00:00
<p>Explanation of Grade letters: <a href="/handbook/survey/qm.html">Handbook - QM grades</a>
2011-07-11 02:10:22 +01:00
{% if qm.block %}
2023-03-19 19:12:09 +00:00
<h4>Survexfile</h4>
2023-03-18 03:03:06 +00:00
{{qm.block.date|date:'Y-m-d'}} <a href="/survexfile/{{qm.block.survexfile.path}}.svx">{{qm.block}}.svx</a>
{% endif %}
2023-03-19 19:12:09 +00:00
<h4>QM original closest survey station</h4>
{% if qm.block %}
2023-03-21 12:56:51 +00:00
Survex block: <span style="font-family: monospace">{{qm.blockname}}</span>
2022-07-06 11:44:40 +01:00
<br>
{% endif %}
2023-03-21 12:56:51 +00:00
QM Nearest station: <span style="font-family: monospace">'{{qm.nearest_station_name}}' {{nearest_station_description}}</span><br />
2023-04-05 23:33:01 +01:00
{% if qm.page_ref %}QM Page reference: <span style="font-family: monospace">'<a href="/{{qm.cave.url_parent}}/{{qm.page_ref}}">{{qm.page_ref|safe}}</a>'</span><br />{% endif %}
2023-03-19 19:12:09 +00:00
<h4>QM original description</h4>
2023-04-05 23:33:01 +01:00
<div style="text-indent: 5%; font-size: 150%; font-family: monospace">{{qm.location_description|safe}}</div>
2011-07-11 02:10:22 +01:00
2022-07-06 15:35:08 +01:00
{% if qm.found_by %}
2023-03-19 19:12:09 +00:00
<h4>Creation</h4>
2011-07-11 02:10:22 +01:00
Found by <a href="{{qm.found_by.get_absolute_url}}">{{qm.found_by}}</a> on {{qm.found_by.date}}.
2022-07-06 15:35:08 +01:00
{% endif %}
2011-07-11 02:10:22 +01:00
2023-03-19 19:12:09 +00:00
{% if qm.cave %}
<h4>Cave: {{qm.cave|safe }}</h4>
2023-03-21 12:56:51 +00:00
{{ qm.cave|safe }} - <a href="{% url 'caveQMs' qm.cave|safe %}">all QMs </a> for this cave <br>
2023-04-05 23:33:01 +01:00
{{ qm.cave|safe }} - <a href="{% url 'cave_openQMs' qm.cave|safe %}">open QMs checklist </a> for this cave <br>
2023-03-19 19:12:09 +00:00
{{ qm.cave|safe }} - <a href="/{{ qm.cave.url }}"> cave description </a> <br />
2023-03-21 12:56:51 +00:00
{{ qm.cave|safe }} - all <a href="/survexfile/{{qm.cave.kataster_number}}">survexfiles</a> for this cave<br />
{{ qm.cave|safe }} - <a href="/survexfile/{{qm.cave.survex_file}}">primary survexfile</a> for this cave<br /><br />
2023-03-19 19:12:09 +00:00
{% endif %}
</div>
2023-03-17 20:01:52 +00:00
<hr />
2023-03-19 19:12:09 +00:00
<h4>QMs available for these caves from CSV import</h4>
2023-03-17 20:01:52 +00:00
<ul>
<li><a href="{% url 'caveQMs' '1623-161' %}">1623-161 QMs</a> Maybe OUT OF DATE. See <a href="/1623/161/qmdone.htm">the curated list <b>instead</b></a>
<li><a href="{% url 'caveQMs' '1623-204' %}">1623-204 QMs</a> Maybe OUT OF DATE. See <a href=" /1623/204/qm.html">the curated list <b>instead</b></a>
<li><a href="{% url 'caveQMs' '1623-234' %}">1623-234 QMs</a>
</ul>
<p>QMs are also loaded directly from the survex files, e.g. see
<ul>
<li><a href="{% url 'caveQMs' '1623-264' %}">1623-264 QMs</a> Balkon
<li><a href="{% url 'caveQMs' '1623-258' %}">1623-258 QMs</a> Tunnocks
<li><a href="{% url 'caveQMs' '1623-290' %}">1623-290 QMs</a> Fischgesicht
<li><a href="{% url 'caveQMs' '1623-291' %}">1623-291 QMs</a> Happy Butterfly
<li><a href="{% url 'caveQMs' '1626-359' %}">1626-359 QMs</a> Homecoming
</ul>
2011-07-11 02:10:22 +01:00
2023-03-17 20:01:52 +00:00
<p>For full explanation of the current status of the QM system(s), see <a href="/handbook/troggle/scriptsqms.html">scriptsqms page</a>.
<hr />
2011-07-11 02:10:22 +01:00
{% endblock %}