From c84ce1f5e42e132a8d6114f69802d2235b2b5a6f Mon Sep 17 00:00:00 2001 From: Chuck <33324927+ChuckBuilds@users.noreply.github.com> Date: Fri, 2 Oct 2026 13:47:28 -0400 Subject: [PATCH] feat(web): Rotation, Operation History, Config Editor and Backup & Restore become ES-module pages (stage 2) Continues #703. Each partial's inline script moves to static/v3/js/pages/.js with init/destroy under the page registry; the partials carry no diff --git a/web_interface/templates/v3/partials/durations.html b/web_interface/templates/v3/partials/durations.html index 5c47266fc..1c569605b 100644 --- a/web_interface/templates/v3/partials/durations.html +++ b/web_interface/templates/v3/partials/durations.html @@ -1,5 +1,8 @@ {% import 'v3/partials/_macros.html' as ui %} -
+{# No inline script: static/v3/js/pages/durations.js starts the rotation-order + list. The page registry (static/v3/js/core/registry.js) starts it when this + root appears and stops it when the partial is swapped away. #} +

Rotation & Durations

Set the order plugins rotate on the display and how long each screen is shown. Durations are in seconds.

@@ -77,34 +80,3 @@

{{ group.plugin_name }}

- - diff --git a/web_interface/templates/v3/partials/operation_history.html b/web_interface/templates/v3/partials/operation_history.html index 4fc80e4e8..5a676f355 100644 --- a/web_interface/templates/v3/partials/operation_history.html +++ b/web_interface/templates/v3/partials/operation_history.html @@ -1,4 +1,7 @@ -
+{# No inline script: static/v3/js/pages/operation-history.js runs this page. + The page registry (static/v3/js/core/registry.js) starts it when this root + appears and stops it when the partial is swapped away. #} +

Operation History

View history of plugin operations and configuration changes for debugging and auditing.

@@ -39,12 +42,12 @@

Operation History

- -
@@ -81,307 +84,12 @@

Operation History

Showing 0 to 0 of 0 operations
- -
- - diff --git a/web_interface/templates/v3/partials/raw_json.html b/web_interface/templates/v3/partials/raw_json.html index 01c2a5fc4..853857500 100644 --- a/web_interface/templates/v3/partials/raw_json.html +++ b/web_interface/templates/v3/partials/raw_json.html @@ -1,4 +1,8 @@ -
+{# No inline script: static/v3/js/pages/raw-json.js runs this page. Its buttons + name an action and an editor (data-action, data-editor) for one delegated + listener. The page registry (static/v3/js/core/registry.js) starts it when + this root appears and stops it when the partial is swapped away. #} +
@@ -8,17 +12,17 @@

co

{{ main_config_path }}

- - -
- - -
- - -