Move filter bar to separate div

This commit is contained in:
Sanjit Joseph 2022-11-30 17:31:47 -08:00
parent 79e7561beb
commit f300c740c4

View File

@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
@ -17,13 +18,14 @@
<!-- <link rel="stylesheet" href="/static/reset.css" /> -->
<link rel="stylesheet" href="./static/homepage.css" />
<script src="assets/scripts/main.js" type="module"></script>
</head>
<body>
</head>
<body>
<header>
<div class="top-bar">
<img src ="./assets/images/Logo.png" alt="logo" />
<img src="./assets/images/Logo.png" alt="logo" />
<h1> Food Journal </h1>
<img src ="./assets/images/Logo.png" alt="logo" />
<img src="./assets/images/Logo.png" alt="logo" />
</div>
</header>
<main>
@ -33,25 +35,24 @@
<div class="search-bar">
<form id="form">
<input type="search" id="search-bar" name="searchBar" placeholder="Search tags...">
<!---
<button class="click" type="search"> Search </button>
--->
<div class="Filter-box">
</div>
<button id="clear-search">Clear Search</button>
</form>
<img src ="./assets/images/search_button.png" alt="SEARCH BTN" id="search-btn"/>
<img src="./assets/images/search_button.png" alt="SEARCH BTN" id="search-btn" />
</div>
<div class="center-display">
<img src ="./assets/images/create_button.png" alt="CREATE" id="create-btn" title="Add an entry!" onclick="window.location.assign('./CreatePage.html')"/>
<h2 id="recent-reviews-text"> Recent Reviews </h2>
<img src ="./assets/images/create_button.png" id="create-btn-invis" draggable="false"/>
<div class="filter-bar">
<label for="sort">Filtering Method:</label>
<select id="sort">
<option value="recent">Most Recent</option>
<option value="top">Top Rated</option>
</select>
<button id="clear-search">Clear Search</button>
</div>
<div class="center-display">
<img src="./assets/images/create_button.png" alt="CREATE" id="create-btn" title="Add an entry!"
onclick="window.location.assign('./CreatePage.html')" />
<h2 id="recent-reviews-text"> Recent Reviews </h2>
<img src="./assets/images/create_button.png" id="create-btn-invis" draggable="false" />
</div>
<div class="review-container" id="review-container"></div>
@ -60,5 +61,6 @@
</div>
</div>
</main>
</body>
</body>
</html>