-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdashboard.html
More file actions
97 lines (94 loc) · 3.4 KB
/
dashboard.html
File metadata and controls
97 lines (94 loc) · 3.4 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Admin Dashboard</title>
<link rel="icon" type="image/png" href="/static/logo.png" />
<link rel="stylesheet" href="/css/dashboard-style.css" />
</head>
<body>
<div id="dashboard-container">
<h1>Admin Dashboard</h1>
<div id="dashboard-lists-container">
<div id="dashboard-doctors-list" class="dashboard-list">
<h2>Doctors</h2>
<ul class="doctors-list">
<li>No accounts</li>
</ul>
</div>
<div id="dashboard-patients-list" class="dashboard-list">
<h2>Patients</h2>
<ul class="patients-list">
<li>No accounts</li>
</ul>
</div>
</div>
<div id="dashboard-create-user-popup" class="dashboard-popup">
<h2>Create User</h2>
<form action="#" id="dashboard-create-user-form">
<div class="input-container">
<label for="dashboard-username">Username:</label>
<input
type="text"
id="dashboard-username"
name="username"
required
/>
</div>
<div class="input-container">
<label for="dashboard-username">Email:</label>
<input type="text" id="dashboard-email" name="email" required />
</div>
<div class="input-container">
<label for="dashboard-password">Password:</label>
<input
type="password"
id="dashboard-password"
name="password"
required
/>
</div>
<div class="input-container">
<label for="dashboard-type">User Type:</label>
<select id="dashboard-type" name="type">
<option value="doctor">Doctor</option>
<option value="patient">Patient</option>
</select>
</div>
<div class="input-btn">
<button id="dashboard-popup-create" type="submit">Create</button>
<button id="dashboard-close-popup-button">Cancel</button>
</div>
</form>
</div>
<div id="dashboard-delete-user-popup" class="dashboard-delete-popup">
<h2>Delete User</h2>
<form action="#" id="dashboard-delete-user-form">
<div class="input-container">
<label for="dashboard-username">Username:</label>
<input
type="text"
id="dashboard-delete-username"
name="username"
required
/>
</div>
<div class="delete-popup-button">
<button id="dashboard-popup-delete" type="submit">Delete</button>
<button id="dashboard-delete-close-popup-button">Cancel</button>
</div>
</form>
</div>
<div class="dashboard-create-delete-btn">
<button id="dashboard-create-user-button">Create User</button>
<button id="dashboard-delete-user-button">Delete User</button>
</div>
</div>
<script src="/scripts/dashboard-create-user.js"></script>
<script src="/scripts/dashboard-delete-user.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="/scripts/getDoctors.js"></script>
<script src="/scripts/getPatients.js"></script>
</body>
</html>