-
Notifications
You must be signed in to change notification settings - Fork 0
/
DeleteEvent.html
73 lines (63 loc) · 2.17 KB
/
DeleteEvent.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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/bootstrap-theme.css">
<script src="js/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<link rel='stylesheet' href='fullcalendar-2.7.1/fullcalendar.css'>
<script src='fullcalendar-2.7.1/lib/moment.min.js'></script>
<script src='fullcalendar-2.7.1/fullcalendar.js'></script>
<script>
$(document).ready(function() {
// page is now ready, initialize the calendar...
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,basicWeek,basicDay'
},
dayClick: function( date, allDay, jsEvent, view ) {
$('#myModal').modal();
}
// put your options and callbacks here
})
});
</script>
<title>Delete Event</title>
</head>
<body>
<nav class="navbar navbar-custom">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="NFHome.html">Never Forget</a>
</div>
<ul class="nav navbar-nav">
<li><a href="NFHome.html">Home</a></li>
<li><a href="AddEvent.html">Add Event</a></li>
<li><a href="ModifyEvent.html">Modify Event</a></li>
<li class="active"><a href="DeleteEvent.html">Delete Event</a></li>
</ul>
</div>
</nav>
<p> <h1 align="center">Delete Events in Your Calender</h1><br><br> </p>
<div class="container">
<div id='calendar'></div>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Confirm Event Deletion</h4>
</div>
<div class="modal-body">
<p>Are you sure you want to delete the event?</p>
</div>
<div class="modal-footer">
<button type="submit" class="btn btn-default">Yes</button>
<button type="submit" data-dismiss="modal" class="btn btn-default">No</button>
</div>
</div>