diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/subcave.html | 45 | ||||
-rw-r--r-- | templates/todo.html | 59 |
2 files changed, 104 insertions, 0 deletions
diff --git a/templates/subcave.html b/templates/subcave.html new file mode 100644 index 0000000..c635833 --- /dev/null +++ b/templates/subcave.html @@ -0,0 +1,45 @@ +{% extends "cavebase.html" %}
+{% load wiki_markup %}
+{% block title %} Subcave {{subcave}} {% endblock title %}
+{% block editLink %}<a href={{subcave.get_admin_url}}>Edit subcave {{subcave|wiki_to_html_short}}</a>{% endblock %}
+{% block content %}
+
+<h2>{{subcave}}</h2>
+<p>
+ {{subcave.description}}
+</p>
+
+<div id="col2">
+
+ <h2>Related places</h2>
+
+ <h3>Parent</h3>
+
+ <ul>
+ {% if subcave.parent %}
+ <li><a href="{{subcave.parent.get_absolute_url}}">{{subcave.parent}}</a></li>
+ {% else %}
+ <li><a href="{{subcave.cave.get_absolute_url}}">{{subcave.cave}}</a></li>
+ {% endif %}
+ </ul>
+
+ <h3>Connected subareas</h3>
+
+ <ul>
+ {% for sibling in subcave.adjoining.all%}
+ <li><a href="{{sibling.get_absolute_url}}">{{silbling}}</a></li>
+ {% endfor %}
+ </ul>
+
+ <h3>Children</h3>
+
+ <ul>
+ {% for child in subcave.children.all %}
+ <li><a href="{{child.get_absolute_url}}">{{child}}</a></li>
+ {% endfor %}
+ </ul>
+
+
+</div>
+
+{% endblock content %}
\ No newline at end of file diff --git a/templates/todo.html b/templates/todo.html new file mode 100644 index 0000000..1c9fd3b --- /dev/null +++ b/templates/todo.html @@ -0,0 +1,59 @@ +{% extends "base.html" %}
+{% load wiki_markup %}
+
+{% block title %}Cambridge Expeditions to Austria{% endblock %}
+
+{% block content %}
+
+<h2>The unfinished front page</h2>
+<ul>
+ <li><b>About {{totallogbookentries}} logbook entries have been loaded</b></li>
+ <li><b><a href="{% url personindex %}">List of People</a></b></li>
+ <li><b><a href="{% url caveindex %}">List of Caves</a></b></li>
+ <li><a href="{% url jgtfile aaaa %}">JGT list of files</a> (temporary simple file list and tunnel use)</li>
+ <li><a href="{% url survey %}">Survey files</a></li>
+ <li><a href="{% url survexindex all %}">Survex directory</a></li>
+ <li><a href="{% url expedition 2008 %}">Expedition 2008</a></li>
+ <li><a href="{% url expedition 2007 %}">Expedition 2007</a></li>
+ <li><a href="{% url expedition 1993 %}">Expedition 1993</a> (earliest parsed)</li>
+</ul>
+
+<h2>Further work</h2>
+
+<p>Julian's work:
+<p>parse 1992-1976 logbooks; (esp top 161)</p>
+<p>detect T/U on log entries; </p>
+<p>name matching and spelling in survex files; </p>
+<p>Improve logbook wikihtml text</p>
+
+<p>Other work:</p>
+<p>surf through the tunnel sketches and images</p>
+<p>bugs with all.svx block (double dot)
+<p>render bitmap view of every survex block as a thumbnail</p>
+<p>upload tunnel images and tunnel sketches</p>
+<p>where are the subcaves; </p>
+<p>cave section entrance match for logbook entries</p>
+<p>simplify the survex parsing code (if necessary); </p>
+<p>wiki survex stop linegap between comment lins</p>
+<p>links between logbooks and survex blocks to cave things; </p>
+<p>mini-tree of survexblocks; </p>
+<p>connect sketches to caves to survey blocks and render thumbnailwise; </p>
+<p>all images to start appearing in pages; and so on</p>
+
+<h3>{{message}}</h3>
+
+<form action="" method="GET">
+ <input type="submit" name="reloadexpos" value="Reload Expos">
+ <input type="submit" name="reloadsurvex" value="Reload Survex">
+</form>
+
+<ul id="expeditionlist">
+{% for expedition in expeditions %}
+<li>
+ <a href="{% url expedition expedition.year %}">{{expedition.name}}</a>
+ - <b>{{expedition.logbookentry_set.count}}</b> logbook entries
+</li>
+{% endfor %}
+</ul>
+
+{% endblock %}
|