mirror of
				https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
				synced 2025-10-30 19:46:49 +00:00 
			
		
		
		
	Move filter bar to separate div
This commit is contained in:
		| @@ -1,5 +1,6 @@ | |||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="en"> | <html lang="en"> | ||||||
|  |  | ||||||
| <head> | <head> | ||||||
| 	<meta charset="UTF-8" /> | 	<meta charset="UTF-8" /> | ||||||
| 	<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | 	<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||||
| @@ -18,6 +19,7 @@ | |||||||
| 	<link rel="stylesheet" href="./static/homepage.css" /> | 	<link rel="stylesheet" href="./static/homepage.css" /> | ||||||
| 	<script src="assets/scripts/main.js" type="module"></script> | 	<script src="assets/scripts/main.js" type="module"></script> | ||||||
| </head> | </head> | ||||||
|  |  | ||||||
| <body> | <body> | ||||||
| 	<header> | 	<header> | ||||||
| 		<div class="top-bar"> | 		<div class="top-bar"> | ||||||
| @@ -33,25 +35,24 @@ | |||||||
| 				<div class="search-bar"> | 				<div class="search-bar"> | ||||||
| 					<form id="form"> | 					<form id="form"> | ||||||
| 						<input type="search" id="search-bar" name="searchBar" placeholder="Search tags..."> | 						<input type="search" id="search-bar" name="searchBar" placeholder="Search tags..."> | ||||||
| 							<!---  | 						<button id="clear-search">Clear Search</button> | ||||||
| 								<button class="click" type="search"> Search </button> |  | ||||||
| 							---> |  | ||||||
| 							<div class="Filter-box"> |  | ||||||
| 								 |  | ||||||
| 							</div> |  | ||||||
| 					</form> | 					</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> | ||||||
| 					<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')"/> | 				<div class="filter-bar"> | ||||||
| 						<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> | 					<label for="sort">Filtering Method:</label> | ||||||
| 					<select id="sort"> | 					<select id="sort"> | ||||||
| 						<option value="recent">Most Recent</option> | 						<option value="recent">Most Recent</option> | ||||||
| 						<option value="top">Top Rated</option> | 						<option value="top">Top Rated</option> | ||||||
| 					</select> | 					</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> | ||||||
|  |  | ||||||
| 				<div class="review-container" id="review-container"></div> | 				<div class="review-container" id="review-container"></div> | ||||||
| @@ -61,4 +62,5 @@ | |||||||
| 		</div> | 		</div> | ||||||
| 	</main> | 	</main> | ||||||
| </body> | </body> | ||||||
|  |  | ||||||
| </html> | </html> | ||||||
		Reference in New Issue
	
	Block a user