{% extends 'base.html' %} {% block head %} {{ super() }} {% endblock %} {% block app_content %}

{{ game.name }} Dashboard

{% if game.unreviewed_bunny_photos() %} {% endif %}

Start Time: {% if game.start_time %}{{ moment(game.start_time).format('DD-MM-YYYY, HH:mm') }}{% else %}None{% endif %}

End Time: {% if game.end_time %}{{ moment(game.end_time).format('DD-MM-YYYY, HH:mm') }}{% else %}None{% endif %}

State: {{ game.get_state().name.title() }}

Players:

Add player

{% for player in game.players %} {% endfor %}
Player Name Role Objectives found Bunnies Caught Been Caught Last location
{{ player.user.name }} {{ player.role.name }} {{ player.found_objectives | list | length }} {{ player.accepted_caught_players() | list | length }} {{ player.accepted_caught_by_players() | list | length }}

{% with location = player.last_location() %} {% if location %}{{ moment(location.timestamp).fromNow()}} {% else %} {{ location }} {% endif %} {% endwith %}

Objectives:

Add new objective

{% if game.objectives %}
{% for objective in game.objectives %} {% endfor %}
Objective Name Latitude Longitude Times found Hash
{{ objective.name }} {{ objective.latitude }} {{ objective.longitude }} {{ objective.found_by|length }} {{ objective.hash }}
{% endif %} {% endblock %} {% block scripts %} {{ super() }} {% endblock %}