|
|
|
@ -9,7 +9,7 @@
@@ -9,7 +9,7 @@
|
|
|
|
|
|
|
|
|
|
{% block app_content %} |
|
|
|
|
|
|
|
|
|
{% if objective.hash is none %} |
|
|
|
|
{% if not objective.hash %} |
|
|
|
|
<h1>Add Objective</h1> |
|
|
|
|
{% elif objective.name == '' %} |
|
|
|
|
<h1>Objective</h1> |
|
|
|
@ -34,9 +34,11 @@
@@ -34,9 +34,11 @@
|
|
|
|
|
<button class="btn btn-danger">Delete</button></a> |
|
|
|
|
{% endif %} |
|
|
|
|
</div> |
|
|
|
|
{% if objective.hash %} |
|
|
|
|
<div class="row"> |
|
|
|
|
<img src="{{ url_for('objective_qrcode', objective_hash=objective.hash) }}" alt="qr_code_failed", width="100%"> |
|
|
|
|
</div> |
|
|
|
|
{% endif %} |
|
|
|
|
{% else %} |
|
|
|
|
<h2>latitude: {{ objective.latitude }}</h2> |
|
|
|
|
<h2>longitude: {{ objective.longitude }}</h2> |
|
|
|
|