85 lines
3.0 KiB
HTML
85 lines
3.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<link rel="stylesheet" href="/home/lcm/Works/ldapmanager/test/css/adduser.css">
|
|
<title>Add New User</title>
|
|
</head>
|
|
<body>
|
|
|
|
<div class="form-container">
|
|
<h2>Add New User</h2>
|
|
<form action="/add_user" method="post">
|
|
<div class="form-group">
|
|
<label for="full-name">Full Name</label>
|
|
<input type="text" id="full-name" name="full_name" placeholder="Full Name" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="username">Username</label>
|
|
<input type="text" id="username" name="username" placeholder="Username" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="password">Password</label>
|
|
<input type="password" id="password" name="password" placeholder="Password" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="email">Email</label>
|
|
<input type="email" id="email" name="email" placeholder="Email Address" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="date-joining">Date of Joining</label>
|
|
<input type="date" id="date-joining" name="date_of_joining" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label for="date-birth">Date of Birth</label>
|
|
<input type="date" id="date-birth" name="date_of_birth" required>
|
|
</div>
|
|
|
|
<div class="form-group role-dropdown">
|
|
<label for="role">User Role</label>
|
|
<select id="role" name="role" required>
|
|
<option value="" class="placeholder-option">--Select Role--</option>
|
|
<option value="admin">Admin</option>
|
|
<option value="user">User</option>
|
|
<option value="moderator">Moderator</option>
|
|
</select>
|
|
</div>
|
|
|
|
<!-- New input field for testing -->
|
|
<div class="form-group">
|
|
<label for="department">Department</label>
|
|
<input type="text" id="department" name="department" placeholder="Department">
|
|
</div>
|
|
|
|
|
|
<div class="form-group admin-access">
|
|
<label>Admin Access</label>
|
|
<div class="checkbox-group">
|
|
<input type="checkbox" id="add-access" name="add_access">
|
|
<label class="checkbox" for="add-access">Add</label>
|
|
|
|
<input type="checkbox" id="edit-access" name="edit_access">
|
|
<label class="checkbox" for="edit-access">Edit</label>
|
|
|
|
<input type="checkbox" id="approve-access" name="approve_access">
|
|
<label class="checkbox" for="approve-access">Approve</label>
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<!-- Submit Button -->
|
|
<div class="form-group submit-button">
|
|
<button type="submit">Add User</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|