2022-11-24 10:26:37 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2022-12-09 04:51:56 +00:00
|
|
|
<title>Add New Vehicle</title>
|
|
|
|
<link rel="stylesheet" href="css/newVehicle.css">
|
2022-11-24 10:26:37 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-12-09 04:51:56 +00:00
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><a href="search.html" class="btn">Search</a></li>
|
2022-12-15 14:50:58 +00:00
|
|
|
<li><a href="addVehicle.html" class="btn active">Add new vehicle</a></li>
|
2022-12-09 04:51:56 +00:00
|
|
|
<li><a href="newReport.html" class="btn">Create new report</a></li>
|
2022-12-15 14:50:58 +00:00
|
|
|
<li class="admin"><a href="newUser.html" class="btn">Create new user</a></li>
|
2022-12-15 23:25:00 +00:00
|
|
|
<li class="admin"><a href="addFine.html" class="btn">Add Fines</a></li>
|
2022-12-15 14:50:58 +00:00
|
|
|
<li class="admin"><a href="viewLog.html" class="btn">View log</a></li>
|
2022-12-09 04:51:56 +00:00
|
|
|
<li><a href="changePassword.html" class="btn">Change password</a></li>
|
2022-12-15 14:50:58 +00:00
|
|
|
<li><a id="logout" class="btn">Logout</a></li>
|
2022-12-09 04:51:56 +00:00
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-11-24 10:26:37 +00:00
|
|
|
|
2022-12-09 04:51:56 +00:00
|
|
|
<main>
|
|
|
|
<header id="title">
|
|
|
|
<h1></h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<form action="" id="vehicleForm">
|
|
|
|
<div class="formGroup">
|
|
|
|
<div class="formSpace">
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="type">Type</label>
|
|
|
|
<input type="text" name="type" id="type" required>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="colour">Colour</label>
|
|
|
|
<input type="text" name="colour" id="colour" required>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="plateNum">Plate Number</label>
|
|
|
|
<input type="text" name="plateNum" id="plateNum" required>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="owner">Owner</label>
|
|
|
|
<div class="selectDiv">
|
|
|
|
<select name="owner" id="owner" required>
|
|
|
|
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="submit" value="Add new vehicle" class="btn btnPrimary">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formSpace" id="addOwner">
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="name">Name</label>
|
2022-12-15 14:50:58 +00:00
|
|
|
<input type="text" name="name" id="name" >
|
2022-12-09 04:51:56 +00:00
|
|
|
</div>
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="address">Address</label>
|
|
|
|
<input type="text" name="address" id="address">
|
|
|
|
</div>
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="licence">Licence number</label>
|
|
|
|
<input type="text" name="licence" id="licence" maxlength="16" max="16">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
|
2022-12-15 14:50:58 +00:00
|
|
|
<script src="js/checkUser.js"></script>
|
2022-12-09 04:51:56 +00:00
|
|
|
<script src="js/newVehicle.js"></script>
|
2022-11-24 10:26:37 +00:00
|
|
|
</body>
|
|
|
|
</html>
|