From fc4f0efd203337050703e23e5194174d9c7ab605 Mon Sep 17 00:00:00 2001 From: jerem Date: Mon, 15 Jun 2026 15:02:18 +0200 Subject: [PATCH] NAS: deplacer le bloc sous la meteo (colonne gauche) --- backend/templates/dashboard.html | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/backend/templates/dashboard.html b/backend/templates/dashboard.html index eedc396..62a156b 100644 --- a/backend/templates/dashboard.html +++ b/backend/templates/dashboard.html @@ -112,6 +112,20 @@
Météo indisponible
{% endif %} + + {% if nas.ok %} +
+
+
NAS
+
+ {% for d in nas.disks %} +
{{ d.label }}{{ d.percent | round | int }}% · {{ d.free_human }} libre
+ {% endfor %} +
Docker{{ nas.docker_running }}/{{ nas.docker_total }}{% if nas.docker_unhealthy %} · {{ nas.docker_unhealthy }} KO{% else %} ✓{% endif %}
+
Port VPN{% if nas.vpn_ok %}OK{% if nas.vpn_port %} · {{ nas.vpn_port }}{% endif %}{% else %}✗ désync{% endif %}
+
+
+ {% endif %} @@ -142,19 +156,6 @@ {% endif %} - {% if nas.ok %} -
-
NAS
-
- {% for d in nas.disks %} -
{{ d.label }}{{ d.percent | round | int }}% · {{ d.free_human }} libre
- {% endfor %} -
Docker{{ nas.docker_running }}/{{ nas.docker_total }}{% if nas.docker_unhealthy %} · {{ nas.docker_unhealthy }} KO{% else %} ✓{% endif %}
-
Port VPN{% if nas.vpn_ok %}OK{% if nas.vpn_port %} · {{ nas.vpn_port }}{% endif %}{% else %}✗ désync{% endif %}
-
-
- {% endif %} - {% if ha_states %}
Maison