mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-18 19:57:15 +00:00
added support buttons to logbook template
Commited in Aug 2024 on Crowely but not pushed. Rebased onto current head by Jonty, Jul 2025
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user