|
|
|
@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@
|
|
|
|
|
{% block app_content %} |
|
|
|
|
<h1>{{ game.name }} Dashboard</h1> |
|
|
|
|
|
|
|
|
|
<h2>Objectives:</h2> |
|
|
|
|
<h2>Objective Locations:</h2> |
|
|
|
|
{% if game.objectives %} |
|
|
|
|
<div class="table-responsive"> |
|
|
|
|
<table class="table"> |
|
|
|
@ -18,9 +18,7 @@
@@ -18,9 +18,7 @@
|
|
|
|
|
<th scope="col">Objective Name</th> |
|
|
|
|
<th scope="col">Latitude</th> |
|
|
|
|
<th scope="col">Longitude</th> |
|
|
|
|
<th scope="col">Times found</th> |
|
|
|
|
<th scope="col">Hash</th> |
|
|
|
|
<th scope="col"></th> |
|
|
|
|
<th scope="col">Found</th> |
|
|
|
|
</tr> |
|
|
|
|
</thead> |
|
|
|
|
<tbody> |
|
|
|
@ -29,11 +27,7 @@
@@ -29,11 +27,7 @@
|
|
|
|
|
<td>{{ objective.name }}</td> |
|
|
|
|
<td>{{ objective.latitude }}</td> |
|
|
|
|
<td>{{ objective.longitude }}</td> |
|
|
|
|
<td>{{ objective.found_by|length }}</td> |
|
|
|
|
<td><a href="{{ url_for('main.objective', objective_hash = objective.hash) }}">{{ objective.hash }}</a></td> |
|
|
|
|
<td><a href="{{ url_for('main.delete_objective', objective_hash = objective.hash) }}"> |
|
|
|
|
<button class="btn btn-danger">Delete</button></a> |
|
|
|
|
</td> |
|
|
|
|
<td>{{ 'Yes' if current_user.player_in(game) in objective.objective_found_by else 'No' }}</td> |
|
|
|
|
</tr> |
|
|
|
|
{% endfor %} |
|
|
|
|
</tbody> |
|
|
|
|