thebadspace/templates/front/listing.twig

24 lines
661 B
Twig
Raw Normal View History

{% extends "base/frame.twig" %}
{% block stylesheets %}
<link rel="stylesheet" type="text/css" href="/assets/css/front/start.css?=sdfsdf">
{% endblock %}
{% block main %}
<section role="listings">
<h1>The Bad Space Listings</h1>
<h2>Page
{{ options.currentPage }}
of
{{ options.list.total }}</h2>
{% for location in options.list.locations %}
<a href="/location/{{ location.uuid }}">
<label>{{ location.id }}</label>
{{ location.name }}</a>
<br/>
{% endfor %}
<a href="/listings/page/{{ options.prevPage }}">Previous</a>
<a href="/listings/page/{{ options.nextPage }}">Next</a>
</section>
{% endblock %}