webui: improve mobile temperature config layout
This commit is contained in:
@@ -526,3 +526,15 @@ def test_embedded_webui_main_pages_are_mutually_exclusive():
|
||||
assert 'battery:"batteryPage"' in source
|
||||
assert 'config:"configPage"' in source
|
||||
assert 'showConfigSubtab("general")' in source
|
||||
|
||||
|
||||
def test_embedded_webui_mobile_temperature_config_cards():
|
||||
source = firmware_source()
|
||||
|
||||
assert "/* Mobile temperature config layout */" in source
|
||||
assert "tempConfigCard" in source
|
||||
assert "tempConfigControls" in source
|
||||
assert "Temp Slot ${i+1}" in source
|
||||
assert "Clear Assignment" in source
|
||||
assert "Weather Badge" in source
|
||||
assert "@media(max-width:700px)" in source
|
||||
|
||||
Reference in New Issue
Block a user