diff --git a/mobile/templates/mobile/_calendar_referee_row.html b/mobile/templates/mobile/_calendar_referee_row.html index 1decaf9..34b2b3b 100644 --- a/mobile/templates/mobile/_calendar_referee_row.html +++ b/mobile/templates/mobile/_calendar_referee_row.html @@ -10,9 +10,11 @@ on their own behalf, not something a parent does for a child. Expects ``row`` ({event, referee_signup}) in scope. Accept/Decline are - two small forms, not a single multi-button one, so hx-boost="false" can - sit on each without a formaction/htmx-boost mismatch (see event_detail. - html's own top-of-file comment for that failure mode). + two small forms, not a single multi-button one -- and, unlike this + app's RSVP forms, boosted (no hx-boost="false"): nothing here is + Alpine-owned/toggled, so there's no htmx/Alpine conflict to dodge, and a + boosted POST avoids the jarring full-page reload a plain form submit + would cause on a page the user is mid-scroll on. {% endcomment %}
@@ -35,12 +37,12 @@ {% trans "Confirmed" %} {% else %}
-
+ {% csrf_token %}
-
+ {% csrf_token %} diff --git a/mobile/templates/mobile/base.html b/mobile/templates/mobile/base.html index f6511ff..4b7379f 100644 --- a/mobile/templates/mobile/base.html +++ b/mobile/templates/mobile/base.html @@ -23,6 +23,14 @@ the OLD shell's class/attributes in place under the NEW shell's content. See coach/base.html's own comment for the same rule mirrored the other direction. + + The page itself scrolls (body/document), not a boxed-in
-- header + and tab bar are sticky (top-0/bottom-0) rather than the earlier fixed- + height-shell-with-an-inner-overflow-auto-region approach, which read as + two separate scrollable areas nested inside each other (most noticeable + on Calendar's long agenda). A side benefit: htmx's boosted navigation + scrolls the window back to top by default, which now actually resets + what the user sees -- with the old inner
scroll it didn't. {% endcomment %} @@ -62,8 +70,8 @@ {% block extra_head %}{% endblock extra_head %} - -
+ +
-
+
{% if messages %}
@@ -109,7 +117,7 @@
-