new migrations in apps.epic for .models additions, incl. Significator select order (= Start Role seat order), which cards of whom go into which deck, which are brought into Sig select; new select-sig urlpattern in .views; room.html supports this stage of game now
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
@@ -22,16 +22,28 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
{% for slot in room.gate_slots.all %}
|
||||
<div class="table-seat{% if slot.slot_number == active_slot %} active{% endif %}"
|
||||
data-slot="{{ slot.slot_number }}">
|
||||
<div class="seat-portrait">{{ slot.slot_number }}</div>
|
||||
<div class="seat-card-arc"></div>
|
||||
<span class="seat-label">
|
||||
{% if slot.gamer %}@{{ slot.gamer.username|default:slot.gamer.email }}{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% if room.table_status == "SIG_SELECT" and sig_seats %}
|
||||
{% for seat in sig_seats %}
|
||||
<div class="table-seat" data-role="{{ seat.role }}" data-slot="{{ seat.slot_number }}">
|
||||
<div class="seat-portrait">{{ seat.slot_number }}</div>
|
||||
<div class="seat-card-arc"></div>
|
||||
<span class="seat-label">
|
||||
{% if seat.gamer %}@{{ seat.gamer.username|default:seat.gamer.email }}{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% else %}
|
||||
{% for slot in room.gate_slots.all %}
|
||||
<div class="table-seat{% if slot.slot_number == active_slot %} active{% endif %}"
|
||||
data-slot="{{ slot.slot_number }}">
|
||||
<div class="seat-portrait">{{ slot.slot_number }}</div>
|
||||
<div class="seat-card-arc"></div>
|
||||
<span class="seat-label">
|
||||
{% if slot.gamer %}@{{ slot.gamer.username|default:slot.gamer.email }}{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
</div>
|
||||
<div id="id_inventory" class="room-inventory">
|
||||
<div id="id_inv_role_card">
|
||||
@@ -60,6 +72,14 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if room.table_status == "SIG_SELECT" and sig_cards %}
|
||||
<div id="id_sig_deck">
|
||||
{% for card in sig_cards %}
|
||||
<div class="sig-card" data-card-id="{{ card.id }}">{{ card.name }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if not room.table_status and room.gate_status != "RENEWAL_DUE" %}
|
||||
{% include "apps/gameboard/_partials/_gatekeeper.html" %}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user