-
Notifications
You must be signed in to change notification settings - Fork 8
/
calendar.html
374 lines (367 loc) · 23.1 KB
/
calendar.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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dash Manager</title>
<link type='text/css' href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,400italic,600' rel='stylesheet'>
<link type="text/css" href="assets/fonts/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link type="text/css" href="assets/fonts/themify-icons/themify-icons.css" rel="stylesheet">
<link type="text/css" href="assets/css/styles.css" rel="stylesheet">
<link type="text/css" href="assets/plugins/codeprettifier/prettify.css" rel="stylesheet">
<link type="text/css" href="assets/plugins/iCheck/skins/minimal/blue.css" rel="stylesheet">
<link rel="shortcut icon" href="assets/icons/favicon.png">
<!-- Controller -->
<script src="assets/js/jquery.js"></script>
<script src="assets/js/angular.min.js"></script>
<script src="assets/js/angular-cookies.min.js"></script>
<script src="controllers/calendar.js"></script>
<!-- CROPPER -->
<script src="assets/plugins/cropper/cropper.js"></script>
<link type="text/css" href="assets/plugins/cropper/cropper.css" rel="stylesheet">
<link type="text/css" href="assets/plugins/fullcalendar/fullcalendar.css" rel="stylesheet"> <!-- Calendar Plugin -->
<!-- Clockface -->
<script>
$(window).ready(function() {
$('#loading').hide();
});
</script>
<!-- For Form -->
<link type="text/css" href="assets/plugins/bootstrap-tokenfield/css/bootstrap-tokenfield.css" rel="stylesheet">
<!-- Tokenfield -->
</head>
<body class="animated-content" ng-app="calendarApp" ng-controller="calendarController" ng-cloak>
<div id="loading"></div>
<header id="topnav" class="navbar navbar-default navbar-fixed-top" role="banner">
<div class="logo-area">
<span id="trigger-sidebar" class="toolbar-trigger toolbar-icon-bg">
<a data-toggle="tooltips" data-placement="right" title="Toggle Sidebar">
<span class="icon-bg">
<i class="ti ti-menu"></i>
</span>
</a>
</span>
<a class="navbar-brand" href="index.html" style="width: 125px"></a>
<h1 style="font-size: 18px; font-weight: bold; text-transform: uppercase">{{schoolFancyName}}</h1>
</div>
<ul class="nav navbar-nav toolbar pull-right">
<li class="toolbar-icon-bg hidden-xs" id="trigger-fullscreen">
<a href="#" class="toggle-fullscreen"><span class="icon-bg"><i class="ti ti-fullscreen"></i></span></i></a>
</li>
<li class="dropdown toolbar-icon-bg hidden-xs">
<a href="#" class="has
tions dropdown-toggle" data-toggle='dropdown'><span class="icon-bg"><i class="ti ti-email"></i></span><span
class="badge badge-deeporange">2</span></a>
<div class="dropdown-menu notifications arrow">
<div class="topnav-dropdown-header">
<span>Messages</span>
</div>
<div class="scroll-pane">
<ul class="media-list scroll-content">
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Vincent Keller</strong> <span class="text-gray">‒ Design should be ...</span></h4>
<span class="notification-time">2 mins ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Frend Pratt</strong> <span class="text-gray">‒ I will start with the ...</span></h4>
<span class="notification-time">40 mins ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Cynthia Hines</strong> <span class="text-gray">‒ Interior bits are ...</span></h4>
<span class="notification-time">6 hours ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Robin Horton</strong> <span class="text-gray">‒ Are you even ...</span></h4>
<span class="notification-time">8 days ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Amanda Torrez</strong> <span class="text-gray">‒ The message is ...</span></h4>
<span class="notification-time">16 hours ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Khan Farhan</strong> <span class="text-gray">‒ Expected the stuff ...</span></h4>
<span class="notification-time">2 days ago</span>
</div>
</a>
</li>
<li class="media notification-message">
<a href="#">
<div class="media-left">
<img class="img-circle avatar" src="http://placehold.it/300&text=Placeholder" alt="" />
</div>
<div class="media-body">
<h4 class="notification-heading"><strong>Will Whedon</strong> <span class="text-gray">‒ The movie of this ...</span></h4>
<span class="notification-time">4 days ago</span>
</div>
</a>
</li>
</ul>
</div>
<div class="topnav-dropdown-footer">
<a href="#">See all messages</a>
</div>
</div>
</li>
<li class="dropdown toolbar-icon-bg">
<a href="#" class="hasnotifications dropdown-toggle" data-toggle='dropdown'><span class="icon-bg"><i class="ti ti-bell"></i></span><span class="badge badge-deeporange">2</span></a>
<div class="dropdown-menu notifications arrow">
<div class="topnav-dropdown-header">
<span>Notifications</span>
</div>
<div class="scroll-pane">
<ul class="media-list scroll-content">
<li class="media notification-success">
<a href="#">
<div class="media-left">
<span class="notification-icon"><i class="ti ti-check"></i></span>
</div>
<div class="media-body">
<h4 class="notification-heading">Update 1.0.4 successfully pushed</h4>
<span class="notification-time">8 mins ago</span>
</div>
</a>
</li>
<li class="media notification-info">
<a href="#">
<div class="media-left">
<span class="notification-icon"><i class="ti ti-check"></i></span>
</div>
<div class="media-body">
<h4 class="notification-heading">Update 1.0.3 successfully pushed</h4>
<span class="notification-time">24 mins ago</span>
</div>
</a>
</li>
<li class="media notification-teal">
<a href="#">
<div class="media-left">
<span class="notification-icon"><i class="ti ti-check"></i></span>
</div>
<div class="media-body">
<h4 class="notification-heading">Update 1.0.2 successfully pushed</h4>
<span class="notification-time">16 hours ago</span>
</div>
</a>
</li>
<li class="media notification-indigo">
<a href="#">
<div class="media-left">
<span class="notification-icon"><i class="ti ti-check"></i></span>
</div>
<div class="media-body">
<h4 class="notification-heading">Update 1.0.1 successfully pushed</h4>
<span class="notification-time">2 days ago</span>
</div>
</a>
</li>
<li class="media notification-danger">
<a href="#">
<div class="media-left">
<span class="notification-icon"><i class="ti ti-arrow-up"></i></span>
</div>
<div class="media-body">
<h4 class="notification-heading">Initial Release 1.0</h4>
<span class="notification-time">4 days ago</span>
</div>
</a>
</li>
</ul>
</div>
<div class="topnav-dropdown-footer">
<a href="#">See all notifications</a>
</div>
</div>
</li>
<li class="dropdown toolbar-icon-bg">
<a href="#" class="dropdown-toggle username" data-toggle="dropdown">
<img class="img-circle" src="http://placehold.it/300&text=Placeholder" alt="" />
</a>
<ul class="dropdown-menu userinfo arrow">
<li><a href="#/"><i class="ti ti-settings"></i><span>Account Settings</span></a></li>
<li><a href="#/" ng-click="logoutNow()"><i class="ti ti-shift-right"></i><span>Sign Out</span></a></li>
</ul>
</li>
</ul>
</header>
<div id="wrapper">
<div id="layout-static">
<div class="static-sidebar-wrapper sidebar-default">
<div class="static-sidebar">
<div class="sidebar">
<div class="widget stay-on-collapse" id="widget-sidebar">
<nav role="navigation" class="widget-body">
<ul class="acc-menu">
<li><a href="index.html"><i class="ti ti-layout-grid2"></i><span>Dashboard</span><span class="badge badge-teal">2</span></a></li>
<li><a href="events.html"><i class="ti ti-bell"></i><span>Events & Notifications</span></span></a></li>
<li><a href="attendance.html"><i class="ti ti-upload"></i><span>Upload Attendance</span></span></a></li>
<li>
<a href="javascript:;"><i class="ti ti-reload"></i><span>Workflow</span></a>
<ul class="acc-menu">
<li><a href="leaves.html">Leaves</a></li>
<li><a href="payments.html">Payments</a></li>
<li><a href="service-requests.html">Requests</a></li>
</ul>
</li>
<li><a href="inbox.html"><i class="ti ti-email"></i><span>Inbox</span></span></a></li>
<li><a href="calendar.html"><i class="ti ti-calendar"></i><span></span>Calendar</span></a></li>
<li><a href="student-profile.html"><i class="ti ti-search"></i><span>Search Student</span></span></a></li>
<li>
<a href="javascript:;"><i class="ti ti-settings"></i><span>Tools</span></a>
<ul class="acc-menu">
<li><a href="home-works.html">Upload Homeworks</a></li>
<li><a href="marklists.html">Upload Marklist</a></li>
<li><a href="messenger.html">Send Message</a></li>
<li><a href="progress-report.html">Progress Report Generator</a></li>
<li><a href="tc-generator.html">TC Generator</a></li>
</ul>
</li>
<li>
<a href="javascript:;"><i class="ti ti-user"></i><span>Profiles</span></a>
<ul class="acc-menu">
<li><a href="student-profile.html">Students</a></li>
<li><a href="teacher-profile.html">Teachers</a></li>
<li><a href="admin-profile.html">Administrators</a></li>
</ul>
</li>
<li>
<a href="javascript:;"><i class="ti ti-folder"></i><span>Resources</span></a>
<ul class="acc-menu">
<li><a href="class-management.html">Classes</a></li>
<li><a href="courses.html">Courses</a></li>
<li><a href="time-table.html">Time Tables</a></li>
</ul>
</li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<div class="static-content-wrapper">
<div class="static-content">
<div class="page-content">
<div class="container-fluid">
<div data-widget-group="group1">
<div class="row">
<div class="col-md-12">
<div class="panel panel-transparent" data-widget='{"draggable": "false"}'>
<div class="panel-heading">
<h1>School Calendar</h1>
<button class="pull-right btn btn-default" ng-click="addHolidayModal()"><i class="ti ti-plus"></i> Add New Holiday</button>
</div>
<div class="panel-body">
<div class="row">
<div id="calendar-external" class="col-sm-12"></div>
</div>
</div>
</div>
</div>
</div>
<!-- NEW HOLIDAY Modal -->
<div class="modal fade" id="viewModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<h2>New Holiday</h2>
<form>
<div class="row" style="padding-bottom: 2%;">
<div class="col-sm-4">
<label class="myPollLabel">Holiday name</label>
<input type="text" ng-model="holidayContent.title" class="form-control" placeholder="Enter a suitable, short title">
</div>
<div class="col-sm-4">
<label class="myPollLabel">Holiday Start</label>
<div class="input-group date">
<input type="text" ng-model="holidayContent.start" id="start" class="form-control">
<span class="input-group-addon"><i class="ti ti-calendar"></i></span>
</div>
</div>
<div class="col-sm-4">
<label class="myPollLabel">Holiday End</label>
<div class="input-group date">
<input type="text" ng-model="holidayContent.end" id="end" class="form-control">
<span class="input-group-addon"><i class="ti ti-calendar"></i></span>
</div>
</div>
</div>
<p style="color: #e74c3c; font-weight: bold; margin: 10px 0px 0px 0px; text-align: center; padding-bottom: 2%;">{{newContentSaveError}}</p>
<div class="modal-footer">
<button type="button" style="float: left" class="btn btn-default" data-dismiss="modal">Cancel</button>
<button type="button" class="btn btn-success" ng-click="addHoliday()">Add</button>
</div>
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
</div>
</div>
<!-- Container fluid -->
</div>
<!-- Page content -->
</div>
</div>
</div>
</div>
<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> <!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> <!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> <!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> <!-- Load Enquire -->
<script type="text/javascript" src="assets/plugins/form-typeahead/typeahead.bundle.min.js"></script> <!-- Typeahead for Autocomplete -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script> <!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>
<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script> <!-- Wijet -->
<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> <!-- Code Prettifier -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> <!-- Swith/Toggle Button -->
<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script> <!-- Bootstrap Tabdrop -->
<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script> <!-- iCheck -->
<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->
<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/plugins/form-validation/jquery.validate.min.js"></script> <!-- Validate Plugin -->
<script type="text/javascript" src="assets/plugins/form-stepy/jquery.stepy.js"></script> <!-- Stepy Plugin -->
<script type="text/javascript" src="assets/plugins/bootstrap-tokenfield/bootstrap-tokenfield.min.js"></script> <!-- Tokenfield -->
<script type="text/javascript" src="assets/demo/demo-formwizard.js"></script>
<script type="text/javascript" src="assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script> <!-- DateTime Picker -->
<script type="text/javascript" src="assets/plugins/clockface/js/clockface.js"></script> <!-- Clockface -->
<script type="text/javascript" src="assets/plugins/fullcalendar/moment.min.js"></script> <!-- Moment.js Dependency -->
<script type="text/javascript" src="assets/plugins/fullcalendar/fullcalendar.min.js"></script> <!-- Calendar Plugin -->
</body>
</html>