mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2026-02-08 06:08:21 +00:00
edit logbooks, new logbook format, increased database normalisation
This commit is contained in:
25
templates/dataformat/logbookentry.html
Normal file
25
templates/dataformat/logbookentry.html
Normal file
@@ -0,0 +1,25 @@
|
||||
{% autoescape off %}
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">.author {text-decoration:underline}</style>
|
||||
</head>
|
||||
<body>
|
||||
<H1>{{trip.title}}</H1>
|
||||
<span class="date">{{date}}</span> - <span class="expeditionyear">{{expeditionyear}}</span>
|
||||
|
||||
{% if trip.caveOrLocation == "cave" %}
|
||||
<span class="cave">{{trip.cave}}</span>
|
||||
{% else %}
|
||||
<span class="location">{{trip.location}}</span>
|
||||
{% endif %}
|
||||
|
||||
{% for person in persons %}
|
||||
<div class="person">
|
||||
<span class="name{% if person.author %} author{% endif %}">{{person.name}}</span>
|
||||
TU<span class="TU">{% if person.TU %}{{person.TU}}{% else %}0{% endif %}</span>hours
|
||||
</div>
|
||||
{% endfor %}
|
||||
<div class="report">{{trip.html}}</div>
|
||||
</body>
|
||||
</html>
|
||||
{% endautoescape %}
|
||||
Reference in New Issue
Block a user