From bc78d2c470ec5bd9330a9b291c7afe4887851782 Mon Sep 17 00:00:00 2001 From: Disco DeDisco Date: Tue, 24 Mar 2026 18:40:16 -0400 Subject: [PATCH] offloaded templates/core/_partials/_forthcoming.html to inject in any applet or other feature under construction; used immediately in Contacts billboard applet; styles updated accordingly --- src/functional_tests/test_billboard.py | 2 +- src/static_src/scss/_base.scss | 10 ++++++++++ .../_partials/_applet-billboard-my-contacts.html | 2 +- src/templates/core/_partials/_forthcoming.html | 1 + 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 src/templates/core/_partials/_forthcoming.html diff --git a/src/functional_tests/test_billboard.py b/src/functional_tests/test_billboard.py index 257a639..28331da 100644 --- a/src/functional_tests/test_billboard.py +++ b/src/functional_tests/test_billboard.py @@ -98,7 +98,7 @@ class BillboardScrollTest(FunctionalTest): self.assertIn("deposits a Free Token for slot 2 (7 days)", scroll.text) # Role selection event is rendered as prose - self.assertIn("starts as Player", scroll.text) + self.assertIn("elects to start as Player", scroll.text) # ------------------------------------------------------------------ # # Test 3 — current user's events are right-aligned; others' are left # diff --git a/src/static_src/scss/_base.scss b/src/static_src/scss/_base.scss index 8fb37c2..2b049d5 100644 --- a/src/static_src/scss/_base.scss +++ b/src/static_src/scss/_base.scss @@ -439,6 +439,16 @@ body { } } +.forthcoming { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + text-align: center; + font-style: italic; + opacity: 0.6; +} + #id_guard_portal { display: none; position: fixed; diff --git a/src/templates/apps/billboard/_partials/_applet-billboard-my-contacts.html b/src/templates/apps/billboard/_partials/_applet-billboard-my-contacts.html index c8a2564..1568ad8 100644 --- a/src/templates/apps/billboard/_partials/_applet-billboard-my-contacts.html +++ b/src/templates/apps/billboard/_partials/_applet-billboard-my-contacts.html @@ -3,5 +3,5 @@ style="--applet-cols: {{ entry.applet.grid_cols }}; --applet-rows: {{ entry.applet.grid_rows }};" >

Contacts

-

[Feature forthcoming]

+ {% include "core/_partials/_forthcoming.html" %} diff --git a/src/templates/core/_partials/_forthcoming.html b/src/templates/core/_partials/_forthcoming.html new file mode 100644 index 0000000..e8c5806 --- /dev/null +++ b/src/templates/core/_partials/_forthcoming.html @@ -0,0 +1 @@ +

[Feature forthcoming]