covered some test lacunae; gatekeeper now waits for +6 gamers to commit tokens to unblock game room
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<div class="gate-modal" role"dialog" aria-label="Gatekeeper">
|
||||
<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>
|
||||
|
||||
@@ -7,10 +7,17 @@
|
||||
<div class="room-table"></div>
|
||||
</div>
|
||||
|
||||
{% if room.gate_status == "GATHERING" %}
|
||||
<div class="gate-overlay">
|
||||
{% include "apps/gameboard/_partials/_gatekeeper.html" %}
|
||||
<div
|
||||
id="id_gate_wrapper"
|
||||
hx-get="{% url 'epic:gate_status' room.id %}"
|
||||
hx-trigger="every 3s"
|
||||
hx-swap="outerHTML"
|
||||
>
|
||||
{% if room.gate_status == "GATHERING" %}
|
||||
<div class="gate-overlay">
|
||||
{% include "apps/gameboard/_partials/_gatekeeper.html" %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
{% endblock content %}
|
||||
Reference in New Issue
Block a user