From 0dd2bd3625d11272f4d9cc3045330105be6f964b Mon Sep 17 00:00:00 2001 From: calboo Date: Tue, 10 Feb 2026 20:08:46 +0100 Subject: [PATCH] logbook search --- templates/logbook.html | 45 +++++++++++++-- templates/logbook_detail.html | 44 ++++++++++----- templates/tasks.html | 100 ++++++++++++++++++++-------------- 3 files changed, 128 insertions(+), 61 deletions(-) diff --git a/templates/logbook.html b/templates/logbook.html index a1305aa..3d47ed4 100644 --- a/templates/logbook.html +++ b/templates/logbook.html @@ -1,19 +1,29 @@ {% extends "layout.html" %} {% block content %} -

Logbook

+
+

Logbook

+
+ + +
+ +
+ {% if not log %}

No activities recorded yet.

{% else %} +
{% for entry in log %} - +
-

+

{{ entry.activity.name }} {% if entry.subcategory %} - + {{ entry.subcategory }} {% endif %} @@ -22,7 +32,10 @@ {{ entry.start_time.strftime('%Y-%m-%d %H:%M') }} - {{ entry.end_time.strftime('%H:%M') }} {% if entry.note %} -

"{{ entry.note }}"

+

"{{ entry.note }}"

+ {% else %} + + {% endif %}

@@ -43,8 +56,30 @@
{% endfor %} +
{% endif %} + +