From 6298f27d292f1e0ffc994671cb00cf22dcbaf475 Mon Sep 17 00:00:00 2001 From: Matthew Grotke Date: Sun, 24 May 2026 03:56:22 -0400 Subject: [PATCH] Development --- docker/routlin-dash/app/view_page.py | 4 +++- docker/routlin-dash/data/page_content.json | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/routlin-dash/app/view_page.py b/docker/routlin-dash/app/view_page.py index 453fdd9..45d7acc 100644 --- a/docker/routlin-dash/app/view_page.py +++ b/docker/routlin-dash/app/view_page.py @@ -1078,8 +1078,10 @@ def _render_item(item, tokens, inherited_req=None): return '' if t == 'button_row': + justify = item.get('justify', '') + style_attr = f' style="justify-content:{e(justify)}"' if justify else '' inner = render_items(item.get('items', []), tokens, req) - return f'
{inner}
' + return f'
{inner}
' if t == 'table': return _render_table(item, tokens, req) diff --git a/docker/routlin-dash/data/page_content.json b/docker/routlin-dash/data/page_content.json index 1a3573d..b834740 100644 --- a/docker/routlin-dash/data/page_content.json +++ b/docker/routlin-dash/data/page_content.json @@ -523,15 +523,13 @@ }, { "type": "button_row", + "justify": "space-between", "items": [ { "type": "button_ghost", "action": "/action/download_ddns_log", "text": "Download Log" }, - { - "type": "spacer" - }, { "type": "button_danger", "action": "/action/clear_ddns_log",