-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
78 lines (71 loc) · 3.1 KB
/
index.html
File metadata and controls
78 lines (71 loc) · 3.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="MedCare HMS — Secure login for hospital staff and administrators">
<title>MedCare HMS — Login</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body class="login-page">
<div class="login-card">
<div class="login-logo">
<span class="logo-icon">🏥</span>
<h1>MedCare HMS</h1>
<p>Hospital Management System</p>
</div>
<!-- Tabs -->
<div class="auth-tabs">
<button class="tab-btn active" data-tab="loginPanel" id="loginTab">Sign In</button>
<button class="tab-btn" data-tab="signupPanel" id="signupTab">Create Account</button>
</div>
<!-- Demo Login -->
<button class="demo-btn" id="demoLoginBtn">⚡ Quick Demo — Admin Login</button>
<!-- Login Panel -->
<div class="form-panel active" id="loginPanel">
<form id="loginForm" novalidate>
<div class="form-group">
<label class="form-label" for="loginEmail">Email Address</label>
<input class="form-input" type="email" id="loginEmail" placeholder="[email protected]" required autocomplete="email">
</div>
<div class="form-group">
<label class="form-label" for="loginPassword">Password</label>
<input class="form-input" type="password" id="loginPassword" placeholder="Enter your password" required>
</div>
<button type="submit" class="btn btn-primary btn-full">Sign In →</button>
</form>
</div>
<!-- Signup Panel -->
<div class="form-panel" id="signupPanel">
<form id="signupForm" novalidate>
<div class="form-group">
<label class="form-label" for="signupName">Full Name</label>
<input class="form-input" type="text" id="signupName" placeholder="Dr. Jane Smith" required>
</div>
<div class="form-group">
<label class="form-label" for="signupEmail">Email Address</label>
<input class="form-input" type="email" id="signupEmail" placeholder="[email protected]" required>
</div>
<div class="form-group">
<label class="form-label" for="signupRole">Role</label>
<select class="form-select" id="signupRole" required>
<option value="Admin">Admin</option>
<option value="Doctor">Doctor</option>
<option value="Receptionist">Receptionist</option>
</select>
</div>
<div class="form-group">
<label class="form-label" for="signupPassword">Password</label>
<input class="form-input" type="password" id="signupPassword" placeholder="Min. 6 characters" required>
</div>
<button type="submit" class="btn btn-primary btn-full">Create Account →</button>
</form>
</div>
<p style="text-align:center; margin-top:20px; font-size:12px; color:var(--text-muted);">
Default admin: <strong>[email protected]</strong> / <strong>admin123</strong>
</p>
</div>
<script src="js/utils.js"></script>
<script src="js/auth.js"></script>
</body>
</html>