monitoring(overview): force horizontal stat cards for climate/ups wrap

This commit is contained in:
Brad Stein 2026-04-12 22:11:40 -03:00
parent dc1f1cbb7c
commit 287c339aa0
5 changed files with 12 additions and 12 deletions

View File

@ -1499,7 +1499,7 @@ def build_overview():
], ],
links=link_to("atlas-power"), links=link_to("atlas-power"),
description="Per-UPS live snapshot: draw, discharge runtime, and status.", description="Per-UPS live snapshot: draw, discharge runtime, and status.",
orientation="vertical", orientation="horizontal",
wide_layout=False, wide_layout=False,
title_size=14, title_size=14,
value_size=24, value_size=24,
@ -1544,7 +1544,7 @@ def build_overview():
], ],
links=link_to("atlas-power"), links=link_to("atlas-power"),
description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.", description="Current tent values: Temp °C, Temp °F, Humidity, Pressure.",
orientation="vertical", orientation="horizontal",
wide_layout=False, wide_layout=False,
title_size=16, title_size=16,
value_size=28, value_size=28,
@ -1611,7 +1611,7 @@ def build_overview():
{"matcher": {"id": "byName", "options": "Interior"}, "properties": [{"id": "decimals", "value": 0}]}, {"matcher": {"id": "byName", "options": "Interior"}, "properties": [{"id": "decimals", "value": 0}]},
], ],
links=link_to("atlas-power"), links=link_to("atlas-power"),
orientation="vertical", orientation="horizontal",
wide_layout=False, wide_layout=False,
) )
) )
@ -3568,7 +3568,7 @@ def build_power_dashboard():
{"matcher": {"id": "byRegexp", "options": ".*Draw$"}, "properties": [{"id": "unit", "value": "watt"}]}, {"matcher": {"id": "byRegexp", "options": ".*Draw$"}, "properties": [{"id": "unit", "value": "watt"}]},
{"matcher": {"id": "byRegexp", "options": ".*Runtime$"}, "properties": [{"id": "unit", "value": "s"}]}, {"matcher": {"id": "byRegexp", "options": ".*Runtime$"}, "properties": [{"id": "unit", "value": "s"}]},
], ],
orientation="vertical", orientation="horizontal",
wide_layout=False, wide_layout=False,
title_size=14, title_size=14,
value_size=24, value_size=24,

View File

@ -1162,7 +1162,7 @@
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 14, "titleSize": 14,
@ -1348,7 +1348,7 @@
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 16, "titleSize": 16,
@ -1570,7 +1570,7 @@
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false "wideLayout": false
}, },
"links": [ "links": [

View File

@ -96,7 +96,7 @@
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 14, "titleSize": 14,

View File

@ -1171,7 +1171,7 @@ data:
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 14, "titleSize": 14,
@ -1357,7 +1357,7 @@ data:
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 16, "titleSize": 16,
@ -1579,7 +1579,7 @@ data:
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false "wideLayout": false
}, },
"links": [ "links": [

View File

@ -105,7 +105,7 @@ data:
"values": false "values": false
}, },
"textMode": "name_and_value", "textMode": "name_and_value",
"orientation": "vertical", "orientation": "horizontal",
"wideLayout": false, "wideLayout": false,
"text": { "text": {
"titleSize": 14, "titleSize": 14,