You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
1.4 KiB

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <header>
  4. <div class="phase">{{ phase }} phase of turn #{{ turn }}</div>
  5. <div class="fear_summary">
  6. <span class="available_fear_cards">{{ available_fear_cards }}</span>
  7. fear cards available;
  8. <span class="fear_to_next_card">{{ fear_to_next_card }}</span>
  9. fear to next fear card;
  10. players have generated
  11. <span class="fear_this_phase">{{ fear_this_phase }}</span>
  12. fear this phase
  13. </div>
  14. <div class="access-code">
  15. <span class="header">Access Code:</span> <a href="{% url 'qr_code' access_code=access_code %}" target="_blank">{{ access_code }}</a>
  16. </div>
  17. </header>
  18. <div class="players">
  19. {% for order, player in players.items %}
  20. <div class="player player-{{ player.order }}">
  21. <div class="player-summary">
  22. {% if player.ready %}(ready){% else %}(waiting...){% endif %}
  23. (<span class="player-total-fear player-{{ player.order }}-total-fear">{{ player.total_fear }}</span> fear)
  24. {{ player.name }} ({{ player.get_spirit_name }})
  25. </div>
  26. <div class="player-effects">
  27. {% for effect_num, effect in player.fear.items %}
  28. <div class="effect effect-{{ effect_num }}">
  29. Effect #{{ effect_num|add:1 }}
  30. {{ effect.pure_fear }} fear
  31. {{ effect.towns }} towns
  32. {{ effect.cities }} cities
  33. </div>
  34. {% endfor %}
  35. </div>
  36. </div>
  37. {% endfor %}
  38. </div>
  39. {% endblock %}