diff options
author | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:32:41 +0100 |
---|---|---|
committer | Martin Green <martin.speleo@gmail.com> | 2011-05-01 19:32:41 +0100 |
commit | b001df1f5319dd8627faba3cd56c412e8584fc7d (patch) | |
tree | 37ad33f4ad34e36b594bb296e98fbe02ecee29e1 /templates/dataformat | |
parent | 1cc7f2d92eef1acd6537453a866b7d2b117a7af0 (diff) | |
download | troggle-b001df1f5319dd8627faba3cd56c412e8584fc7d.tar.gz troggle-b001df1f5319dd8627faba3cd56c412e8584fc7d.tar.bz2 troggle-b001df1f5319dd8627faba3cd56c412e8584fc7d.zip |
edit logbooks, new logbook format, increased database normalisation
Diffstat (limited to 'templates/dataformat')
-rw-r--r-- | templates/dataformat/logbookentry.html | 25 |
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 %} |