-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c97b716
commit 33cdff8
Showing
1 changed file
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
<!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?{{ cache_id }}" /> | ||
<!-- JQuery --> | ||
<script src="https://code.jquery.com/jquery-3.2.1.min.js"></script> | ||
<script src ="../static/scripts/1-hbnb.js?{{ cache_id }}"></script> | ||
<title>HBnB</title> | ||
</head> | ||
<body> | ||
<header> | ||
<div class="logo"></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">Search</button> | ||
</section> | ||
<div class="placesh1"><h1>Places</h1></div> | ||
<section class="places"> | ||
<!-- <h1>Places</h1> --> | ||
{% for place in places %} | ||
<article> | ||
<div class="title_box"> | ||
<h2>{{ place.name }}</h2> | ||
<div class="price_by_night">${{ place.price_by_night }}</div> | ||
</div> | ||
<div class="information"> | ||
<div class="max_guest">{{ place.max_guest }} Guest{% if place.max_guest != 1 %}s{% endif %}</div> | ||
<div class="number_rooms">{{ place.number_rooms }} Bedroom{% if place.number_rooms != 1 %}s{% endif %}</div> | ||
<div class="number_bathrooms">{{ place.number_bathrooms }} Bathroom{% if place.number_bathrooms != 1 %}s{% endif %}</div> | ||
</div> | ||
<div class="user"> | ||
</div> | ||
<div class="description"> | ||
{{ place.description | safe }} | ||
</div> | ||
</article> | ||
{% endfor %} | ||
</section> | ||
</div> | ||
<footer> | ||
<p>Holberton School</p> | ||
</footer> | ||
</body> | ||
</html> |