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

{{ game.name }} Dashboard

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.caught_players | list | length }} {{ player.caught_by_players | list | length }} {% with location = player.last_location() %} {% if location %}{{ moment(location.timestamp).fromNow()}}: {% endif %} {{ location }} {% 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() }} {{ moment.include_moment() }} {% endblock %}