From a32273f3c287f54296b27d62f38aab4bc60133b7 Mon Sep 17 00:00:00 2001 From: sahil raja Date: Wed, 30 Oct 2024 10:06:37 +0000 Subject: [PATCH 1/5] :sparkles: adding timezone to messagefeed header --- process_manager/templates/process_manager/index.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/process_manager/templates/process_manager/index.html b/process_manager/templates/process_manager/index.html index 4e854380..a6ab8f75 100644 --- a/process_manager/templates/process_manager/index.html +++ b/process_manager/templates/process_manager/index.html @@ -64,6 +64,17 @@ end end + {% endblock extra_js %} {% block content %}
@@ -126,6 +137,7 @@
Process Control
Messages
+ -
-
- -
{{ server_time }} + + +
+
+
-
+ hx-trigger="input changed delay:500ms, every 1s" + hx-target="#message-list"> +
+ {% endblock content %} From ac32ef9d8785af151ce2629526764a0c7076a475 Mon Sep 17 00:00:00 2001 From: sahil raja Date: Thu, 31 Oct 2024 09:41:46 +0000 Subject: [PATCH 5/5] moving the timezone info above the search bar --- .../templates/process_manager/index.html | 45 ++++++++++--------- 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/process_manager/templates/process_manager/index.html b/process_manager/templates/process_manager/index.html index 41a0ba3f..bf269ad9 100644 --- a/process_manager/templates/process_manager/index.html +++ b/process_manager/templates/process_manager/index.html @@ -52,6 +52,9 @@ max-height: 60vh; overflow-y: auto; } + #timezone { + font-size: 10pt; + } {% endblock extra_css %} {% block extra_js %} @@ -127,32 +130,30 @@
Process Control
Messages
- {% timezone None %} + + +
+
{% now "e (O)" as server_time %} - {% endtimezone %} - {{ server_time }} - - -
-
- All timestamps are displayed in {{ server_time }} + +
-
+ hx-trigger="load">
+
- {% endblock content %}