summaryrefslogtreecommitdiffstats
path: root/templates/dataformat
diff options
context:
space:
mode:
Diffstat (limited to 'templates/dataformat')
-rw-r--r--templates/dataformat/logbookentry.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/dataformat/logbookentry.html b/templates/dataformat/logbookentry.html
new file mode 100644
index 0000000..e6b83ce
--- /dev/null
+++ b/templates/dataformat/logbookentry.html
@@ -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 %}