All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
- .btn-xl removed; .btn-primary absorbs 4rem sizing (same as PICK SIGS/PICK ROLES) - Landscape navbar .btn-primary: 3rem → 4rem to match base; XL stays 4rem (consistent) - _button-pad.scss XL: base .btn ×1.2 (2.4rem); .btn-xl block deleted - _tray.scss XL (≥1800px): portrait-style tray (slides from right, z-95) - tray.js: _isLandscape() returns false at ≥1800px; portrait code paths run throughout - Footer sidebar: background-color added so opaque footer masks tray sliding behind it - Copyright .footer-container: bottom → top in landscape sidebar - #id_room_menu: right: 2.5rem override in _room.scss XL block (cascade fix) - navbar-text XL: 0.65rem × 1.2 = 0.78rem - All landscape media queries: max-width: 1440px cutoff removed (already done prior) - btn-xl class stripped from all 5 templates; test_navbar.py assertion updated Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
32 lines
2.0 KiB
HTML
32 lines
2.0 KiB
HTML
<div class="position-strip">
|
|
{% for pos in gate_positions %}
|
|
<div class="gate-slot{% if pos.slot.status == 'EMPTY' %} empty{% elif pos.slot.status == 'FILLED' %} filled{% elif pos.slot.status == 'RESERVED' %} reserved{% endif %}{% if pos.role_assigned %} role-assigned{% endif %}"
|
|
data-slot="{{ pos.slot.slot_number }}">
|
|
<span class="slot-number">{{ pos.slot.slot_number }}</span>
|
|
<span class="slot-gamer">{% if pos.slot.gamer %}{{ pos.slot.gamer.email }}{% else %}empty{% endif %}</span>
|
|
{% if pos.slot.status == 'RESERVED' and pos.slot.gamer == request.user %}
|
|
<form method="POST" action="{% url 'epic:confirm_token' room.id %}">
|
|
{% csrf_token %}
|
|
{% if is_last_slot %}
|
|
<button type="submit" class="btn btn-primary">PICK ROLES</button>
|
|
{% else %}
|
|
<button type="submit" class="btn btn-confirm">OK</button>
|
|
{% endif %}
|
|
</form>
|
|
{% elif carte_active and pos.slot.status == 'EMPTY' and pos.slot.slot_number == carte_next_slot_number %}
|
|
<form method="POST" action="{% url 'epic:confirm_token' room.id %}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="slot_number" value="{{ pos.slot.slot_number }}">
|
|
<button type="submit" class="drop-token-btn btn btn-confirm" aria-label="Fill slot {{ pos.slot.slot_number }}">OK</button>
|
|
</form>
|
|
{% elif carte_active and pos.slot.status == 'FILLED' and pos.slot.slot_number == carte_nvm_slot_number %}
|
|
<form method="POST" action="{% url 'epic:release_slot' room.id %}">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="slot_number" value="{{ pos.slot.slot_number }}">
|
|
<button type="submit" class="slot-release-btn btn btn-cancel">NVM</button>
|
|
</form>
|
|
{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|