-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path4-hbnb.html
64 lines (64 loc) · 1.84 KB
/
4-hbnb.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
58
59
60
61
62
63
64
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="../static/styles/4-common.css?{{ cache_id }}">
<link rel="stylesheet" type="text/css" href="../static/styles/3-header.css?{{ cache_id }}">
<link rel="stylesheet" type="text/css" href="../static/styles/3-footer.css?{{ cache_id }}">
<link rel="stylesheet" type="text/css" href="../static/styles/6-filters.css?{{ cache_id }}">
<link type="text/css" rel="stylesheet" href="../static/styles/8-places.css?{{ cache_id }}">
<link rel="icon" href="../static/images/icon.png" />
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script>
<script src="/static/scripts/4-hbnb.js?{{ cache_id }}"></script>
<title>HBnB</title>
</head>
<body>
<header>
<div class="logo"></div>
<div id="api_status"></div>
</header>
<div class="container">
<section class="filters">
<div class="locations">
<h3>States</h3>
<h4> </h4>
<div class="popover">
<ul>
{% for state in states %}
<li>
<h2>{{ state[0].name }}:</h2>
<ul>
{% for city in state[1] %}
<li>{{ city.name }}</li>
{% endfor %}
</ul>
</li>
{% endfor %}
</ul>
</div>
</div>
<div class="amenities">
<h3>Amenities</h3>
<h4> </h4>
<div class="popover">
<ul>
{% for amenity in amenities %}
<li> <input type="checkbox" data-id="{{ amenity.id }}" data-name="{{ amenity.name }}">
{{ amenity.name }}
</li>
{% endfor %}
</ul>
</div>
</div>
<button type="button" onclick="searchPlacesAmenities()">Search</button>
</section>
<div class="placesh1"><h1>Places</h1></div>
<section class="places">
<!-- <h1>Places</h1> -->
</section>
</div>
<footer>
<p>Holberton School</p>
</footer>
</body>
</html>