-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
131 lines (114 loc) · 6.99 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<meta content="Les petits plats, outil de recettes de cuisine" name="description" />
<meta content="Les petits plats, outil de recettes de cuisine, Marmiton, 750g" name="keywords" />
<meta name="author" content="Alexis GRIMONPREZ" />
<link rel="icon" href="./assets/img/favicon.ico"/>
<link rel="stylesheet" href="./style.css">
<!-- https://fontawesome.com/v4.7.0/icons/ -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">
<title>Les petits plats</title>
</head>
<!-- ======= BODY======= -->
<body>
<header class="header">
<div class="container">
<div class="jumbotron-heading headerImgTitle">
<a href="./index.html"><img src="assets/img/logo.png" alt="Logo les petits plats" /></a>
<h1 class="headerTitle">Les petits plats</h1>
</div>
<!-- Search bar-->
<form>
<div class="input-group p-05">
<input id="inputSearchAll" type="text" class="form-control inputGroupBorder" placeholder="Rechercher un ingrédient, appareil, ustensiles ou une recette" onkeyup="filterAllByText()">
<div class="input-group-btn">
<button class="btn btn-default buttonGroupBorder" type="submit">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</div>
</div>
</form>
</div>
<div class="mt-3"></div>
<!-- List of tag -->
<div class="container" id="tags"></div>
<div class="mt-3"></div>
<!-- Dropdown -->
<div class="container">
<div class="row">
<!-- Dropdown ingrédient -->
<div class="col-md-3 contents">
<div class="dropdown dropdownSearch">
<div class="input-group w-200 p-05 pb-0 ">
<input type="text" class="form-control inputDropdownIngredient" placeholder="Ingrédient"
id="dropdownInputIngredient" onkeyup="filterByDropdownText('dropdownInputIngredient', 'dropdownIngredientList')"
aria-label="Ingrédient listes">
<div class="input-group-btn" onclick="toggleDropdownList('dropdownIngredientList')">
<button class="btn btn-default btnDropdownIngredient" type="submit">
<img src="./assets/img/dropdown-icon-down.png" class="icon icon-dropdown-down" alt="Dropdown down icon" />
<img src="./assets/img/dropdown-icon-up.png" class="icon icon-dropdown-up" alt="Dropdown up icon" />
</button>
</div>
</div>
<ul class="dropDownList" id="dropdownIngredientList"></ul>
</div>
</div>
<!-- Dropdown appareil -->
<div class="col-md-3 contents">
<div class="dropdown dropdownSearch">
<div class="input-group w-200 p-05 pb-0">
<input type="text" class="form-control inputDropdownAppareil" placeholder="Appareil"
id="dropdownInputAppareil" onkeyup="filterByDropdownText('dropdownInputAppareil', 'dropdownAppareilList')"
aria-label="Appareil listes">
<div class="input-group-btn" onclick="toggleDropdownList('dropdownAppareilList')">
<button class="btn btn-default btnDropdownAppareil" type="submit">
<img src="./assets/img/dropdown-icon-down.png" class="icon icon-dropdown-down" alt="Dropdown down icon" />
<img src="./assets/img/dropdown-icon-up.png" class="icon icon-dropdown-up" alt="Dropdown up icon" />
</button>
</div>
</div>
<ul class="dropDownList" id="dropdownAppareilList"></ul>
</div>
</div>
<!-- Dropdown ustensil -->
<div class="col-md-3 contents">
<div class="dropdown dropdownSearch">
<div class="input-group w-200 p-05 pb-0 ">
<input type="text" class="form-control inputDropdownUstensil" placeholder="Ustensiles"
id="dropdownInputUstensil" onkeyup="filterByDropdownText('dropdownInputUstensil', 'dropdownUstensilList')"
aria-label="Ustensiles listes">
<div class="input-group-btn" onclick="toggleDropdownList('dropdownUstensilList')">
<button class="btn btn-default btnDropdownUstensil" type="submit">
<img src="./assets/img/dropdown-icon-down.png" class="icon icon-dropdown-down" alt="Dropdown down icon" />
<img src="./assets/img/dropdown-icon-up.png" class="icon icon-dropdown-up" alt="Dropdown up icon" />
</button>
</div>
</div>
<ul class="dropDownList" id="dropdownUstensilList"></ul>
</div>
</div>
</div>
</div>
</header>
<div class="mt-3"></div>
<main>
<div class="album py-5 bg-light">
<div class="container">
<div class="row" id="recipes"></div>
<div class="well" id="recipes-not-found">
<p>Aucune recette ne correspond à votre critère… vous pouvez chercher « tarte aux pommes », « poisson », etc</p>
</div>
</div>
</div>
</main>
<!-- Bootstrap core JavaScript + Javascript
================================================== -->
<script src="assets/vendor/jquery-3.2.1.slim.min.js"></script>
<script src="assets/vendor/bootstrap.min.js"></script>
<script src="assets/vendor/holder.min.js"></script>
<script src="assets/js/script.js"></script>
</body>
</html>