-
Notifications
You must be signed in to change notification settings - Fork 0
/
AddEvent.html
105 lines (93 loc) · 2.95 KB
/
AddEvent.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
<!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.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 type="text/javascript">
$(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>Never Forget - Add 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 class="active"><a href="AddEvent.html">Add Event</a></li>
<li><a href="ModifyEvent.html">Modify Event</a></li>
<li><a href="DeleteEvent.html">Delete Event</a></li>
</ul>
</div>
</nav>
<p> <h1 align="center">Add Event to 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>
<h3 class="modal-title">Enter Event details</h3>
</div>
<div class="modal-body">
<form>
<table style="font-size:26px" >
<tr>
<td style="padding:35px"> Event Date</td>
<td style="padding:35px"><input type="date" name="eventdate" style="width: 300px;" ></td>
</tr>
<tr>
<td style="padding:35px">Start Time</td>
<td style="padding:35px"><input type="text" id="Stimefield" style="width: 300px;"placeholder="HH:MM">
<script>
$('#Stimefield').timeEntry();
</script></td>
</tr>
<tr>
<td style="padding:35px">End Time</td>
<td style="padding:35px"><input type="text" id="Etimefield" style="width: 300px;"placeholder="HH:MM">
<script>
$('#Etimefield').timeEntry();
</script></td>
</tr>
<tr>
<td style="padding:35px">Priority</td>
<td style="padding:35px"><select>
<option value="High">High</option>
<option value="Medium">Medium</option>
<option value="Low">Low</option>
</select>
</td>
</tr>
</table>
<button type="submit" class="btn btn-default">Submit</button>
<button type="submit" data-dismiss="modal" class="btn btn-default">Cancel</button>
</form>
</div>
</div>
</body>
</html>