forked from BrandalfGray/Processes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (57 loc) · 2.17 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contact Manager</title>
<link rel="stylesheet" href="css/styles.css">
<!-- Can include Bootstrap CSS here if using -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
</head>
<body>
<!-- Login/Signup Form -->
<div class="container">
<h1>Welcome to the Contact Manager</h1>
<div id="auth-container">
<div class="auth-form">
<form id="loginForm">
<h2>Login</h2>
<div class="form-group">
<label for="username">Username</label>
<input type="text" class="form-control" id="username" placeholder="Enter username" required>
</div>
<div class="form-group">
<label for="password">Password</label>
<input type="password" class="form-control" id="password" placeholder="Enter password" required>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
<hr>
<form id="signupForm">
<h2>Sign Up</h2>
<div class="form-group">
<label for="newUsername">Username</label>
<input type="text" class="form-control" id="newUsername" placeholder="Enter username" required>
</div>
<div class="form-group">
<label for="newEmail">Email</label>
<input type="email" class="form-control" id="newEmail" placeholder="Enter email" required>
</div>
<div class="form-group">
<label for="newPassword">Password</label>
<input type="password" class="form-control" id="newPassword" placeholder="Enter password" required>
</div>
<button type="submit" class="btn btn-success">Sign Up</button>
</form>
</div>
</div>
<!-- The main dashboard will be here -->
<div id="dashboard-container" style="display:none;">
<!-- Content for logged in users will go here -->
</div>
</div>
<!-- JavaScript -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <!-- jQuery for easier AJAX -->
<script src="js/main.js"></script> <!-- custom JS -->
</body>
</html>