diff --git a/files/app/partial/status.ut b/files/app/partial/status.ut index 64e4ad08..6428c711 100755 --- a/files/app/partial/status.ut +++ b/files/app/partial/status.ut @@ -42,58 +42,60 @@ {{_R("location")}} -
-
- {% if (messages.haveMessages() || (auth.isAdmin && messages.haveToDos())) { %} -
- {{_R("messages")}} -
- {% } %} -
-
- {% if (auth.isAdmin) { %} - {{_R("internal-services" )}} +
+
+
+ {% if (messages.haveMessages() || (auth.isAdmin && messages.haveToDos())) { %} +
+ {{_R("messages")}} +
{% } %} - {{_R("local-services")}} -
-
-
-
- {{_R("local-and-neighbor-devices")}}
-
- {{_R("activator", { id: "local-and-neighbor-devices", activate: [ ".noctrl:first-child", ".noctrl:nth-child(2)" ] })}} -
-
-
- {{_R("radio-and-antenna")}} -
-
-
-
- {{_R("mesh-summary")}} +
+ {% if (auth.isAdmin) { %} + {{_R("internal-services" )}} + {% } %} + {{_R("local-services")}}
-
-
-
-
- {{_R("dhcp")}} +
+
+
+ {{_R("local-and-neighbor-devices")}} +
+ {{_R("activator", { id: "local-and-neighbor-devices", activate: [ ".noctrl:first-child", ".noctrl:nth-child(2)" ] })}}
- {% if (length(hardware.getEthernetPorts()) > 0) { %} - - {% } %} - {% if (fs.access("/usr/bin/wg") || fs.access("/usr/sbin/vtund")) { %} -
-
-
- {{_R("tunnels")}} +
+
+ {{_R("radio-and-antenna")}}
+
+
+
+ {{_R("mesh-summary")}} +
+
+
+
+
+ {{_R("dhcp")}} +
+
+ {% if (length(hardware.getEthernetPorts()) > 0) { %} + + {% } %} + {% if (fs.access("/usr/bin/wg") || fs.access("/usr/sbin/vtund")) { %} +
+
+
+ {{_R("tunnels")}} +
+
+ {% } %}
- {% } %}
{% } else { %}
diff --git a/files/app/resource/css/user.css b/files/app/resource/css/user.css index 4327f43b..bccc0ff8 100755 --- a/files/app/resource/css/user.css +++ b/files/app/resource/css/user.css @@ -167,7 +167,6 @@ body.authenticated .ctrl:hover display: flex; flex-direction: column; min-width: 330px; - width: 330px; } #general { @@ -175,8 +174,9 @@ body.authenticated .ctrl:hover flex-direction: column; padding: 10px 5px; } -#location +#c2c3 { + display: flex; } #c2 { @@ -204,14 +204,29 @@ body.authenticated .ctrl:hover padding: 20px 0 0 5px; container-type: inline-size; } +@media (max-width: 1200px) +{ + #c2c3 + { + flex-direction: column; + } + #c3 + { + padding-left: 15px; + } +} +@media (max-width: 800px) +{ + #main-container + { + flex-direction: column; + } +} #radio-and-antenna { display: flex; flex-direction: column; } -#mesh-summary -{ -} #tunnels { display: flex;