Daniel Perelman
b69b21d518
* Add flag for private voting. * Always show numbers after a vote. * Add vote totals to history table and respect private voting flag. * Make votes no longer private once game is over.
38 lines
1000 B
HTML
38 lines
1000 B
HTML
{% extends "in_game.html" %}
|
|
|
|
{% block game_content %}
|
|
<div class="mission-phase">
|
|
<h2>Mission Phase</h2>
|
|
|
|
<p>
|
|
The vote has passed (<b class="approve">{{ vote.accepts }}</b>-<b class="reject">{{ vote.rejects }}</b>).
|
|
You have been chosen to go on the mission.
|
|
The following players are on the mission:
|
|
<ul id="chosen-for-mission">
|
|
{% for chosen_player in chosen %}
|
|
<li>{{ chosen_player.name }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</p>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<div class="button-container">
|
|
{% if swap_buttons %}
|
|
{% block fail-button %}{% endblock %}
|
|
{% block pass-button %}{% endblock %}
|
|
{% else %}
|
|
{% block pass-button-2 %}{% endblock %}
|
|
{% block fail-button-2 %}{% endblock %}
|
|
{% endif %}
|
|
</div>
|
|
</form>
|
|
|
|
{% if mission_action %}
|
|
<p>
|
|
You are submitting: {{ mission_action }}
|
|
</p>
|
|
{% endif %}
|
|
</div>
|
|
{% endblock %}
|