summaryrefslogtreecommitdiffstats
path: root/templates/logbook2005style.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/logbook2005style.html')
-rw-r--r--templates/logbook2005style.html33
1 files changed, 17 insertions, 16 deletions
diff --git a/templates/logbook2005style.html b/templates/logbook2005style.html
index af320a3..846e88d 100644
--- a/templates/logbook2005style.html
+++ b/templates/logbook2005style.html
@@ -1,26 +1,27 @@
+<!DOCTYPE html>
<html>
-<head><title>{{logbook_entries.0.expedition}} Expo Logbook</title></head>
-<link rel="stylesheet" type="text/css" href="../../css/main2.css" />
-<style type="text/css">
-.tripdate { float: left;}
-.trippeople { float: right;}
-.triptitle { font-size: 120%; text-align: center; font-weight: bold; clear: both }
-.timeug { text-align: right; font-weight: bold }
-p { clear: both }
-</style>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<title>{{logbook_entries.0.expedition}} Expo Logbook</title>
+<link rel="stylesheet" href="../../css/main2.css" />
+</head>
+<!-- Exported by troggle in this format after having been imported using a different format and a different parser.
+This is because we are steadily converting old formats to a new common format so that we do not need to maintain half
+a dozen parser functions.
+Exported on {% now 'Y-m-d D' %} using control panel webpage and exportlogbook() in troggle/code/views/other.py
+-->
<body>
-
<h1>Expo {{logbook_entries.0.expedition}}</h1>
-
{%for logbook_entry in logbook_entries%}
<hr />
-<div class="tripdate" id="t{{logbook_entry.date}}A">{{logbook_entry.date}}</div>
-<div class="trippeople"><u>{{logbook_entry.author.person}}</u>
-{% for persontrip in logbook_entry.persontrip_set.all %}{{ persontrip.personexpedition.person }} {{ persontrip.personexpedition.time_underground }}, {% endfor %}
-</div>
-
+<div class="tripdate" id="{{logbook_entry.slug}}">{{logbook_entry.date|date:'Y-m-d'}}</div>
+<div class="trippeople">{% for persontrip in logbook_entry.persontrip_set.all %}{% if persontrip.is_logbook_entry_author %}<u>{{persontrip.personexpedition.person}}</u>{% else %}{{ persontrip.personexpedition.person }}{% endif %}, {% endfor %}</div>
<div class="triptitle">{{logbook_entry.place}} - {{logbook_entry.title}}</div>
{{logbook_entry.text|safe}}
+<div class="timeug">T/U: {{logbook_entry.time_underground}}</div>
{% endfor %}
+<hr />
+</body>
+</html>