summaryrefslogtreecommitdiffstats
path: root/templates/editcave.html
blob: 47e27598f09bfaad48f97dbd308080cc35c13b71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
{% 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 %} <!-- to work with Dj 5.1 and Dj 3.2 -->
    {{ 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 %}