generated from comp1800/web_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotifications.html
99 lines (86 loc) · 4.79 KB
/
notifications.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
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
98
99
<!DOCTYPE html>
<html lang="en">
<head>
<title>Finance Bacon</title>
<meta name="comp1800 template" content="My 1800 App">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="images/green-logo.png">
<!-- Bootstrap Library CSS CDN go here -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- Boostrap Library JS CDN go here -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.6/dist/umd/popper.min.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" crossorigin="anonymous"></script>
<!-- Other libraries go here -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
<!-------------------------------------------------------->
<!-- Firebase 8 Library related CSS, JS, JQuery go here -->
<!-------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<!-- Link to styles of your own -->
<link rel="stylesheet" href="./styles/notifications.css">
</head>
<body>
<!-- Navbar Template -->
<nav id="navbarPlaceholder"></nav>
<!-- Content Goes Here! -->
<form id="notifications">
<div id="notificationsHeading">
<h1>Notification Settings</h1>
<p>Customize the type of notifications you want to recieve.</p>
</div>
<hr>
<div id="notificationsBody">
<!-- If attribute checked is present, switch defaults to true -->
<div class="mb-3 form-check form-switch">
<input class="form-check-input" type="checkbox" id="overspendingWarning" onclick="overSpendToggle()">
<label class="form-check-label" for="overspendingWarning">Overspending Warning</label>
</div>
<fieldset id="overspendingOptions" disabled>
<div class="mb-3 form-check">
<input class="form-check-input" name="radios" type="radio" id="60Percent">
<label class="form-check-label" for="60Percent">60%</label>
</div>
<div class="mb-3 form-check">
<input class="form-check-input" name="radios" type="radio" id="70Percent">
<label class="form-check-label" for="70Percent">70%</label>
</div>
<div class="mb-3 form-check">
<input class="form-check-input" name="radios" type="radio" id="80Percent">
<label class="form-check-label" for="80Percent">80%</label>
</div>
<div class="mb-3 form-check">
<input class="form-check-input" name="radios" type="radio" id="90Percent">
<label class="form-check-label" for="90Percent">90%</label>
</div>
</fieldset>
<hr>
<!-- If attribute checked is present, switch defaults to true -->
<div class="mb-3 form-check form-switch">
<input class="form-check-input" type="checkbox" id="pushNotifications" onclick="pushToggle()">
<label class="form-check-label" for="pushNotifications">Enable Push Notifications</label>
</div>
<!-- If attribute checked is present, switch defaults to true -->
<div class="mb-3 form-check form-switch">
<input class="form-check-input" type="checkbox" id="emailNotifications" onclick="emailToggle()">
<label class="form-check-label" for="emailNotifications">Enable Email Notifications</label>
</div>
<hr>
</div>
</form>
<!-- Footer Template -->
<nav id="footerPlaceholder"></nav>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<script src="./scripts/firebaseAPI_TEAM14.js"></script>
<script src="./scripts/notifications.js"></script>
<script src="./scripts/skeleton.js"></script>
</body>
</html>