2016-08-01 23:40:04 +02:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% set active_page = "locations" -%}
|
|
|
|
|
|
|
|
{% import "utils.html" as util %}
|
|
|
|
|
|
|
|
{% block container %}
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-push-1 col-md-10 darker">
|
|
|
|
<h3>Locations</h3>
|
|
|
|
<table class="table table-hover table-condensed">
|
|
|
|
<thead>
|
|
|
|
<tr><th>Name</th><th>Address</th><th></th></tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
{% for loc in locations -%}
|
|
|
|
<tr>
|
|
|
|
<td><a href="{{ url_for('location', id=loc.id) }}">{{ loc.name }}</a></td>
|
2019-02-14 18:45:24 +01:00
|
|
|
<td>{{ loc.address }} {{ loc.telephone }}<td>
|
2016-08-01 23:40:04 +02:00
|
|
|
<td><a href="{{ loc.website}}"><span class="glyphicon glyphicon-link"></span></a></td>
|
|
|
|
</tr>
|
|
|
|
{%- endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|