generated from comp1800/web_template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdaily_schedule_edit.html
70 lines (54 loc) · 2.82 KB
/
daily_schedule_edit.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>daily schedule edit page </title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <link rel="stylesheet" href="style.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://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!--css library-->
<link rel="stylesheet" href="./styles/monthlycalendar.css">
</head>
<body>
<div class="container">
<h3 id="pagetitle"></h3>
<br>
<form>
<label for="ftitle">Title:</label>
<input type="text" id="event_title" name="event_name"><br><br>
<label for="eventdate">Date:</label>
<input type="date" id="event_date" name="event_date"><br><br>
<p>TimeSlot:</p>
<input type="radio" class="timeslot" name="timeslot" value="AM">
<label for="AM">AM</label><br>
<input type="radio" class="timeslot" name="timeslot" value="PM">
<label for="PM">PM</label><br>
<input type="radio" class="timeslot" name="timeslot" value="Eve">
<label for="Eve">Eve</label>
<br><br>
<br><br>
<a href="#" onclick="window.close();return false;"><button class="btn btn-primary"
type="button">Cancel</button></a>
<a href="#"><button class="btn btn-primary" type="button" onclick="insertEvent()">Add</button></a>
<br><br><br>
<!-- Delete function with confirmation -->
<a href="#" onclick="confirmation()"><button class="btn btn-primary"
type="button">Delete</button></a>
</form>
</div>
<script src="./scripts/firebaseAPI_TeamBBY04.js"></script>
<script src="./scripts/daily_schedule_edit.js"></script>
</body>
</html>