26 lines
963 B
HTML
26 lines
963 B
HTML
|
|
<div class="gate-modal" role"dialog" aria-label="Gatekeeper">
|
||
|
|
<header class="gate-header">
|
||
|
|
<h1>{{ room.name }}</h1>
|
||
|
|
<span class="gate-status">{{ room.gate_status }}</span>
|
||
|
|
</header>
|
||
|
|
|
||
|
|
<div class="gate-slots">
|
||
|
|
{% for slot in slots %}
|
||
|
|
<div
|
||
|
|
class="gate-slot{% if slot.status == 'EMPTY' %} empty{% endif %}"
|
||
|
|
data-slot="{{ slot.slot_number }}"
|
||
|
|
>
|
||
|
|
<span class="slot-number">{{ slot.slot_number }}</span>
|
||
|
|
{% if slot.gamer %}
|
||
|
|
<span class="slot-gamer">{{ slot.gamer.email }}</span>
|
||
|
|
|
||
|
|
{% else %}
|
||
|
|
<span class="slot-gamer">empty</span>
|
||
|
|
{% endif %}
|
||
|
|
{% if slot.slot_number == 1 and request.user == room.owner %}
|
||
|
|
<button class="drop-token-btn">Drop Token</button>
|
||
|
|
{% endif %}
|
||
|
|
</div>
|
||
|
|
{% endfor %}
|
||
|
|
</div>
|
||
|
|
</div>
|