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

{{ game.name }} Dashboard

Players:

{% for player in game.players %} {% for gameplayer in player.player_games if gameplayer.game == game %} {% endfor %} {% endfor %}
Player Name Role Objectives found Bunnies Caught Been Caught Last location
{{ player.name }}{{ gameplayer.role.name }}{{ player.found_objectives | selectattr('game', '==', game)|list|length}} {{ player.caught_players | selectattr('game', '==', game)|list|length}} {{ player.caught_by_players | selectattr('game', '==', game)|list|length}} {% with location = player.last_location(game) %} {% 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 %}