-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (46 loc) · 1.8 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Dashboard</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
</head>
<body>
<div class="text-center">
<br>
<h1>Simple Web Push Notifications Dashboard</h1>
<div class="container">
<button type="submit" class="btn btn-basic" id="subscribeButton">Click here to Subscribe!</button>
</div>
</div>
<br><hr>
<form id="notificationForm" class="container">
<h3 class="h3 col-sm-6 fw-normal">Create Notification Form</h3>
<br>
<div class="form-row col-sm-5 form-group">
<label for="title">Title</label>
<input type="text" class="form-control" id="title" name="title">
</div>
<br>
<div class="form-row form-group">
<label for="description">Description</label>
<input type="text" class="form-control" id="description" name="description">
</div>
<br>
<button type="submit" class="btn btn-primary">Create</button>
</form>
<br><hr>
<form id="sendNotificationForm" class="container">
<br>
<h3 class="h3 col-sm-6 fw-normal">Select Notification to Send</h3>
<br>
<select class="form-select" id="notifications-list">
</select>
<br>
<button type="submit" class="btn btn-primary" id="refresh-notifications-button">Refresh List</button>
<button type="submit" class="btn btn-primary" id="send-notification-button">Send Selected</button>
</form>
</body>
<script type="text/javascript" src="static/js/main.js"></script>
</html>