From 375e8cf8b65cc62be6de5db207b80e09f3894121 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 24 May 2026 03:52:26 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 2 +- docker/routlin-dash/data/page_content.json | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index 15b2a83..453fdd9 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -1075,7 +1075,7 @@ def _render_item(item, tokens, inherited_req=None): return f'' if t == 'spacer': - return '' + return '' if t == 'button_row': inner = render_items(item.get('items', []), tokens, req) diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index 83e65ef..1a3573d 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -525,18 +525,18 @@ "type": "button_row", "items": [ { - "type": "button_danger", - "action": "/action/clear_ddns_log", - "method": "post", - "text": "Clear Log" + "type": "button_ghost", + "action": "/action/download_ddns_log", + "text": "Download Log" }, { "type": "spacer" }, { - "type": "button_ghost", - "action": "/action/download_ddns_log", - "text": "Download Log" + "type": "button_danger", + "action": "/action/clear_ddns_log", + "method": "post", + "text": "Clear Log" } ] },