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,64 +1,66 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<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" />
<title>Food Journal</title>
<!--Add Favicon--> <head>
<link rel="icon" type="image/x-icon" href="./assets/images/favicon.ico"> <meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Food Journal</title>
<!-- Recipe Card Custom Element --> <!--Add Favicon-->
<script src="assets/scripts/ReviewCard.js" type="module"></script> <link rel="icon" type="image/x-icon" href="./assets/images/favicon.ico">
<!-- Main Stylesheets & Scripts --> <!-- Recipe Card Custom Element -->
<!-- Temporarily commented out reset.css due to furthur discussion needed on the values of the default config--> <script src="assets/scripts/ReviewCard.js" type="module"></script>
<!-- <link rel="stylesheet" href="/static/reset.css" /> -->
<link rel="stylesheet" href="./static/homepage.css" /> <!-- Main Stylesheets & Scripts -->
<script src="assets/scripts/main.js" type="module"></script> <!-- Temporarily commented out reset.css due to furthur discussion needed on the values of the default config-->
</head> <!-- <link rel="stylesheet" href="/static/reset.css" /> -->
<body> <link rel="stylesheet" href="./static/homepage.css" />
<header> <script src="assets/scripts/main.js" type="module"></script>
<div class="top-bar"> </head>
<img src ="./assets/images/Logo.png" alt="logo" />
<h1> Food Journal </h1> <body>
<img src ="./assets/images/Logo.png" alt="logo" /> <header>
</div> <div class="top-bar">
</header> <img src="./assets/images/Logo.png" alt="logo" />
<main> <h1> Food Journal </h1>
<div class="body-container"> <img src="./assets/images/Logo.png" alt="logo" />
<div style="width: 20%;"></div> </div>
<div style="width: 60%;"> </header>
<div class="search-bar"> <main>
<form id="form"> <div class="body-container">
<input type="search" id="search-bar" name="searchBar" placeholder="Search tags..."> <div style="width: 20%;"></div>
<!--- <div style="width: 60%;">
<button class="click" type="search"> Search </button> <div class="search-bar">
---> <form id="form">
<div class="Filter-box"> <input type="search" id="search-bar" name="searchBar" placeholder="Search tags...">
</div>
</form>
<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"/>
<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> <button id="clear-search">Clear Search</button>
</div> </form>
<img src="./assets/images/search_button.png" alt="SEARCH BTN" id="search-btn" />
</div>
<div class="review-container" id="review-container"></div> <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>
</div> </div>
<div style="width: 20%;">
<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>
<div class="review-container" id="review-container"></div>
</div> </div>
</main> <div style="width: 20%;">
</body> </div>
</html> </div>
</main>
</body>
</html>