2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-12-18 06:22:18 +00:00
troggle/templates/editcave.html

102 lines
4.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "cavebase.html" %}
{% block title %}
{% if cave.official_name or cave.kataster_number or cave.unofficial_number %}
Edit Cave - {{cave.official_name|safe}} - {{cave.kataster_number}}
{% else %}
New Cave Creation Form
{% endif %}
{% endblock %}
{% block extraheaders %}
{% include 'html_editor_scripts_css.html' %}
{% endblock %}
{% block content %}
{% if cave.official_name or cave.kataster_number or cave.unofficial_number %}
<h1>Edit Cave - {{cave.official_name|safe}} {{cave.reference}}</h1>
<p>The fields on this form, two of which are vital, are documented explicitly on the page
<a href="/handbook/survey/caveentryfields.html">cave entry fields</a>
and these same fields appear in the alternative file upload process as described in
<a href="/handbook/survey/newcavefile.html">new cave file</a>.
<p>As it says there,
<em>"There are a lot of fields on the 'new/edit cave' page and the 'new/edit entrance' page and some of them are a quite mysterious.
<a href="/handbook/survey/caveentryfields.html">This page</a> explains what they mean."</em>
{% else %}
<h1>New Cave Creation</h1>
<div style="padding: 20px; border: 2px solid red;">
<b>
<p><font style="color: red">WARNING</font>
<p>This form is the <font style="color: red">SIXTH</font> step in
the expo online cave recording system.
<p>The whole process starts at step <font style="color: blue">ONE</font> here: <a href="/handbook/survey/newcave.html">Great, I have discovered a new cave...</a>.
<p>But even if you are happy and confident that you have understood steps 1 to 5, please go through the recommended procedure
of editing an existing cave entry first, before trying to create a totally new one.
This is described under the section "Recommended procedure" on the page <a href="/handbook/survey/caveentry.html">CaveEntry</a>
especially sub-heading "Edit Cave form" and please go through the example edit process for caves
Plateauh&ouml;hle 171 and Plateauh&ouml;hle 172, as described there.
<p>
If you have not done all the preceeding steps, cancel this form and go back and do them now.
Click <a href="/handbook/survey/newcave.html">here</a>.
</b>
<p>This form contains many esoteric and non-obvious data requirements, which will give you a
frustrating time if you try to persist without being familiar with how all the bits fit together.
<p>The fields on this form, two of which are vital, are documented explicitly on the page
<a href="/handbook/survey/caveentryfields.html">cave entry fields</a>
and these same fields appear in the alternative file upload process as described in
<a href="/handbook/survey/newcavefile.html">new cave file</a>.
<p>As it says there,
<em>"There are a lot of fields on the 'new/edit cave' page and the 'new/edit entrance' page and some of them are a quite mysterious.
<a href="/handbook/survey/caveentryfields.html">This page</a> explains what they mean."</em>
</div>
{% endif %}
{% include 'html_editor_pop_ups.html' %}
<h2><!-- file saving error message if any -->{{message}}</h2>
<!-- In Django v5 forms are rendered as <div> not as a table. The layout is different.
also we want a wider edit box for Cave editing, where there is no preview next to it.
-->
<style>
div > label {
display:block;
font-weight: bold;
margin-top: 5px;
}
.CodeMirror {
width: 87%;
}
</style>
<form action="" method="post">{% csrf_token %}
{% if tabletype == 'table' %}<table>{% endif %}
{{ form }}
{% if tabletype == 'table' %}</table>{% endif %}
<p><input style="font-weight: bold; font-size: 200%; font-variant-caps: small-caps; margin-left: 40%;" type="submit" value="Submit" /></p>
</form>
<h3>Kataster code</h3>
This is the 'length-or-depth/type exploration'
<a href="/katast.htm
">code used in the Austrian kataster</a>, e.g '1/S +'
means "more than 10 but less than 50m long or deep, with a pitch, completely explored". The number is:<br />
0 - length or depth unknown<br />
1 - 10 to 50m<br />
2 - 50 to 500m<br />
3 - 500m to 5km<br />
<pre>
T Trockenh&ouml;hlen (Dry caves)
W Wasserh&ouml;hlen (Caves with water)
(W) Zeitweilig aktiv Wasserh&ouml;hlen (Caves with seasonal water)
E Eishohlen (Caves with ice formations)
S Schachth&ouml;hlen (Caves with pitches)
H Halbh&ouml;hlen (Rock shelters ?)
- unerforscht (unexplored)
= befahren (visited)
× teilweise vermessen (partly surveyed)
+ erforscht (exploration considered complete)
</pre>
{% endblock %}