-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
52 lines (48 loc) · 1.89 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css">
<title>Cross Sync</title>
</head>
<body class="bg-light">
<div id="header" class="bg-primary text-white text-center py-2">
<h1>Browsing History</h1>
</div>
<div id="login-form-div" class="m-4">
<h2>Login</h2>
<form id="login-form" class="p-3">
<div class="form-group">
<label for="login-username">Username:</label>
<input type="text" id="login-username" class="form-control" required>
</div>
<div class="form-group">
<label for="login-password">Password:</label>
<input type="password" id="login-password" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary">Login</button>
</form>
</div>
<div id="signup-form-div" class="m-4">
<h2>Signup</h2>
<form id="signup-form" class="p-3">
<div class="form-group">
<label for="signup-username">Username:</label>
<input type="text" id="signup-username" class="form-control" required>
</div>
<div class="form-group">
<label for="signup-password">Password:</label>
<input type="password" id="signup-password" class="form-control" required>
</div>
<button type="submit" class="btn btn-primary">Signup</button>
</form>
</div>
<div id="history" class="h-100 w-100 overflow-auto p-2 list-group">
<!-- History items will be added here -->
</div>
<div id="logout-button-div" class="m-4">
<button id="logout-button" class="btn btn-primary">Logout</button>
</div>
<script src="popup.js"></script>
</body>
</html>