mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Migrating Controller from port 8087 to 80 so that it is more discoverable. Reformatting Controller dashboard to make header at the top. Reformatting navigation bar to handle the new links which prevented Admin from being visible in some screens.
This commit is contained in:
parent
c316a178f9
commit
e0324ce0fc
33 changed files with 302 additions and 407 deletions
|
|
@ -54,11 +54,6 @@ class TestDashboardEndpoint:
|
|||
assert b"Controller" in response.content
|
||||
assert b"WROLPi" in response.content
|
||||
|
||||
def test_dashboard_contains_version(self, test_client):
|
||||
"""Dashboard should contain version."""
|
||||
response = test_client.get("/")
|
||||
assert __version__.encode() in response.content
|
||||
|
||||
def test_dashboard_contains_status_cards(self, test_client):
|
||||
"""Dashboard should contain status cards."""
|
||||
response = test_client.get("/")
|
||||
|
|
@ -123,13 +118,6 @@ class TestDashboardEndpoint:
|
|||
tbody_content = tbody_match.group(1)
|
||||
assert 'id="boot-' not in tbody_content
|
||||
|
||||
def test_dashboard_has_upgrade_banner_element(self, test_client):
|
||||
"""Dashboard should have upgrade banner element for upgrade mode."""
|
||||
response = test_client.get("/")
|
||||
content = response.text
|
||||
assert 'id="upgrade-banner"' in content
|
||||
assert "Upgrade in Progress" in content
|
||||
|
||||
def test_dashboard_has_mount_modal(self, test_client):
|
||||
"""Dashboard should have mount modal for disk mounting."""
|
||||
response = test_client.get("/")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue