haldis/app/templates/locations.html
Feliciaan De Palmenaer ce0fe33c0e Show prices for locations
For @procrat
2016-08-01 23:40:04 +02:00

26 lines
828 B
HTML

{% 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>
<td>{{ loc.address }}<td>
<td><a href="{{ loc.website}}"><span class="glyphicon glyphicon-link"></span></a></td>
</tr>
{%- endfor %}
</tbody>
</table>
</div>
</div>
{% endblock %}