From 60df03e85cb3e104ff00043d2e17d1f98299589c Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Mon, 25 May 2026 14:24:40 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 10 ----- docker/routlin-dash/data/page_content.json | 44 ++++++++++++++++++++-- 2 files changed, 40 insertions(+), 14 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index a979f5c..bdb2ba5 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -609,16 +609,6 @@ def collect_tokens(): '' f'{rows}' '' - '
' - f'' - '
' - '' - '
' - '
' - f'' - '
' - '' - '
' ) else: pending_html = '' diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index bb683fd..833fc03 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -607,8 +607,44 @@ "client_requirement": "client_is_administrator+", "items": [ { - "type": "raw_html", - "html": "%PENDING_CHANGES_HTML%" + "type": "form", + "action": "/action/actions_cardpendingchanges_applyselected", + "method": "post", + "items": [ + { + "type": "raw_html", + "html": "%PENDING_CHANGES_HTML%" + }, + { + "type": "button_row", + "items": [ + { + "type": "button_primary", + "action": "/action/actions_cardpendingchanges_applyselected", + "method": "post", + "text": "Apply Selected" + } + ] + } + ] + }, + { + "type": "form", + "action": "/action/actions_cardpendingchanges_revertselected", + "method": "post", + "items": [ + { + "type": "button_row", + "items": [ + { + "type": "button_secondary", + "action": "/action/actions_cardpendingchanges_revertselected", + "method": "post", + "text": "Revert Selected" + } + ] + } + ] } ] }, @@ -619,7 +655,7 @@ "items": [ { "type": "form", - "action": "/action/general_cardpendingchanges_save", + "action": "/action/actions_cardoptions_save", "method": "post", "items": [ { @@ -635,7 +671,7 @@ "items": [ { "type": "button_primary", - "action": "/action/general_cardpendingchanges_save", + "action": "/action/actions_cardoptions_save", "method": "post", "text": "Save" },