From 0108ea914927c9332a3e0d804a2254be539a2d48 Mon Sep 17 00:00:00 2001 From: MarekWo Date: Sat, 21 Mar 2026 07:55:59 +0100 Subject: [PATCH] refactor(menu): reorganize menu into logical sections + larger touch targets Reorganize menu from 2 sections (Network Commands, Configuration) into 4: - Messages (top, no header) - daily actions - Network - advert commands - Tools - Map, Console - System - Device Info, System Log, Backup, Settings placeholder Increase navbar button/select touch targets (min 40px) for mobile usability. Widen offcanvas menu from 280px to 300px. Co-Authored-By: Claude Opus 4.6 --- app/static/css/style.css | 19 +++++++++++++- app/templates/base.html | 55 +++++++++++++++++++++++++--------------- 2 files changed, 52 insertions(+), 22 deletions(-) diff --git a/app/static/css/style.css b/app/static/css/style.css index 25322c4..107b9f0 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -245,9 +245,26 @@ main { font-size: 1rem; } +/* Navbar touch targets - larger for mobile */ +.navbar-touch-btn { + min-width: 40px; + min-height: 40px; + display: inline-flex; + align-items: center; + justify-content: center; + font-size: 1.1rem; + padding: 0.35rem 0.6rem; +} + +.navbar-touch-select { + min-height: 40px; + font-size: 1rem; + padding: 0.35rem 2rem 0.35rem 0.6rem; +} + /* Offcanvas menu styling */ .offcanvas { - width: 280px !important; + width: 300px !important; } .offcanvas-body .list-group-item { diff --git a/app/templates/base.html b/app/templates/base.html index aa412bd..8d0f814 100644 --- a/app/templates/base.html +++ b/app/templates/base.html @@ -38,14 +38,14 @@ {% endif %}
-
+ - -
@@ -72,6 +72,7 @@
+ -
+
- Configuration + Tools
- -
+ + + +
+ System +
+ +