-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 315e41c
Showing
11 changed files
with
1,087 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,133 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Perfect Cocktail | Search by Name</title> | ||
<link rel="stylesheet" href="css/bootstrap.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Raleway:300,700,900" rel="stylesheet"> | ||
<link rel="stylesheet" href="css/custom.css"> | ||
</head> | ||
|
||
<body> | ||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<div class="container"> | ||
<a class="navbar-brand text-uppercase" href="index.html"> | ||
<h1 class="sitename">PERFECT<span>COCKTAIL</span> </h1> | ||
</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbar"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="index.html">Cocktail Name</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="ingredient.html">Ingredient</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="category.html">Category</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="filter-alcohol.html">Alcohol / Non Alcohol</a> | ||
</li> | ||
</ul> | ||
</div> | ||
<div class="dropdown"> | ||
<a href="favorites.html" class="btn btn-danger"> | ||
My Favorites | ||
</a> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div id="content" class="mt-5"> | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="jumbotron col-12 col-md-10"> | ||
<h1 class="text-center"> | ||
Search Cocktails by Category | ||
</h1> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<form action="#" id="search-form"> | ||
<div class="form-group mt-4"> | ||
<select class="search-category form-control" id="search"> | ||
|
||
</select> | ||
</div> | ||
<div class="form-group pt-3"> | ||
<input type="hidden" id="type" value="category"> | ||
<button type="submit" class="btn btn-success d-block"> | ||
Get Cocktails | ||
</button> | ||
</div> | ||
</form> | ||
|
||
</div> | ||
|
||
<div class="col-12 mt-5 results-wrapper" style="display:none;" > | ||
<h1 class="text-center">Results: <span id="total"></span></h1> | ||
<div id="results" class="mt-5 row" ></div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> <!--#content--> | ||
|
||
<div class="modal fade" id="recipe" tabindex="-1" role="dialog" aria-hidden="true"> | ||
<div class="modal-dialog modal-dialog-centered" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h2 class="modal-title"></h2> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
<h3 class="alert alert-success">Preparation:</h3> | ||
<div class="description-text mb-4"></div> | ||
|
||
<h3 class="alert alert-success">Ingredients:</h3> | ||
<div class="ingredient-list"> | ||
<ul class="list-group"></ul> | ||
</div> | ||
<div class="ingredients mt-3"> | ||
|
||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div><!--.modal--> | ||
|
||
|
||
<footer class="bg-primary p-4"> | ||
<div class="container"> | ||
<div class="row justify-content-between"> | ||
<div class="col-md-4"> | ||
<h1 class="sitename">PERFECT<span>COCKTAIL</span> </h1> | ||
</div> | ||
<div class="col-md-4"> | ||
<p class="text-right">All Rights Reserved </p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||
|
||
|
||
<script src="js/CocktailAPI.js"></script> | ||
<script src="js/CocktailDB.js"></script> | ||
<script src="js/UI.js"></script> | ||
<script src="js/app.js"></script> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
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,72 @@ | ||
.navbar-brand { | ||
font-size: 1.6rem; | ||
} | ||
.site { | ||
background-color: #008000!important; | ||
} | ||
.sitename { | ||
color:white; | ||
font-family: 'Raleway', sans-serif; | ||
font-weight: 300; | ||
} | ||
.sitename span { | ||
color: #001a00!important; | ||
font-weight: 700; | ||
} | ||
thead { | ||
color: white; | ||
} | ||
.card { | ||
position: relative; | ||
} | ||
.card .favorite-btn { | ||
position: absolute; | ||
right: -18px; | ||
top: 18px; | ||
background-color: white; | ||
width: 35px!important; | ||
height: 35px; | ||
border-radius: 50%; | ||
font-size: 22px; | ||
padding-left: 10px; | ||
color: #29ABE0; | ||
} | ||
|
||
.is-favorite { | ||
background-color:#29ABE0!important; | ||
color: white!important; | ||
} | ||
|
||
|
||
h1 { | ||
font-family: 'Raleway', sans-serif; | ||
font-weight: 300; | ||
font-size: 1.6rem; | ||
} | ||
.card-title { | ||
font-family: 'Raleway', sans-serif; | ||
font-weight: 300; | ||
font-size: 1.2rem; | ||
} | ||
.btn { | ||
width:100%; | ||
} | ||
footer p{ | ||
color:white!important; | ||
} | ||
/*Modal CSS*/ | ||
div.modal-header h2.modal-title { | ||
text-align: center; | ||
} | ||
div.modal-body{ | ||
background-color: #ccffe6; | ||
} | ||
|
||
div.modal-body h3.alert.alert-success { | ||
text-align: center; | ||
background-color: #29ABE0; | ||
color: #000000; | ||
} | ||
div.modal-footer button.btn.btn-secondary { | ||
background-color: #29ABE0; | ||
} |
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,126 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Perfect Cocktail | Search by Name</title> | ||
<link rel="stylesheet" href="css/bootstrap.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Raleway:300,700,900" rel="stylesheet"> | ||
<link rel="stylesheet" href="css/custom.css"> | ||
</head> | ||
<body> | ||
|
||
<nav class="navbar navbar-expand-lg navbar-dark bg-primary"> | ||
<div class="container"> | ||
<a class="navbar-brand text-uppercase" href="index.html"> | ||
<h1 class="sitename">PERFECT<span>COCKTAIL</span> </h1> | ||
</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar" aria-controls="navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse" id="navbar"> | ||
<ul class="navbar-nav mr-auto"> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="index.html">Cocktail Name</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="ingredient.html">Ingredient</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="category.html">Category</a> | ||
</li> | ||
<li class="nav-item"> | ||
<a class="nav-link" href="filter-alcohol.html">Alcohol / Non Alcohol</a> | ||
</li> | ||
</ul> | ||
</div> | ||
|
||
<div class="dropdown"> | ||
<a href="favorites.html" class="btn btn-danger"> | ||
My Favorites | ||
</a> | ||
</div> | ||
</div> | ||
</nav> | ||
|
||
<div id="content" class="mt-5"> | ||
<div class="container"> | ||
<div class="row justify-content-center"> | ||
<div class="jumbotron col-12 col-md-10"> | ||
<h1 class="text-center mb-4"> | ||
My Favorites | ||
</h1> | ||
<div class="row"> | ||
<div class="col-12"> | ||
<table id="favorites" class="table table-light"> | ||
<thead class="bg-danger"> | ||
<tr> | ||
<th scope="col">Image</th> | ||
<th scope="col">Name</th> | ||
<th scope="col">View</th> | ||
<th scope="col">Remove</th> | ||
</tr> | ||
</thead> | ||
<tbody></tbody> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> <!--#content--> | ||
|
||
<div class="modal fade" id="recipe" tabindex="-1" role="dialog" aria-hidden="true"> | ||
<div class="modal-dialog modal-dialog-centered" role="document"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<h2 class="modal-title"></h2> | ||
<button type="button" class="close" data-dismiss="modal" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
</div> | ||
<div class="modal-body"> | ||
<h3 class="alert alert-success">Preparation:</h3> | ||
<div class="description-text mb-4"></div> | ||
|
||
<h3 class="alert alert-success">Ingredients:</h3> | ||
<div class="ingredient-list"> | ||
<ul class="list-group"></ul> | ||
</div> | ||
<div class="ingredients mt-3"> | ||
|
||
</div> | ||
</div> | ||
<div class="modal-footer"> | ||
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div><!--.modal--> | ||
|
||
<footer class="bg-primary p-4"> | ||
<div class="container"> | ||
<div class="row justify-content-between"> | ||
<div class="col-md-4"> | ||
<h1 class="sitename">PERFECT<span>COCKTAIL</span> </h1> | ||
</div> | ||
<div class="col-md-4"> | ||
<p class="text-right">All Rights Reserved </p> | ||
</div> | ||
</div> | ||
</div> | ||
</footer> | ||
|
||
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> | ||
|
||
|
||
<script src="js/CocktailAPI.js"></script> | ||
<script src="js/CocktailDB.js"></script> | ||
<script src="js/UI.js"></script> | ||
<script src="js/app.js"></script> | ||
|
||
</body> | ||
</html> |
Oops, something went wrong.