-
{% endblock %}
{% block content %}
- {% with messages = get_flashed_messages() %}
- {% if messages %}
- {% for message in messages %}
-
{{ message }}
- {% endfor %}
- {% endif %}
- {% endwith %}
+ {% with messages = get_flashed_messages() %}
+ {% if messages %}
+ {% for message in messages %}
+
{{ message }}
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
- {# application content needs to be provided in the app_content block #}
- {% block app_content %}{% endblock %}
+ {# application content needs to be provided in the app_content block #}
+ {% block app_content %}{% endblock %}
{% endblock %}
{% block scripts %}
- {{ super() }}
- {{ moment.include_moment() }}
+{{ super() }}
+{{ moment.include_moment() }}
{% endblock %}
\ No newline at end of file
diff --git a/app/templates/game_bunny_dashboard.html b/app/templates/game_bunny_dashboard.html
index 32a4729..b7b5205 100644
--- a/app/templates/game_bunny_dashboard.html
+++ b/app/templates/game_bunny_dashboard.html
@@ -60,21 +60,22 @@
{% endblock %}
diff --git a/app/templates/game_hunter_dashboard.html b/app/templates/game_hunter_dashboard.html
index 9c9e59a..4641f31 100644
--- a/app/templates/game_hunter_dashboard.html
+++ b/app/templates/game_hunter_dashboard.html
@@ -9,81 +9,91 @@
{% block player_app_content %}
-
+
-
-
Bunnies
-
-
-
-
- Player Name |
- Times Caught |
- Last location |
- |
-
-
-
- {% set player = current_user.player_in(game) %}
- {% for bunny in game.bunnies() %}
-
- {{ bunny.user.name }} |
- {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'accepted') |list|length}} /
- {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'denied') |list|length}} /
- {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'none') |list|length}}
- |
- {% with location = bunny.last_location(offset=hunter_delay) %}
- {% if location %}{{ moment(location.timestamp).fromNow()}}
- {% else %}
- {{ location }}
- {% endif %}
- {% endwith %} |
-
-
-
-
- |
-
- {% endfor %}
-
-
-
- (Accepted/Denied/Not reviewed)
-
+
+
Bunnies
+
+
+
+
+ Player Name |
+ Times Caught |
+ Last location |
+ |
+
+
+
+ {% set player = current_user.player_in(game) %}
+ {% for bunny in game.bunnies() %}
+
+ {{ bunny.user.name }} |
+ {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'accepted') |list|length}}
+ /
+ {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'denied') |list|length}}
+ /
+ {{ bunny.player_caught_by_players | selectattr('catching_player', '==', player) | selectattr('review.name', '==', 'none') |list|length}}
+ |
+ {% with location = bunny.last_location(offset=hunter_delay) %}
+ {% if location %}{{ moment(location.timestamp).fromNow()}}
+ {% else %}
+ {{ location }}
+ {% endif %}
+ {% endwith %} |
+
+
+
+
+ |
+
+ {% endfor %}
+
+
+
+ (Accepted/Denied/Not
+ reviewed)
+
+
+
+
+ {% include '_game_player_info.html' %}
-
-
- {% include '_game_player_info.html' %}
-
{% endblock %}
{% block scripts %}
{{ super() }}
-
-{% endblock %}
+{% endblock %}
\ No newline at end of file
diff --git a/app/templates/game_owner_dashboard.html b/app/templates/game_owner_dashboard.html
index f12b2cc..3fb9212 100644
--- a/app/templates/game_owner_dashboard.html
+++ b/app/templates/game_owner_dashboard.html
@@ -101,21 +101,23 @@