From 95a69618559f6987f0f4e087f17d09239a91d467 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Tue, 26 May 2026 15:46:41 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 6 ++++++ docker/routlin-dash/data/page_content.json | 9 ++++----- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index f3e96da..9e31e3d 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -671,6 +671,12 @@ def collect_tokens(): tokens['PENDING_ACTIONS_HTML'] = pending_html tokens['NO_PENDING'] = 'true' if not pending_items else '' + tokens['APPLY_WARNING'] = ( + '' + 'Applying actions will temporarily disrupt connections as network services are restarted.' + '' + if pending_items else '' + ) done_ts_map = get_done_timestamps() if all_snaps: # UUIDs that cannot be reverted: revert entries themselves, and entries diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index 9a8807e..ff02a50 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -601,11 +601,6 @@ } ] }, - { - "type": "info_bar", - "variant": "info", - "text": "Notice: Applying actions will temporarily disrupt connections as network services are restarted." - }, { "type": "card", "label": "Pending Actions", @@ -627,6 +622,10 @@ "type": "button_primary", "text": "Apply Now", "disabled": "%NO_PENDING%" + }, + { + "type": "raw_html", + "html": "%APPLY_WARNING%" } ] }