-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.html
611 lines (529 loc) · 28.2 KB
/
test.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
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="description" content="" />
<meta name="author" content="" />
<!-- MOBILE APP ICONS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="assets/icons/droid-icon.png">
<meta name="application-name" content="CACC Portal">
<meta name="msapplication-square150x150logo" content="assets/icons/win-icon.png" />
<link href="assets/icons/icon.png" rel="apple-touch-icon" />
<link href="assets/icons/startup.png" rel="apple-touch-startup-image" />
<!--[if IE]>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<![endif]-->
<title>CACC Portal</title>
<!-- BOOTSTRAP CORE STYLE -->
<link href="assets/css/bootstrap.css" rel="stylesheet" />
<!-- SEGOE UI SYMBOLS -->
<link href="assets/css/segoe-ui-symbol.css" rel="stylesheet">
<link href="assets/css/segoe-mdl2.css" rel="stylesheet">
<!-- FONT AWESOME ICONS -->
<link href="assets/css/font-awesome.css" rel="stylesheet" />
<!-- CUSTOM STYLE -->
<link href="assets/css/style.css" rel="stylesheet" />
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- HTML5 Shiv and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function () {
if (Notification.permission !== "granted")
Notification.requestPermission();
});
function notifyMe() {
if (!Notification) {
alert('Desktop notifications not available in your browser.');
return;
}
if (Notification.permission !== "granted")
Notification.requestPermission();
else {
var notification = new Notification('Round Time!', {
icon: 'assets/icons/round.png',
body: "Hey there! This is your round reminder!",
});
}
}
function loaded()
{
checktime();
roundtime();
currenttime();
}
function currenttime(){
function checkTime(i) {
return (i < 10) ? "0" + i : i;
}
function startTime() {
var today = new Date();
document.getElementById('time').innerHTML = formatAMPM(today);
var t = setTimeout(function () {
startTime()
}, 500);
}
startTime();
}
function formatAMPM(date) {
var hours = date.getHours();
var minutes = date.getMinutes();
var seconds = date.getSeconds();
var ampm = hours >= 12 ? 'pm' : 'am';
hours = hours % 12;
hours = hours ? hours : 12; // the hour '0' should be '12'
minutes = minutes < 10 ? '0'+minutes : minutes;
seconds = seconds < 10 ? '0'+seconds : seconds;
var strTime = hours + ':' + minutes +':' + seconds + ' ' + ampm;
return strTime;
}
function roundtime(){
function checkcurrentTime() {
var today = new Date(),
m = today.getMinutes();
m = parseInt(m,10);
var ratio = parseInt(m%15,10);
if(ratio == 0){
notifyMe();
}
var t = setTimeout(function () {
checkcurrentTime()
}, 60000);
}
checkcurrentTime();
}
function checktime(){
var objDate = new Date();
var hours = objDate.getHours();
if(hours <= 11 && hours >= 6 ){
var supcheckrow = document.getElementById("supplychecklistrow");
supcheckrow.style.display = 'inline';
var openingcheckrow = document.getElementById("openingchecklistrow");
openingcheckrow.style.display = 'inline';
}
if(hours >= 21 || hours <= 5 ){
var supcheckrow = document.getElementById("closingchecklistrow");
supcheckrow.style.display = 'inline';
var objDate = new Date();
var day = objDate.getDay();
if(day == 0){
document.getElementById("suponcalltext").innerHTML = "Today <b>Chris Hilinski</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 1){
document.getElementById("suponcalltext").innerHTML = "Today <b>Jessica Lopez</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 2){
document.getElementById("suponcalltext").innerHTML = "Today <b>Daphne Charles</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 3){
document.getElementById("suponcalltext").innerHTML = "Today <b>Aaron Lynch</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 4){
document.getElementById("suponcalltext").innerHTML = "Today <b>Kasia Dobrzycka</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 5){
document.getElementById("suponcalltext").innerHTML = "Today <b>John Kirby</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
else if(day == 6){
document.getElementById("suponcalltext").innerHTML = "Today <b>Nicole Pagliuca</b> is the Supervisor-On-Call. Click here to see the Supervisor Phone List.";
}
var suponcallrow = document.getElementById("suponcallrow");
suponcallrow.style.display = 'inline';
}
}
</script>
</head>
<body onload="loaded()">
<header>
<div class="container">
<div class="row">
<div class="col-md-12">
<button type="button" class="btn btn-primary">Consultant View</button>
<a href="../secret/sup.html"><button type="button" class="btn btn-outline-primary">Go to Supervisor View</button></a>
</div>
</div>
</div>
</header>
<!-- HEADER END-->
<div class="navbar navbar-inverse set-radius-zero">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="page-header">
<h1>CACC Portal</h1>
</div>
</div>
</div>
<!-- LOGO HEADER END-->
<section class="menu-section">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="navbar-collapse collapse ">
<ul id="menu-top" class="nav navbar-nav center-block" >
<li style="width:120px !important;"><a class="menu-top-active text-center" href="index.html" data-toggle="tooltip" data-placement="top" title="Dashboard">
<span class="glyphicon glyphicon-home fa-2x"></span><br>Dashboard
</a></li>
<li style="width:120px !important;"><a class="text-center" href="zed.html" data-toggle="tooltip" data-placement="top" title="ZED">
<span class="glyphicon glyphicon-piggy-bank fa-2x"></span><br>Zed</a></li>
<li style="width:120px !important;"><a class="text-center" href="http://connect.rutgers.edu" target="_blank" data-toggle="tooltip" data-placement="top" title="Connect">
<span class="glyphicon glyphicon-envelope fa-2x"></span><br>Connect</a></li>
<li style="width:120px !important;"><a class="text-center" href="resnet.html" data-toggle="tooltip" data-placement="top" title="Resnet">
<span class="glyphicon glyphicon-wrench fa-2x"></span><br>Resnet</a></li>
<li style="width:120px !important;"><a class="text-center" href="iml.html" data-toggle="tooltip" data-placement="top" title="IML">
<span class="glyphicon glyphicon-calendar fa-2x"></span><br>IML</a></li>
<li style="width:120px !important;"><a class="text-center" href="pts.html" data-toggle="tooltip" data-placement="top" title="PTS">
<span class="glyphicon glyphicon-star fa-2x"></span><br>PTS</a></li>
<li style="width:120px !important;"><a class="text-center" href="nagios.html" data-toggle="tooltip" data-placement="top" title="Nagios">
<span class="glyphicon glyphicon-print fa-2x"></span><br>Nagios</a></li>
<li style="width:120px !important;"><a class="text-center" href="contact.html" data-toggle="tooltip" data-placement="top" title="Information">
<span class="glyphicon glyphicon-info-sign fa-2x"></span><br>Info</a></li>
<li style="width:120px !important;"><a class="text-center" href="https://sakai.rutgers.edu/portal/directtool/02c28b61-a787-421a-a3e7-406afcc8acc3/" target="_blank" data-toggle="tooltip" data-placement="top" title="Wiki">
<span class="glyphicon glyphicon-question-sign fa-2x"></span><br>Wiki</a></li>
</ul>
</div>
</div>
</div>
</div>
</section>
<!-- MENU SECTION END-->
<div class="content-wrapper">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="page-head-line">
<div class="row">
<div class="col-md-4">
Dashboard
</div>
<div class="col-md-4" style="text-align: center;">
<h3><b id="time"></b></h3>
<!-- <p>Round Timer</p>-->
</div>
<div class="col-md-4">
<a href="https://www.facebook.com/groups/719153624856206/" target="_blank">
<img style="float: right;" src="assets/img/facebook_button.gif" height=30/>
</a>
<button onclick="notifyMe()">
Notify me!
</button>
</div>
</div>
</div>
</div>
</div>
<div id="COTM" class="row"
style="display:none;">
<div class="col-md-12">
<div class="alert alert-success">
<i class="fa fa-certificate" style="color: black"></i>
Consultants of the month: Firsts Lasts
</div>
</div>
</div>
<div id="openingchecklistrow" class="row"
style="display:none;">
<div class="col-md-12">
<a href="http://nbcs.rutgers.edu/ccf/cac/staff/Checklists.pdf" target="_blank">
<div class="alert alert-danger">
Review the shift checklist for special duties during opening shfits.
</div>
</a>
</div>
</div>
<div id="suponcallrow" class="row" style="display:none;">
<div class="col-md-12">
<a href="http://www.nbcs.rutgers.edu/ccf/cac/staff/numbers.htm" target="_blank">
<div id="suponcalltext" class="alert alert-success">
</div>
</a>
</div>
</div>
<div id="closingchecklistrow" class="row"
style="display:none;">
<div class="col-md-12">
<a href="http://nbcs.rutgers.edu/ccf/cac/staff/Checklists.pdf" target="_blank">
<div class="alert alert-danger">
Closing Shift Checklist.
</div>
</a>
</div>
</div>
<div id="supplychecklistrow" class="row" style="display:none;">
<div class="col-md-12">
<a href="https://sc-apps.rutgers.edu/cac/supplies/" target="_blank">
<div class="alert alert-danger">
Click here to send the supplies checklist if you are working the opening shift at RSC or ALEXU.
</div>
</a>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center" style="margin-bottom: 20px">
<a href="https://forms.office.com/Pages/ResponsePage.aspx?id=IystuTVNcEST_2mspmMv_lhUnfH11QlIndy1MhrIU35UNkM0WjVQQjJMRUg5NjBBQVdTS0lTODdCVy4u" target="_blank">
<h3>Experiencing any bugs? Have any suggestions? Fill out our survey!</h3>
</a></div>
</div>
<!-- ANNOUNCEMENTS OR TWITTER -->
<div class="row">
<!-- <div class="notice-board">
<div class="panel panel-default">
<div class="panel-heading">
Announcements
</div>
<div class="panel-body">
<ul >
<li>
<span class="glyphicon glyphicon-info-sign text-info" ></span>
This is an important announcement for all consultants
<span class="label label-info" >All Consultants</span>
</li>
<li>
<span class="glyphicon glyphicon-info-sign text-danger" ></span>
This is an important announcement for resnet consultants
<span class="label label-danger" >Resnet Consultants</span>
</li>
</ul>
</div>
<div class="panel-footer"></div>
</div>
</div>-->
<div class="col-md-12">
<div> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdGu1yztp1MA_dl1NBUaz-XDg7D90-A3NrVMya0B7i-hrcEwQ/viewform?formkey=dElZTkFFN0xoMks2Z1oyWlhkLUstNUE6MQ" target="_blank">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-one">
<i class="fa fa-print dashboard-div-icon" ></i>
<h5>Print Release Form</h5>
</div>
</div>
</a>
</div>
<div>
<a href="https://docs.google.com/forms/d/e/1FAIpQLSf8WrxQ4l3n9I0-BhGJskq0WMACjEe2EkV2t43HHVGV_q0bPQ/viewform" target="_blank">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-two">
<i class="fa fa-calendar-o dashboard-div-icon" ></i>
<h5>Coverage Reporting Form</h5>
</div>
</div>
</a>
</div>
<div> <a href="https://sc-apps.rutgers.edu/maintenance/" target="_blank">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-three">
<i class="fa fa-wrench dashboard-div-icon" ></i>
<h5>Down Machine Form</h5>
</div>
</div>
</a>
</div>
<div> <a href="https://docs.google.com/forms/d/e/1FAIpQLSdAlsG9Sk2iUyFHapqam-I77P987ddGLiGv4u67ClGlXNNMXQ/viewform?hl=en&formkey=dHVXRzI2UExkWmZhd1NpMUdoM093VVE6MQ#gid=0" target="_blank">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-four">
<i class="fa fa-refresh dashboard-div-icon" ></i>
<h5>Toner Change Form</h5>
</div>
</div>
</a>
</div>
<!-- EXTRA TILES -->
<!-- <div> <a href="">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-five">
<i class="fa fa-refresh dashboard-div-icon" ></i>
<h5>Extra Tile</h5>
</div>
</div>
</a>
</div>
<div> <a href="">
<div class="col-md-3 col-sm-4 col-xs-6">
<div class="dashboard-div-wrapper bk-clr-six">
<i class="fa fa-refresh dashboard-div-icon" ></i>
<h5>Extra Tile</h5>
</div>
</div>
</a>
</div>-->
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="page-head-line">Stats & Announcements</div>
</div>
</div>
<div class="row">
<div class="col-md-8">
<!-- Change the width and height values to suit you best -->
<div class="typeform-widget" data-url="https://codegod.typeform.com/to/CzfMmP" data-text="Stats" style="width:100%;height:500px;"></div>
<script>(function(){var qs,js,q,s,d=document,gi=d.getElementById,ce=d.createElement,gt=d.getElementsByTagName,id='typef_orm',b='https://s3-eu-west-1.amazonaws.com/share.typeform.com/';if(!gi.call(d,id)){js=ce.call(d,'script');js.id=id;js.src=b+'widget.js';q=gt.call(d,'script')[0];q.parentNode.insertBefore(js,q)}})()</script>
</div>
<div class="col-md-4">
<a class="twitter-timeline" data-lang="en" data-height="500" data-theme="light" data-link-color="#2B7BB9" href="https://twitter.com/cacc_lab">Tweets by cacc_lab</a>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>
</div>
<!-- <div class="row">
<div class="col-md-12">
<div class="page-head-line">Slack</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<iframe src="https://cacclab.slack.com/messages/general/" height="500" width="100%" style="border:none;"></iframe>
</div>
</div>-->
<!--
<div class="row">
<div class="col-md-12">
<div class="page-head-line">IML Calendar</div>
</div>
</div>
<div class="row">
<div class="col-md-12">
<iframe src="https://sakai.rutgers.edu/portal/directtool/02c28b61-a787-421a-a3e7-406afcc8acc3/" width="100%" style="border:none;"></iframe>
</div>
</div>-->
<!-- <div class="row">
<div class="col-md-12">
<div class="page-head-line"> Others</div>
</div>
</div>-->
<!-- <div class="row">
<iframe src="https://sakai.rutgers.edu/portal/site/d065c59f-e74b-4e6f-844f-3c4e965ab92f/tool/02c28b61-a787-421a-a3e7-406afcc8acc3" height="500" width="100%" style="border:none;"></iframe>
<!-- <div class="col-md-6">
<div class="text-center alert alert-warning">
<a href="#" class="btn btn-social btn-facebook">
<i class="fa fa-facebook"></i> Facebook</a>
<a href="#" class="btn btn-social btn-google">
<i class="fa fa-google-plus"></i> Google</a>
<a href="#" class="btn btn-social btn-twitter">
<i class="fa fa-twitter"></i> Twitter </a>
<a href="#" class="btn btn-social btn-linkedin">
<i class="fa fa-linkedin"></i> Linkedin </a>
</div>
<hr />
<div class="table-responsive">
<table class="table table-striped table-bordered table-hover">
<thead>
<tr>
<th>Ref. No.</th>
<th>Date</th>
<th>Amount</th>
<th>Status</th>
<th>Delivery On </th>
<th># #</th>
</tr>
</thead>
<tbody>
<tr>
<td># 2501</td>
<td>01/22/2015 </td>
<td>
<label class="label label-info">300 USD </label>
</td>
<td>
<label class="label label-success">Delivered</label></td>
<td>01/25/2015</td>
<td> <a href="#" class="btn btn-xs btn-danger" >View</a> </td>
</tr>
<tr>
<td># 15091</td>
<td>12/12/2014 </td>
<td>
<label class="label label-danger">7000 USD </label>
</td>
<td>
<label class="label label-warning">Shipped</label></td>
<td>N/A</td>
<td> <a href="#" class="btn btn-xs btn-success" >View</a> </td>
</tr>
<tr>
<td># 11291</td>
<td>12/03/2014 </td>
<td>
<label class="label label-warning">7000 USD </label>
</td>
<td>
<label class="label label-success">Delivered</label></td>
<td>01/23/2015</td>
<td> <a href="#" class="btn btn-xs btn-primary" >View</a> </td>
</tr>
<tr>
<td># 1808</td>
<td>11/10/2014 </td>
<td>
<label class="label label-success">2000 USD </label>
</td>
<td>
<label class="label label-info">Returned</label></td>
<td>N/A</td>
<td> <a href="#" class="btn btn-xs btn-danger" >View</a> </td>
</tr>
</tbody>
</table>
</div>
</div> -->
<!-- <div class="col-md-6">
<div class="alert alert-danger">
This is a simple admin template that can be used for your small project or may be large projects. This is free for personal and commercial use.
</div>
<div class="Compose-Message">
<div class="panel panel-success">
<div class="panel-heading">
Compose New Message
</div>
<div class="panel-body">
<label>Enter Recipient Name : </label>
<input type="text" class="form-control" />
<label>Enter Subject : </label>
<input type="text" class="form-control" />
<label>Enter Message : </label>
<textarea rows="9" class="form-control"></textarea>
<hr />
<a href="#" class="btn btn-warning"><span class="glyphicon glyphicon-envelope"></span> Send Message </a>
<a href="#" class="btn btn-success"><span class="glyphicon glyphicon-tags"></span> Save To Drafts </a>
</div>
<div class="panel-footer text-muted">
<strong>Note : </strong>Please note that we track all messages so don't send any spams.
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
<!-- CONTENT-WRAPPER SECTION END-->
<footer>
<div class="container">
<div class="row">
<div class="col-md-8">
© 2016 CACC Portal
</div>
<div class="col-md-4">
<p> YG <span class="fa fa-windows"/>   DC <span class="fa fa-heart"/> </p>
</div>
</div>
</div>
</footer>
<!-- FOOTER SECTION END-->
<!-- JAVASCRIPT AT THE BOTTOM TO REDUCE THE LOADING TIME -->
<!-- CORE JQUERY SCRIPTS -->
<script src="assets/js/jquery-1.11.1.js"></script>
<!-- BOOTSTRAP SCRIPTS -->
<script src="assets/js/bootstrap.js"></script>
</body>
</html>