chnage maintenance menus & move tests

This commit is contained in:
Philip Sargent
2021-04-07 16:04:27 +01:00
parent 785d6360cd
commit e3a341eb22
5 changed files with 162 additions and 95 deletions

View File

@@ -5,7 +5,8 @@
{% block title %}Cambridge Expeditions to Austria{% endblock %}
{% block related %}
<h2>Recent Actions - admin user</h5>
<!--
<h2>Recent Actions - expoadmin</h5>
{% load log %}
{% get_admin_log 10 as admin_log for_user 1 %}
{% if not admin_log %}
@@ -29,21 +30,30 @@
{% endfor %}
</ul>
{% endif %}
{% endblock %}
{% block content %}
<h2>This is not fully working currently</h2>
<h2>The code behind this page is under repair</h2>
-->
{% endblock %}
{% block content %}
<style>
ul {list-style: disc}
</style>
<h2>You are now logged in</h2>
<p>Now you can:
<ul>
<li>Use 'Edit This Page' to fix errors in the online handbook webpages
<li>Edit the data on an existing cave description
<li>Create a new cave description for a new cave, including all cave discovery data
<li>Edit the data on an existing entrance description
<li>Create a new cave description for a new cave, including all entrance discovery data
<li>Edit any archived survex file online
<li>Upload or type in new survex data for a new trip (see below)
</ul>
<p>See the logged-in status indicator in the top-right of the page, in gray in the banner picture.
<!--<h2>Expo member tasks</h2>-->
<h3>Expo member tasks</h3>
<h3>Add new data</h3>
<h3></h3>
<li><a href="">Upload a photo</a></li>
<li><a href="">Upload a GPS track</a></li>
<li><a href="">Upload a Tunnel or Therion drawing</a></li>
<li><a href="/survexfile/caves-1623/999/999.svx">Upload or type in a Survex file</a></li>
<h3>Unfinished wallets work to do:</h3>
<a href="/expofiles/surveyscans/2016/walletindex.html">2016 wallets</a><br>
@@ -51,18 +61,31 @@
<a href="/expofiles/surveyscans/2018/walletindex.html">2018 wallets</a><br>
<a href="/expofiles/surveyscans/2019/walletindex.html">2019 wallets</a><br>
<h3>Upload new data</h3>
<ul>
<li><a style="color:grey"href=""><font style="color:grey">Upload a photo</font></a></li>
<li><a style="color:grey" href="">Upload a GPS track</a></li>
<li><a style="color:grey"href="">Upload a Tunnel or Therion drawing</a></li>
<li><a href="/survexfile/caves-1623/999/999.svx">Upload or type in a Survex file</a> - overwrite the area/number data in the browser title bar after the page loads, from 'caves-1623/999/999.svx' to whatever you need for your cave.
</ul>
<p>
<h3>Unfinished surveys</h3>
{% for survey in surveys_unfinished %}
<li>{{survey|link}}</li>
{% empty %}
[none found in database[surveys_unfinished]]
{% endfor %}
<h3>Caving QM recommendations</h3>
{% for qm in qms_recommended %}
<li>{{qm|link}}</li>
{% empty %}
[none found in database[qms_recommended]]
{% endfor %}
{% endblock content %}
{% block margins %}
<img class="leftMargin eyeCandy fadeIn" src="{{ settings.MEDIA_URL }}eieshole.jpg">
<img class="rightMargin eyeCandy fadeIn" src="{{ settings.MEDIA_URL }}goesser.jpg">
{% endblock margins %}