-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsearch-results.html
57 lines (37 loc) · 1.17 KB
/
search-results.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
{% extends "layout.html" %}
{% set pageId = "page-search-results" %}
{% block title %}
<title>Resultado da pesquisa</title>
{% endblock title %}
{% block styles %}
<link rel="stylesheet" href="styles/search-results.css">
{% endblock styles %}
{% block content %}
{% include "partials/page-header.html" %}
<main>
{% if total > 0 %}
<h4>
<strong>{{total}}</strong>
pontos encontrados
</h4>
<div class="cards">
{% for place in places %}
<div class="card">
<img src="{{ place.image }}" alt="{{ place.name }}">
<h1>{{ place.name }}</h1>
<h3>{{ place.items }}</h3>
<p>
{{ place.city }}, {{ place.state }}
<br/>
{{ place.address }}
<br/>
{{ place.address2 }}
</p>
</div>
{% endfor %}
</div>
{%else%}
<h4><strong>Nenhum</strong> local encontrado</h4>
{% endif %}
</main>
{% endblock content %}