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