2022-11-24 10:26:37 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
2022-12-15 14:50:58 +00:00
|
|
|
<title>Create New User</title>
|
|
|
|
<link rel="stylesheet" href="css/nav.css">
|
2022-11-24 10:26:37 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2022-12-15 14:50:58 +00:00
|
|
|
<nav>
|
|
|
|
<ul>
|
|
|
|
<li><a href="search.html" class="btn">Search</a></li>
|
|
|
|
<li><a href="addVehicle.html" class="btn">Add new vehicle</a></li>
|
|
|
|
<li><a href="newReport.html" class="btn">Create new report</a></li>
|
|
|
|
<li class="admin"><a href="newUser.html" class="btn active">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>
|
|
|
|
<li><a href="changePassword.html" class="btn">Change password</a></li>
|
|
|
|
<li><a id="logout" class="btn">Logout</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
2022-11-24 10:26:37 +00:00
|
|
|
|
2022-12-15 14:50:58 +00:00
|
|
|
<main>
|
|
|
|
<header id="title">
|
|
|
|
<h1></h1>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<form method="POST" id="createUser">
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="username">Username</label>
|
|
|
|
<input type="text" name="username" id="username">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="pass">Password</label>
|
|
|
|
<input type="password" name="pass" id="pass">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="rePass">Retype Password</label>
|
|
|
|
<input type="password" name="rePass" id="rePass">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="formControl">
|
|
|
|
<label for="isAdmin" class="checkContainer">Is Admin
|
|
|
|
<input type="checkbox" name="isAdmin" id="isAdmin">
|
|
|
|
<span class="checkmark"></span>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<input type="submit" value="Create New User" class="btn btnPrimary" style="margin-top: 1em;">
|
|
|
|
</form>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<script src="js/checkUser.js"></script>
|
|
|
|
<script src="js/newUser.js"></script>
|
2022-11-24 10:26:37 +00:00
|
|
|
</body>
|
|
|
|
</html>
|