diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/logbook2005style.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/logbook2005style.html b/templates/logbook2005style.html index 668ea9d..0956d81 100644 --- a/templates/logbook2005style.html +++ b/templates/logbook2005style.html @@ -20,8 +20,12 @@ Exported on {% now 'Y-m-d H:m' %} using either the control panel webpage or when See troggle/code/views/other.py and core.models/logbooks.py writelogbook(year, filename) --> <body> -{%for logbook_entry in logbook_entries%}<hr /> +<button type="button" onclick="window.scrollTo(0, document.body.scrollHeight)" autofocus>Scroll To Bottom</button> +<br/> +<a href="/logbookedit/">Add Log book entry</a> + +{%for logbook_entry in logbook_entries%} <hr /> <div class="tripdate" id="{{logbook_entry.slug}}">{{logbook_entry.date|date:'Y-m-d'}}</div> <div class="trippeople">{{logbook_entry.get_participants|safe}}</div> <div class="triptitle">{{logbook_entry.title|safe}}</div> @@ -29,5 +33,10 @@ See troggle/code/views/other.py and core.models/logbooks.py writelogbook(year, f <div class="timeug">T/U: {{logbook_entry.time_underground|safe}} hours</div> <div class="editentry"><br /><a href="/logbookedit/{{logbook_entry.slug}}">Edit this entry</a><br /></div> {% endfor %}<hr /> + +<button type="button" onclick="window.scrollTo(0, 0)" autofocus>Scroll To Top</button> +<br/> +<a href="/logbookedit/">Add Log book entry</a> + </body> </html> |