forked from mikkosio/1800_202230_DTC09
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.html
More file actions
156 lines (148 loc) · 8.1 KB
/
main.html
File metadata and controls
156 lines (148 loc) · 8.1 KB
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<!DOCTYPE html>
<html lang="en">
<head>
<title>Inter-Task-Tivity</title>
<meta name="comp1800 template" content="My 1800 App">
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!------------------------------------------>
<!-- Bootstrap Library CSS JS CDN go here -->
<!------------------------------------------>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
crossorigin="anonymous"></script>
<!-------------------------------------------------------->
<!-- 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" />
<!-------------------------------------------->
<!-- Other libraries and styles of your own -->
<!-------------------------------------------->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
<link rel="stylesheet" href="./styles/style.css">
<style>
.material-symbols-outlined {
color: red;
font-variation-settings:
'FILL' 100,
'wght' 10000000,
'GRAD' 0,
'opsz' 40
}
</style>
</head>
<body>
<!------------------------------>
<!-- Your HTML Layout go here -->
<!------------------------------>
<!--Nav Bar-->
<nav id="navbarplaceholder"></nav>
<!--Welcome Jumbotron-->
<div class="jumbotron jumbotron-fluid">
<div class="container">
<h1 class="display-5">Welcome Back, <span class="main-page-name"></span></h1>
<h3>Here are your urgent tasks.</h3>
</div>
</div>
<!--Task Reminder Cards-->
<div id="hero-carousel" class="carousel slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#hero-carousel" data-bs-slide-to="0" class="active"
aria-current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#hero-carousel" data-bs-slide-to="1"
aria-label="Slide 2"></button>
<button type="button" data-bs-target="#hero-carousel" data-bs-slide-to="2"
aria-label="Slide 3"></button>
</div>
<!--Static carousel cards -->
<div class="carousel-inner">
<div id="slide1" class="carousel-item active c-item">
<div class="p-3 mb-3 bg-light rounded-3" alt="Slide 1">
<div class="container-fluid py-5">
<h1 class="display-4 fw-bold">
<p id="task1" style="margin-left: 20px;">Enter a task!</p>
</h1>
<div class="time" style="margin-left: 20px;">
<p><span class="material-symbols-outlined">
calendar_today
</span><b> Deadline Date:</b> <span id="date1"></span></p>
<p><span class="material-symbols-outlined">priority_high</span><b> Time Left:</b> <span
class="time-deadline1"></span>
</div>
</div>
</div>
<div class="carousel-caption top-0 mt-4">
</div>
</div>
<div class="carousel-item c-item">
<div class="p-3 mb-3 bg-light rounded-3" alt="Slide 2">
<div class="container-fluid py-5">
<h1 class="display-4 fw-bold">
<p id="task2" style="margin-left: 20px;">Enter a task!</p>
</h1>
<div class="time" style="margin-left: 20px;">
<p><span class="material-symbols-outlined">
calendar_today
</span><b> Deadline Date:</b> <span id="date1"></span></p>
<p><span class="material-symbols-outlined">priority_high</span><b> Time Left:</b> <span
class="time-deadline2"></span>
</div>
</div>
</div>
<div class="carousel-caption top-0 mt-4">
</div>
</div>
<div class="carousel-item c-item">
<div class="p-3 mb-3 bg-light rounded-3" alt="Slide 3">
<div class="container-fluid py-5">
<h1 class="display-4 fw-bold">
<p id="task1" style="margin-left: 20px;">Enter a task!</p>
</h1>
<div class="time" style="margin-left: 20px;">
<p><span class="material-symbols-outlined">
calendar_today
</span><b> Deadline Date:</b> <span id="date3"></span></p>
<p><span class="material-symbols-outlined">priority_high</span><b> Time Left:</b> <span
class="time-deadline3"></span>
</div>
</div>
</div>
<div class="carousel-caption top-0 mt-4">
</div>
</div>
</div>
<!--Carousel control buttons -->
<button class="carousel-control-prev" type="button" data-bs-target="#hero-carousel" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#hero-carousel" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>
<a href="./tasklist.html"><button class="btn btn-primary" type="button"
style="display: flex; justify-content: center; margin: 0 auto;">View
Tasks</button></a>
<!--Footer-->
<footer id="footerplaceholder"></footer>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<!-- Link to scripts of your own -->
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/firebaseAPI_TEAM09.js"></script>
<script src="./scripts/main.js"></script>
</body>
</html>