-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsearch.html
More file actions
61 lines (58 loc) · 2.2 KB
/
search.html
File metadata and controls
61 lines (58 loc) · 2.2 KB
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
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
<link rel="stylesheet" href="styles.css">
<title>Recherche de Produits</title>
</head>
<body>
<nav class="navbar">
<ul>
<li><a href="index.html">Accueil</a></li>
<li><a href="list.html">Liste</a></li>
<li><a href="add.html">Ajouter</a></li>
</ul>
</nav>
<div class="container">
<div class="search-container card">
<h1>Recherche de Produits</h1>
<div class="search-controls">
<div class="search-bar">
<input type="text" id="searchInput" placeholder="Rechercher un produit...">
</div>
<div class="filter-group">
<select id="categoryFilter">
<option value="">Toutes les catégories</option>
</select>
<select id="stockFilter">
<option value="">Tout le stock</option>
<option value="low">Stock bas (≤ 5)</option>
<option value="medium">Stock moyen (6-20)</option>
<option value="high">Stock élevé (> 20)</option>
</select>
</div>
</div>
<div class="results-container">
<table id="searchResults">
<thead>
<tr>
<th>Nom</th>
<th>Description</th>
<th>Prix</th>
<th>Stock</th>
<th>Actions</th>
</tr>
</thead>
<tbody id="resultsBody"></tbody>
</table>
<div id="noResults" class="no-results" style="display: none;">
Aucun résultat trouvé
</div>
</div>
</div>
</div>
<script src="search.js"></script>
</body>
</html>