forked from MatoCode/1800_202210_BBY04
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.html
121 lines (102 loc) · 5.3 KB
/
main.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html>
<head>
<meta name="comp1800BBY04" content="Team 04's 1800 App">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Cal Buds</title>
<link rel="icon" type="image/ico" href="images/favicon.ico">
<!-- Bootstrap library css -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-------------------------------------------------------->
<!-- 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" />
<!-- JQuery library -->
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT" crossorigin="anonymous">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--css library-->
<link rel="stylesheet" href="./styles/monthlycalendar.css">
<link rel="stylesheet" href="./styles/button.css">
<!--css library-->
</head>
<body>
<div id="mainPage">
<!-- LINK to what I used https://www.codehim.com/date-time/dynamic-calendar-in-javascript-with-example/-->
<nav id="navbarTemplate"></nav>
<div id="sidebar" class="bg-warning text-dark">
<div></div>
<div id="groupSideList">
<p><b><span id="username_goes_here"></span>'s Cal</b></p>
<br>
<button class="btn btn-primary" id="personalbutton" class="testbuttonclassname" onclick="loadMyCal()"> My Cal</button></a>
<br><br>
</div>
<div id="legend2">
<h5 class = "legendTitle">Free</h5><div class="availableLegend"></div>
<h5 class = "legendTitle">Busy</h5><div class="notAvailableLegend"></div>
</div>
<div id="legend">
<h5 class = "legendTitle">AM</h5><div class="amLegend"></div>
<h5 class = "legendTitle">PM</h5><div class="pmLegend"></div>
<h5 class = "legendTitle">EVE</h5><div class="eveLegend"></div>
</div>
</div>
<div class="container">
<div class="wrapper" id = "calendarBox">
<div class="container-calendar">
<h3 id="monthAndYear"></h3>
<div class="button-container-calendar">
<button id="previous" onclick="previous()">‹</button>
<button id="next" onclick="next()">›</button>
</div>
<table class="table-calendar" id="calendar" data-lang="en">
<thead id="thead-month"></thead>
<tbody id="calendar-body"></tbody>
</table>
<div class="footer-container-calendar">
<label for="month">Jump To: </label>
<select id="month" onchange="jump()">
<option value=0>Jan</option>
<option value=1>Feb</option>
<option value=2>Mar</option>
<option value=3>Apr</option>
<option value=4>May</option>
<option value=5>Jun</option>
<option value=6>Jul</option>
<option value=7>Aug</option>
<option value=8>Sep</option>
<option value=9>Oct</option>
<option value=10>Nov</option>
<option value=11>Dec</option>
</select>
<select id="year" onchange="jump()"></select>
</div>
</div>
</div>
</div>
<div id="messaging">
<ul id="messages"></ul>
<input id="textbox" placeholder="Enter message" type="text">
<button id="button">Send</button>
</div>
<!-- <nav id="footerTemplate"></nav> -->
<!-- scripts -->
<script src="./scripts/firebaseAPI_TeamBBY04.js"></script>
<script src="./scripts/login_redirect.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/monthcalendar.js"></script>
<script src="./scripts/daily_schedule_edit.js"></script>
<script src="./scripts/create_&_join_group.js"></script>
</div>
</body>
</html>