From 7b31eba8d7614e82cfcc4583e1dd3c2f40f87944 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Sat, 2 Mar 2024 23:11:33 +0100 Subject: [PATCH] Webapp: improve positioning of the farm status indicator Split the header into two or three parts, depending on the number of columns shown. The farm status indicator will be above the middle column (in 3 col mode) or at the right edge of the left column (in 2 col mode). Also I reverted the hiding of the farm status when SocketIO has disconnected, as that disconnect happens when navigation between tabs. That created a too 'blinky' interface, so now it just shows the last-known farm status. --- web/app/src/App.vue | 10 +++++--- web/app/src/assets/base.css | 35 ++++++++++++++++++++++++--- web/app/src/components/ApiSpinner.vue | 2 +- web/app/src/components/FarmStatus.vue | 1 - 4 files changed, 38 insertions(+), 10 deletions(-) diff --git a/web/app/src/App.vue b/web/app/src/App.vue index b707f77a..0e716118 100644 --- a/web/app/src/App.vue +++ b/web/app/src/App.vue @@ -1,5 +1,5 @@