Re-open the barber vacancy and stop repeat submits on manage-booking

The barber ad (hidden 2026-10-06) is back on the listing page and its
redirect is removed, now that the salon is hiring a barber again.

On the guest manage-booking page, "Bekreft endring" and "Avbestill"
could be clicked repeatedly while the slow POST (Google Calendar +
e-mails) was in flight, sending the request again each time. Both
forms now lock after the first submit, mirroring the booking form, and
the page reloads when restored from the back-forward cache so the
buttons are usable again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ubuntu
2026-11-23 10:32:45 +00:00
co-authored by Claude Opus 5.5
parent 3440188c0f
commit e3ba51b8e5
3 changed files with 37 additions and 7 deletions
-2
View File
@@ -94,14 +94,12 @@
<div class="positions">
<!-- Barber position hidden 2026-10-06 (not needed for now). Uncomment to re-open, and remove the barber.html redirect in /.htaccess.
<div class="position-card card-barber">
<span class="badge">BARBER</span>
<h3>Barber</h3>
<p>Er du en dyktig barber? Ansettelse, stolleie eller provisjonsbasert samarbeid.</p>
<a href="barber.html" class="lesmer">Les mer</a>
</div>
-->
<div class="position-card card-beauty">
<span class="badge">BEAUTY</span>