forked from Tianyou-Xie/Mental-Wellness
-
Notifications
You must be signed in to change notification settings - Fork 0
/
recordlist.html
88 lines (74 loc) · 3.91 KB
/
recordlist.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Record List</title>
<meta name="Mental Wellness Template" content="Comp 1800 App">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="/images/MentalWellnessLogo.png">
<!------------------------------------------>
<!-- Bootstrap Library CSS JS CDN go here -->
<!------------------------------------------>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous">
</script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<!-- Other libraries go here -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!-------------------------------------------------------->
<!-- 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" />
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-storage.js"></script>
<!--Fontawesome CDN-->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"
integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/c5ac74b016.js" crossorigin="anonymous"></script>
<!-- Link to styles of your own -->
<link href="./styles/style.css" rel="stylesheet">
</head>
<body>
<div id="navigation"></div>
<main>
<div class="px-4 pt-5 mt-5 text-center">
<button type="button" onclick="goBack()" class="btn btn-outline-primary shadow float-left">
<i class="fa-solid fa-arrow-left"></i>
</button>
<h1 class="display-5 fw-bold">Record List</h1>
<p>View a list of all you past emotions!</p>
</div>
<div id="emotionRecordsContainer" class="text-center">
<div id="emotionRecords" class="d-inline-block"></div>
</div>
</main>
<div class="modal fade modal-sheet" id="staticBackdrop" data-bs-backdrop="static" data-bs-keyboard="false"
tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content rounded-3 shadow">
<div class="modal-body p-4 text-center">
<h5 class="mb-0">Not Logged In?</h5>
<p class="mb-0">This feature is only available to registered users.</p>
</div>
<div class="modal-footer flex-nowrap p-0">
<button type="button" onclick="loginRedirect()"
class="btn btn-lg btn-link fs-12 text-decoration-none col-12 py-3 m-0 rounded-0 border-end"><strong>Home</strong></button>
</div>
</div>
</div>
</div>
<div id="footer"></div>
<script src="./scripts/firebaseAPI_TEAM02.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/script.js"></script>
<script src="./scripts/recordlist.js"></script>
</body>
</html>