diff options
author | Philip Sargent <philip.sargent@gmail.com> | 2022-12-09 23:45:07 +0000 |
---|---|---|
committer | Philip Sargent <philip.sargent@gmail.com> | 2022-12-09 23:45:07 +0000 |
commit | cabcada0b8738366bce33173ad1b3d376e8fb73c (patch) | |
tree | 0ed741af5c1c1d1b67433f9dc49fd8c6740a4a8a /templates/logbook2005style.html | |
parent | 17b2b7b89c2ce34471251a64a1f7c9e416a1c869 (diff) | |
download | troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.tar.gz troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.tar.bz2 troggle-cabcada0b8738366bce33173ad1b3d376e8fb73c.zip |
2003 logbook export/re-import as now HTML format
Diffstat (limited to 'templates/logbook2005style.html')
-rw-r--r-- | templates/logbook2005style.html | 33 |
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> |