-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathproducts.html
113 lines (107 loc) · 4.47 KB
/
products.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>WIS Project - Products</title>
<link rel="stylesheet" href="products.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
</head>
<body>
<!-- BEGIN CODE HERE -->
<header>
<nav class="navbar bg-white">
<div class="container-fluid">
<a class="navbar-brand">
<img src="logo.png" alt="logoCSDAUTH" width="250" height="58">
</a>
<div>
<ul class="nav justify-content-end">
<li class="nav-item">
<!-- class="link-offset-2 link-underline link-underline-opacity-0" -->
<a class="nav-link" href="homepage.html" style="text-decoration:none;">Home</a>
</li>
<li class="nav-item">
<button type="button" class="btn btn-primary">Products</button>
</li>
</ul>
</div>
</div>
</nav>
</header>
<main>
<div class="row my-3">
<form class="d-flex" role="search">
<div class="row g-3 align-items-center">
<div class="col-auto input-group mb-3">
<label for="searchInput" class="col-form-label space">Search a product</label>
<input id="searchInput" name="searchInput" type="text" class="form-control rounded" aria-describedby="basic-addon2">
<button class="btn btn-primary" type="button" id="search">Search</button>
</div>
</div>
</form>
<div class="row my-2">
<h5>Results</h5>
</div>
<table class="table table-bordered" style="width: 1200px;" id="table">
<thead>
<tr>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">Production Year</th>
<th scope="col">Price</th>
<th scope="col">Color</th>
<th scope="col">Size</th>
</tr>
</thead>
<tbody id="results">
</tbody>
</table>
</div>
<div class="row my-3">
<h3>Add a product</h3>
</div>
<form>
<div class="row my-3 row g-3 align-items-center">
<label for="inputName" class="col-sm-1 col-form-label">Name</label>
<div class="col-auto">
<input type="text" class="form-control" id="inputName">
</div>
</div>
<div class="row my-3 row g-3 align-items-center">
<label for="inputYear" class="col-sm-1 col-form-label">Production Year</label>
<div class="col-auto">
<input type="text" class="form-control" id="inputYear">
</div>
</div>
<div class="row my-3 row g-3 align-items-center">
<label for="inputPrice" class="col-sm-1 col-form-label">Price</label>
<div class="col-auto">
<input type="text" class="form-control" id="inputPrice">
</div>
</div>
<div class="row my-3 row g-3 align-items-center">
<label for="inputColor" class="col-sm-1 col-form-label">Color</label>
<div class="col-auto">
<input type="text" class="form-control" id="inputColor">
</div>
</div>
<div class="row my-3 row g-3 align-items-center">
<label for="inputSize" class="col-sm-1 col-form-label">Size</label>
<div class="col-auto">
<input type="text" class="form-control" id="inputSize">
</div>
</div>
</form>
<div class="d-grid gap-2 d-md-flex justify-content-md-end">
<button type="button" class="btn btn-primary" id="save">Save</button>
</div>
</main>
<footer class="footer bg-white">
<p>Moukanou Despoina-3919 Kalogeros Stefanos Rafail-4027 Chandrou Maria Aimilia-3397 Anthis Ioannis-3583</p>
</footer>
<!-- END CODE HERE -->
<script src="products.js"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
</body>
</html>