-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathparking_lot.html
73 lines (68 loc) · 3.22 KB
/
parking_lot.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
<!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">
<link href="https://fonts.googleapis.com/css?family=Roboto&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./CSS/bootstrap.min.css">
<link rel="stylesheet" href="./CSS/style.css">
<title>Parking Lot</title>
</head>
<body style="background-color:lightblue;">
<header class="shadow">
<div class="header-content d-flex justify-content-center p-2">
<img src="./Images/parking.svg" alt="" id="header-logo">
<div id="header-msg" class="ml-5 align-self-center">Parking Lot</div>
</div>
</header>
<div class="form-container mt-5">
<form class="w-50 mx-auto" id="entryForm">
<h5 class="text-center">Add Car to Parking Lot</h5>
<div class="form-group">
<label for="owner">Owner:</label>
<input type="text" class="form-control rounded-0 shadow-sm" id="owner" placeholder="Owner">
</div>
<div class="form-group">
<label for="car">Car:</label>
<input type="text" class="form-control rounded-0 shadow-sm" id="car" placeholder="Car">
</div>
<div class="form-group">
<label for="licensePlate">License Plate:</label>
<input type="text" class="form-control rounded-0 shadow-sm" id="licensePlate" placeholder="NN-NN-LL,NN-LL-NN,....etc">
</div>
<div class="row">
<div class="col-6">
<label for="entryDate">Entry Date:</label>
<input type="date" class="form-control rounded-0 shadow-sm" id="entryDate">
</div>
<div class="col-6">
<label for="exitDate">Exit Date:</label>
<input type="date" class="form-control rounded-0 shadow-sm" id="exitDate">
</div>
</div>
<button type="submit" class="btn mx-auto d-block mt-5 rounded-0 shadow" id="btnOne">Add Car</button>
</form>
</div>
<div class="table-container mt-5 mb-5 w-75 mx-auto" >
<h5 class="text-center mb-3">List of Cars in Parking Lot</h5>
<input type="text" class="w-100 mb-3" id="searchInput" placeholder="Search...">
<table class="table table-striped shadow " id="parkingTable">
<thead class="text-white" id="tableHead">
<tr>
<th scope="col">Owner</th>
<th scope="col">Car</th>
<th scope="col">License Plate</th>
<th scope="col">Entry Date</th>
<th scope="col">Exit Date</th>
<th scope="col">Actions</th>
</tr>
</thead>
<tbody id="tableBody">
</tbody>
</table>
</div>
<script src="./JS/bootstrap.min.js"></script>
<script src="./JS/core.js"></script>
</body>
</html>