mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Front end clean up continued
Cleaned up the front end structure a bit more so the layout is unified across pages, excluding the index which will serve as the main search page, which has it's own style. Location page was also added to display details of instances listed in the database. It's mostly just informational so it will be kept simple.
This commit is contained in:
@ -8,24 +8,27 @@
|
||||
<div role="index-wrapper">
|
||||
<div role="index-search">
|
||||
<form action="{{ path('index') }}" method="post" enctype="multipart/form-data">
|
||||
<input type="text" name="index_search" value="" placeholder="Take a look"/>
|
||||
<input type="text" name="index_search" value="" placeholder="SEARCH ME!"/>
|
||||
<button>
|
||||
<i class="ti ti-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
{{ options.count }}
|
||||
Bad Spaces tracked. Shot by
|
||||
<a href="https://unsplash.com/photos/935EcPU1pBI">Ussama Azam</a>
|
||||
|
||||
</div>
|
||||
{% if options.items is defined %}
|
||||
<div role="index-results">
|
||||
<h3>Found</h3>
|
||||
|
||||
|
||||
<div role="index-results">
|
||||
{% if options.items is defined %}
|
||||
<h1>Found Stuff for:
|
||||
{{ options.terms }}</h1>
|
||||
{% for item in options.items %}
|
||||
<a class="search-link" href="/location/{{ item.uuid }}">{{ item.name }}</a><br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{{ options.count }}
|
||||
Bad Spaces tracked. Shot by
|
||||
<a href="https://unsplash.com/photos/935EcPU1pBI">Ussama Azam</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
@ -5,9 +5,17 @@
|
||||
|
||||
{% block main %}
|
||||
<section role="location">
|
||||
<h1>About
|
||||
{{ options.location.name }}</h1>
|
||||
|
||||
This is a location
|
||||
<h1>{{ options.location.name }}</h1>
|
||||
<h2>Description</h2>
|
||||
<p>{{ options.location.description }}</p>
|
||||
<h3>Snaps</h3>
|
||||
{% for image in options.location.images %}
|
||||
<a target="_blank" href="/assets/images/examples/{{ image.path }}">
|
||||
<img src="/assets/images/examples/{{ image.path }}"/>
|
||||
</a>
|
||||
{% endfor %}
|
||||
<br/>
|
||||
<strong>TAGS:</strong>
|
||||
{{ options.location.tags }}
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
Reference in New Issue
Block a user