diff --git a/app/templates/_game_player_info.html b/app/templates/_game_player_info.html new file mode 100644 index 0000000..b1d512c --- /dev/null +++ b/app/templates/_game_player_info.html @@ -0,0 +1,18 @@ +
My Role | +{{ current_user.}} | +
---|---|
Start Time | +10:00 | +
End Time | +18:00 | +
Player Name | +Times Caught | +Last location | +
---|---|---|
{{ player.name }} | +{{ player.caught_by_players | selectattr('game', '==', game)|list|length}} | +{% with location = player.last_location(game) %} + {% if location %}{{ moment(location.timestamp).fromNow()}}: {% endif %} + {{ location }} + {% endwith %} | +
Player Name | +Role | +Objectives found | +Bunnies Caught | +Been Caught | +Last location | ++ |
---|---|---|---|---|---|---|
{{ player.name }} | + {% for gameplayer in player.player_games if gameplayer.game == game %} +{{ gameplayer.role.name }} | + {% endfor %} +{{ 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 %} | ++ + | +
Objective Name | +Latitude | +Longitude | +Times found | +Hash | ++ |
---|---|---|---|---|---|
{{ objective.name }} | +{{ objective.latitude }} | +{{ objective.longitude }} | +{{ objective.found_by|length }} | +{{ objective.hash }} | ++ + | +