diff --git a/src/apps/epic/models.py b/src/apps/epic/models.py index eb33134..fde5edf 100644 --- a/src/apps/epic/models.py +++ b/src/apps/epic/models.py @@ -15,7 +15,7 @@ class Room(models.Model): OPEN = "OPEN" RENEWAL_DUE = "RENEWAL_DUE" GATE_STATUS_CHOICES = [ - (GATHERING, "Gathering"), + (GATHERING, "GATHERING GAMERS"), (OPEN, "Open"), (RENEWAL_DUE, "Renewal Due"), ] diff --git a/src/functional_tests/test_gatekeeper.py b/src/functional_tests/test_gatekeeper.py index c3d8256..20949b2 100644 --- a/src/functional_tests/test_gatekeeper.py +++ b/src/functional_tests/test_gatekeeper.py @@ -38,7 +38,7 @@ class GatekeeperTest(FunctionalTest): # 4. Page shows room name, GATHERING status body = self.browser.find_element(By.TAG_NAME, "body") self.assertIn("Test Room", body.text) - self.assertIn("GATHERING", body.text) + self.assertIn("GATHERING GAMERS", body.text) # 5. Six token slots are visible slots = self.browser.find_elements(By.CSS_SELECTOR, ".gate-slot") self.assertEqual(len(slots), 6) diff --git a/src/static_src/scss/_room.scss b/src/static_src/scss/_room.scss index b271825..66c6222 100644 --- a/src/static_src/scss/_room.scss +++ b/src/static_src/scss/_room.scss @@ -38,11 +38,23 @@ $gate-line: 2px; .gate-header { text-align: center; h1 { margin: 0; } - .gate-status { + .gate-status-wrap { + display: flex; + justify-content: center; + align-items: baseline; opacity: 0.5; font-size: 0.75em; text-transform: uppercase; letter-spacing: 0.15em; + + .status-dots { + display: inline-flex; + span { + display: inline-block; + width: 0.5em; + text-align: center; + } + } } } @@ -88,11 +100,19 @@ $gate-line: 2px; height: 100%; background: transparent; border: none; + box-shadow: + 0.05rem 0.05rem 0.5rem rgba(0, 0, 0, 1), + ; font-size: 0; cursor: pointer; &:hover { - background: rgba(var(--terUser), 0.15); + background: rgba(var(--quaUser), 0.15); + box-shadow: + -0.1rem -0.1rem 1rem rgba(var(--ninUser), 1), + -0.1rem -0.1rem 0.25rem rgba(0, 0, 0, 1), + 0.05rem 0.05rem 0.5rem rgba(0, 0, 0, 1), + ; } } } diff --git a/src/templates/apps/gameboard/_partials/_gatekeeper.html b/src/templates/apps/gameboard/_partials/_gatekeeper.html index 9bb2428..0aae1ef 100644 --- a/src/templates/apps/gameboard/_partials/_gatekeeper.html +++ b/src/templates/apps/gameboard/_partials/_gatekeeper.html @@ -8,7 +8,26 @@