50fc32c577
- Users can delete their own bookings (confirmation page) - Crew page tree (/suff/staff/): book/pay/delete for any user, register new users, set/reset PINs - Anonymous walk-in user "anonym": bookings auto-create matching cash payment so balance stays at 0 - Self-signup: unknown name creates account (PIN required); known name without PIN and no activity allows claim (PIN required); known name without PIN but with activity blocks and points to bar crew - Crew-only PIN set/reset; no random PINs, PINs never displayed - Cyan .staff-target highlight on all crew pages - Updated suff.md with current feature state and open ideas Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
25 lines
847 B
HTML
25 lines
847 B
HTML
{% extends "suff/base.html" %}
|
|
|
|
{% block content %}
|
|
<p class="muted">Crew-Ansicht</p>
|
|
<h2>PIN setzen für <span class="staff-target">{{ tab_user.username }}</span></h2>
|
|
|
|
<p>Neue 3-stellige PIN eingeben. Eine bestehende PIN wird überschrieben.</p>
|
|
|
|
{% if error %}<p class="error">{{ error }}</p>{% endif %}
|
|
|
|
<form method="post" action="{% url 'suff:staff_pin_reset' tab_user.username %}">
|
|
{% csrf_token %}
|
|
<label>
|
|
Neue PIN
|
|
<input type="text" name="pin" inputmode="numeric" pattern="[0-9]{3}"
|
|
maxlength="3" minlength="3" required autofocus autocomplete="off" />
|
|
</label>
|
|
<button type="submit" class="btn-primary">PIN speichern</button>
|
|
</form>
|
|
|
|
<div class="logout-form">
|
|
<a href="{% url 'suff:staff_user' tab_user.username %}" class="link-btn link-btn-secondary">Zurück</a>
|
|
</div>
|
|
{% endblock %}
|