Re-added battlestation to roci config
This commit is contained in:
@@ -48,27 +48,12 @@
|
||||
:halign "start"
|
||||
:space-evenly false
|
||||
:spacing 0
|
||||
(label :class "offline"
|
||||
:visible {network--data
|
||||
["network"]
|
||||
[device]
|
||||
["offline"]
|
||||
}
|
||||
:text "offline")
|
||||
(label :visible {network--data
|
||||
["network"]
|
||||
[device]
|
||||
["connecting"]
|
||||
}
|
||||
:class "highlight"
|
||||
:text "connecting...")
|
||||
(label :visible {network--data
|
||||
["network"]
|
||||
[device]
|
||||
["online"]
|
||||
}
|
||||
:class "special"
|
||||
:text "${network--data['wifi']['ssid']}")))
|
||||
(label :class "highlight"
|
||||
:visible {!device.online}
|
||||
:text "offline")
|
||||
(label :class "special"
|
||||
:visible {device.online}
|
||||
:text {network--data.wifi.ssid})))
|
||||
|
||||
(defwidget network--lan
|
||||
[device]
|
||||
@@ -76,7 +61,7 @@
|
||||
:halign "start"
|
||||
:space-evenly false
|
||||
:spacing 0
|
||||
(label :class "offline"
|
||||
(label :class "highlight"
|
||||
:visible {!device.online}
|
||||
:text "offline")
|
||||
(label :visible {device.online}
|
||||
@@ -127,9 +112,29 @@
|
||||
:halign "center"
|
||||
:space-evenly false
|
||||
:spacing 10
|
||||
(network--lan :device {network--data.default_interface}))
|
||||
(network--lan :device {network--data.default_interface}
|
||||
:visible {!network--data.wifi.default}))
|
||||
"communications")))
|
||||
|
||||
(defwidget wifi []
|
||||
(box :orientation "v"
|
||||
:halign "start"
|
||||
:space-evenly false
|
||||
:spacing 0
|
||||
:visible {network--data != ''}
|
||||
(box :orientation "h"
|
||||
:halign "center"
|
||||
:space-evenly false
|
||||
:spacing 10
|
||||
(label :class "offline"
|
||||
:text "offline"
|
||||
:visible {!network--data.wifi.connected})
|
||||
(label :class "special"
|
||||
:text {network--data.wifi.ssid}
|
||||
:visible {network--data.wifi.connected}))
|
||||
"network"))
|
||||
|
||||
|
||||
(defwidget network--public-ip
|
||||
[]
|
||||
(centerbox :orientation "h"
|
||||
@@ -325,6 +330,22 @@
|
||||
(label :text {network--data.gateway}
|
||||
:class "special"
|
||||
:visible {network--data.have_gateway})))
|
||||
(centerbox :orientation "h"
|
||||
:halign "start"
|
||||
:spacing 10
|
||||
:width 200
|
||||
:space-evenly false
|
||||
(box :halign "start"
|
||||
:class "nebula"
|
||||
"Wireless:")
|
||||
""
|
||||
(box :halign "end"
|
||||
(label :text "Offline"
|
||||
:class "offline nebula"
|
||||
:visible {!network--data.wifi.connected})
|
||||
(label :text {network--data.wifi.ssid}
|
||||
:class "special"
|
||||
:visible {network--data.wifi.connected})))
|
||||
(centerbox :orientation "h"
|
||||
:halign "start"
|
||||
:class "nebula"
|
||||
|
||||
Reference in New Issue
Block a user