-
Notifications
You must be signed in to change notification settings - Fork 0
/
create-request-vms.html
executable file
·998 lines (925 loc) · 71.3 KB
/
create-request-vms.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
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Surat Municipal Corporation</title>
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
<link rel="stylesheet" href="assets/js/datatables.net-bs/css/dataTables.bootstrap.min.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/css/select2.min.css" />
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.css" />
<link rel="stylesheet" href="assets/css/bootstrap-multiselect.css" />
<link rel="stylesheet" href="assets/css/lightbox.min.css">
<link rel="stylesheet" href="assets/Ionicons/css/ionicons.min.css">
<link rel="stylesheet" href="assets/icofont/icofont.min.css">
<link rel="stylesheet" href="assets/css/AdminLTE.css">
<link rel="stylesheet" href="assets/css/skins/skin-blue-light.css">
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<link rel="icon" type="image/png" href="assets/img/smc_logo.png" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600,700,300italic,400italic,600italic">
</head>
<body class="hold-transition skin-blue-light sidebar-mini">
<div class="wrapper">
<!-- Main Header -->
<header class="main-header">
<!-- Logo -->
<a href="#" class="logo">
<span class="logo-mini"></span>
<span class="logo-lg"></span>
</a>
<!-- Header Navbar -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
<i class="fas fa-bars"></i>
</a>
<!-- Navbar Right Menu -->
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li>
<a href="#!" onclick=" javascript:toggleFullScreen()"><i class="full-screen fa fa-expand"></i></a>
</li> <!-- Issue -->
<li class="dropdown notifications-menu">
<!-- Menu toggle button -->
<a href="#" data-toggle="modal" data-target="#reportIssueTop" data-backdrop="static" data-keyboard="false">
<i class="far fa-flag"></i>
</a>
</li>
<!-- Notifications -->
<li class="dropdown notifications-menu">
<!-- Menu toggle button -->
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="far fa-bell"></i>
<span class="label label-success">5</span>
</a>
<ul class="dropdown-menu">
<li class="header">Recent Critical Update</li>
<li>
<ul class="menu">
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 5 mins</small>
</h4>
<p>Vehicle is marked for showing in the map. Black Vehicle, Wanted Category</p>
</a>
</li>
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 14 mins</small>
</h4>
<p>Vehicle tracking is enabled. Black Vehicle, Wanted Category</p>
</a>
</li>
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 22 mins</small>
</h4>
<p>Green Vehicle, Wanted Category. Alert Issued by Surat Police</p>
</a>
</li>
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 1 hr</small>
</h4>
<p>Green Vehicle, Wanted Category. Alert Issued by Surat Police</p>
</a>
</li>
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 1 hr</small>
</h4>
<p>Green Vehicle, Wanted Category. Alert Issued by Surat Police</p>
</a>
</li>
<li>
<a href="#">
<h4>KL 01 CH 7071 <small><i class="fa fa-clock-o"></i> 1 hr</small>
</h4>
<p>Green Vehicle, Wanted Category. Alert Issued by Surat Police</p>
</a>
</li>
<!-- end notification -->
</ul>
</li>
<li class="footer"><a href="#">View all</a></li>
</ul>
</li>
<!-- User Account Menu -->
<li class="dropdown user user-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<img src="assets/img/user.png" class="user-image visible-xs-block">
<span class="hidden-xs">Alexander Pierce</span>
</a>
<ul class="dropdown-menu">
<li class="header"><a href="#" class=""><i class="icofont-user-alt-2"></i> My Profile</a></li>
<li class="header"><a href="#" class=""><i class="icofont-logout"></i> Logout</a></li>
</ul>
</li>
</ul>
</div>
</nav>
</header>
<!--Report Issue-->
<div class="modal fade" id="reportIssueTop" tabindex="-1">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">Report Issue</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Date</label>
<input class="form-control" type="text" readonly value="18/09/2019"></div>
</div>
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Priority</label>
<select class="form-control select2" data-placeholder="Select Issue Priority" style="width: 100%">
<option></option>
<option>Priority 1</option>
<option>Priority 2</option>
<option>Priority 3</option>
</select> </div>
</div>
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Priority</label>
<select class="form-control select2" data-placeholder="Select Issue Priority" style="width: 100%">
<option></option>
<option>Priority 1</option>
<option>Priority 2</option>
<option>Priority 3</option>
</select> </div>
</div>
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Assignee</label>
<select class="form-control select2" data-placeholder="Select Assignee Group" style="width: 100%">
<option></option>
<option>Assignee Group 1</option>
<option>Assignee Group 2</option>
<option>Assignee Group 3</option>
</select> </div>
</div>
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Issue Summary</label>
<textarea class="form-control" rows="3" placeholder="Enter a breif summary"></textarea>
</div>
</div>
<div class="col-sm-4 col-md-4">
<div class="form-group">
<label>Description</label>
<textarea class="form-control" rows="3" placeholder="Enter description less than 250 characters"></textarea>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default btn-flat" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-success btn-flat pull-left">Save</button>
</div>
</div>
</div>
</div>
<!-- Left side column -->
<aside class="main-sidebar">
<!-- sidebar -->
<section class="sidebar">
<!-- Sidebar Menu -->
<ul class="sidebar-menu" data-widget="tree">
<li class="active treeview menu-open">
<a href="#"><i class="fas fa-traffic-light"></i> <span>Traffic Guidance System</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="#"><i class="fas fa-desktop"></i> Dashboard</a></li>
<li class="treeview active">
<a href="#"><i class="fas fa-solar-panel"></i> <span>Variable Message Signboard</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="vms-manage-requests.html"><i class="far fa-file-alt"></i> Manage Requests</a></li>
<li><a href="#"><i class="fas fa-hourglass-half"></i> Overall Schedule & Preview</a></li>
</ul>
</li>
<li class="treeview">
<a href="#"><i class="fas fa-tachometer-alt"></i> <span>Speed Control Signboard</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="scs-manage-requests.html"><i class="far fa-file-alt"></i> Manage Requests</a></li>
</ul>
</li>
<li class="treeview">
<a href="#"><i class="fas fa-globe"></i> <span>Website</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="manage-feedback.html"><i class="far fa-comment"></i> Manage Feedback</a></li>
</ul>
</li>
<li class="treeview">
<a href="#"><i class="fas fa-sliders-h"></i> <span>Configurations</span>
<span class="pull-right-container">
<i class="fa fa-angle-left pull-right"></i>
</span>
</a>
<ul class="treeview-menu">
<li><a href="manage-information-providers.html"><i class="far fa-address-book"></i> Manage Information Providers</a></li>
<li><a href="manage-vms-scs.html"><i class="fas fa-server"></i> Manage VMS & SCS</a></li>
<li><a href="preconfigured-message-list.html"><i class="far fa-comment-dots"></i> Preconfigured Message List</a></li>
</ul>
</li>
</ul>
</li>
</ul>
<!-- /.sidebar-menu -->
</section>
<!-- /.sidebar -->
</aside>
<!-- Content Wrapper-->
<div class="content-wrapper">
<!-- Content Header-->
<section class="content-header">
<h1>Create VMS Request</h1>
</section>
<!-- Main content -->
<section class="content container-fluid">
<div class="row">
<div class="col-md-12">
<div class="box box-default box-solid">
<div class="box-header with-border">
<h3 class="box-title">Select Device, Template & Widget</h3>
<div class="box-tools short-tooltip">
<a href="vms-manage-requests.html" class="back-btn-header" data-html="true" data-toggle="tooltip" data-placement="left" data-original-title="<p class='text-left'>Back to Manage Requests</p>"><i class="fas fa-caret-square-left"></i></a>
</div>
</div>
<div class="box-body">
<div class="row">
<div class="col-md-12">
<div class="row">
<div class="col-sm-6 col-md-4">
<div class="form-group">
<label>Select VMS/ VMS Group</label>
<select class="form-control select2" data-placeholder="Select Group" style="width: 100%">
<option></option>
<option>VMS</option>
<option>VMS Group</option>
</select>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class=" form-group">
<label>Select Devices</label>
<select multiple="multiple" class="form-control" id="SelectDevice" style="width: 100%">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>
</div>
</div>
</div>
<hr />
<div class="row">
<div class="col-md-6">
<!-- Template Grid -->
<label>Select Template</label>
<div class="all-templates">
<ul class="row template-select-grid">
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template1" class="input-hidden" checked />
<label for="template1">
<img src="assets/img/template/thumbnail/wireframe.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe.jpg" data-lightbox="Template 1" data-title="Template 2:3 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template2" class="input-hidden" />
<label for="template2">
<img src="assets/img/template/thumbnail/wireframe2.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe2.jpg" data-lightbox="Template 2" data-title="Template 3:2 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template3" class="input-hidden" />
<label for="template3">
<img src="assets/img/template/thumbnail/wireframe3.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe3.jpg" data-lightbox="Template 3" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template4" class="input-hidden" />
<label for="template4">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 4" data-title="Template 3:2 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template5" class="input-hidden" />
<label for="template5">
<img src="assets/img/template/thumbnail/wireframe.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe.jpg" data-lightbox="Template 5" data-title="Template 3:2 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template6" class="input-hidden" />
<label for="template6">
<img src="assets/img/template/thumbnail/wireframe3.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe2.jpg" data-lightbox="Template 6" data-title="Template 3:2 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template7" class="input-hidden" />
<label for="template7">
<img src="assets/img/template/thumbnail/wireframe2.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe3.jpg" data-lightbox="Template 7" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template8" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template9" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template10" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template11" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template12" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template13" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
<li class="col-sm-4 col-md-3">
<input type="radio" name="templateSelection" id="template14" class="input-hidden" />
<label for="template8">
<img src="assets/img/template/thumbnail/wireframe4.jpg" class="img-responsive">
<span class="selectedTemplate"><i class="fas fa-check-circle"></i></span>
<span class="zoomTemplate"><a href="assets/img/template/thumbnail/wireframe4.jpg" data-lightbox="Template 8" data-title="Template 1:1 Column"><i class="fas fa-search"></i></a></span>
</label>
</li>
</ul>
</div>
</div>
<div class="col-md-6">
<div class="row">
<div class="col-sm-12">
<label>Select Widget</label>
<center class="widget-table">
<table width="800" class="table table-bordered template-table">
<tbody>
<tr>
<td><a href="#addMessageContent" class="txtContent">WIDGET 1</a></td>
<td><a href="#addMessageContent" class="imgContent">WIDGET 2</a></td>
</tr>
<tr>
<td colspan="2"><a href="#addMessageContent" class="videoContent">WIDGET 3</a></td>
</tr>
</tbody>
</table>
</center>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#selectSchedule">
Select Schedule
</a>
</h4>
</div>
<div id="selectSchedule" class="panel-collapse collapse">
<div class="panel-body">
Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#configureWidget">
Configure Text Message for Widget 1
</a>
</h4>
</div>
<div id="configureWidget" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="col-sm-12">
<div class="form-group">
<label class=" radio-inline">
<input type="radio" name="optionsMessage" id="optionsNew" value="New Message Content" checked="" onclick="show1();">
New Message Content
</label>
<label class="radio-inline">
<input type="radio" name="optionsMessage" id="optionsExisting" value="Existing Message Content" onclick="show2();">
Existing Message Content
</label>
</div>
<div class="row">
<div id="ExistingMsgContent" style="display: none;">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Message Code</label>
<select class="form-control select2" data-placeholder="Select Message Code" style="width: 100%">
<option></option>
<option>ADV/1/2019</option>
<option>ADV/2/2019</option>
</select> </div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Message Name</label>
<input class="form-control" type="text" placeholder="Message Name" disabled value="">
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Display Duration</label>
<input class="form-control" type="text" placeholder="hh:mm:ss">
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<label>Message Preview</label>
<textarea class="form-control" rows="3" disabled>This text is visible</textarea>
</div>
</div>
</div>
<div id="NewMsgContent">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Message Name</label>
<input class="form-control" type="text" placeholder="Message Name" value="">
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Display Duration</label>
<input class="form-control" type="text" placeholder="hh:mm:ss">
</div>
</div>
<div class="msgFormat" id="imgFormat">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label class="empty-lbl">Choose Image</label>
<input type="file" class="imguploader" id="imgInp" style="visibility: hidden; position: absolute">
<button class="imguploader-btn btn btn-primary btn-flat pull-left">Upload Image</button><small class="help-block">Max File size 2 MB</small>
</div>
</div>
<div class="col-sm-12 col-md-12">
<img id="MsgImgInput" class="prevImg" style="display: none;" />
</div>
</div>
<div class="col-sm-12 msgFormat" id="txtFormat">
<div class="form-group">
<label>Text Message</label>
<textarea class="form-control" rows="3" placeholder="Type your message"></textarea>
</div>
</div>
<div class="msgFormat" id="videoFormat">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label class="empty-lbl">Choose Video</label>
<input type="file" class="fileuploader" style="visibility: hidden; position: absolute">
<button class="fileuploader-btn btn btn-primary btn-flat pull-left">Upload Video</button><small class="help-block">Max File size 12 MB</small>
</div>
</div>
<div class="col-sm-12 col-md-12">
<div id="VideoMsgPreview"></div>
</div>
</div>
</div>
<div class="col-sm-12">
<div class="form-group">
<button type="button" class="btn btn-primary btn-flat">Add Message</button>
</div>
</div>
</div>
<div class="form-group">
<div class="table-responsive">
<table class="table table-bordered table-striped table-hover table-message" id="message-table">
<thead>
<tr>
<th>Message Code</th>
<th>Message Name</th>
<th>Message Content</th>
<th class="text-center">Action</th>
</tr>
</thead>
<tbody>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
<tr>
<td>ADV/19/2019</td>
<td>Display Message 1 </td>
<td>Display Message 1 </td>
<td class="text-center" width="10%"><a><i class="fas fa-trash-alt" title="Delete"></i></a></td>
</tr>
</tbody>
</table>
</div>
</div>
<button type="button" class="btn btn-success btn-flat" id="saveWidgetDetails">Save Widget Details</button>
</div>
</div>
</div>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion" href="#requestInformation">
Enter Request Information
</a>
</h4>
</div>
<div id="requestInformation" class="panel-collapse collapse">
<div class="panel-body">
<div class="row">
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Information Provided By</label>
<select class="form-control select2" data-placeholder="Select Information" style="width: 100%">
<option></option>
<option>RC-1</option>
<option>RC-2</option>
</select>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Source/Reported Via</label>
<select class="form-control select2" data-placeholder="Select Source/Reported Via" style="width: 100%">
<option></option>
<option value="SMS">SMS</option>
<option value="Phone">Phone</option>
<option value="Fax">Fax</option>
<option value="Email">Email</option>
<option value="System">System</option>
</select>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Reported On Date & Time</label>
<div class="input-group">
<div class="input-group-addon"><i class="far fa-calendar-alt"></i></div>
<input type="text" placeholder="Reported On Date & Time" class="form-control dateSingleTime bg-white" readonly="readonly">
</div>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label id="lblmake">Priority</label>
<select class="form-control select2" data-placeholder="Select Priority" style="width: 100%">
<option></option>
<option value="Critical">Critical</option>
<option value="High">High</option>
<option value="Medium">Medium</option>
<option value="Low">Low</option>
</select>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group">
<label>Message Category</label>
<select class="form-control select2" data-placeholder="Select Category" style="width: 100%">
<option></option>
<option>ADV</option>
<option>PA</option>
</select>
</div>
</div>
<div class="col-sm-6 col-md-6">
<div class="form-group">
<label>Request Description</label>
<textarea class="form-control" rows="3" placeholder="Request Description"></textarea>
</div>
</div>
<div class="col-sm-6 col-md-3">
<div class="form-group"> <label class="empty-lbl"></label>
<button type="button" class="btn btn-success btn-flat" id="saveWidgetDetails">Save Request Information</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="box-footer no-padding-left-right">
<button type="button" class="btn btn-success btn-flat">Save</button>
<div class="pull-right">
<button type="button" class="btn btn-danger btn-flat ">Cancel</button>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<!-- Main Footer -->
<footer class="main-footer">
<div class="pull-right hidden-xs">
Version 1.0
</div>
Copyright © 2019 <a href="#">ARS Traffic & Transport Technology </a>.
</footer>
</div><!-- ./wrapper -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/momentjs/latest/moment.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="assets/js/datatables.net/js/jquery.dataTables.min.js"></script>
<script src="assets/js/datatables.net-bs/js/dataTables.bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/select2/4.0.7/js/select2.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/daterangepicker/daterangepicker.min.js"></script>
<script src="assets/js/bootstrap-multiselect.js"></script>
<script src="assets/js/lightbox.min.js"></script>
<script src="assets/js/jquery.slimscroll.min.js"></script>
<script src="assets/js/fastclick.js"></script>
<script src="assets/js/adminlte.min.js"></script>
<script src="assets/js/page.js"></script>
<script>
$(function() {
//select2
$('.select2').select2({
allowClear: true,
});
$('#SelectDevice').multiselect({
enableFiltering: true,
includeSelectAllOption: true,
maxHeight: 400,
buttonWidth: '100%',
nonSelectedText: 'Select Device',
buttonClass: 'btn btn-default btn-flat',
});
$('.all-templates').slimScroll({
alwaysVisible: true,
height: 300,
});
//Date picker with Time
$('.dateSingleTime').daterangepicker({
singleDatePicker: true,
autoUpdateInput: false,
timePicker: true,
timePickerIncrement: 5,
locale: {
cancelLabel: 'Clear',
format: 'DD/MM/YYYY hh:mm A'
},
startDate: moment().startOf('hour'),
endDate: moment().startOf('hour').add(32, 'hour'),
});
$('.dateSingleTime').on('apply.daterangepicker', function(ev, picker) {
$(this).val(picker.startDate.format('DD/MM/YYYY hh:mm A'));
});
$('.dateSingleTime').on('cancel.daterangepicker ', function(ev, picker) {
$(this).val('');
});
//Message Table
$('#message-table').dataTable({
bFilter: false, //hide search box
"sDom": "<'row'<'col-sm-12'tr>>" + "<'row'<'col-sm-2'l><'col-sm-3'i><'col-sm-7'p>>", // move filter to bottom
'columnDefs': [{
'orderable': false,
'targets': 3
}], // hide sort icon on header of first column
'aaSorting': [
[0, 'asc']
] // start to sort data in second column
});
$('#formatSelector').change(function() {
$('.msgFormat').hide();
$('#' + $(this).val()).show();
});
// Click button to activate hidden file Image input
$('.imguploader-btn').on('click', function() {
$('.imguploader').click();
});
// Click button to activate hidden file Video input
$('.fileuploader-btn').on('click', function() {
$('.fileuploader').click();
});
// Click above calls the open dialog box
// Once something is selected the change function will run
$('.fileuploader').change(function() {
// Create new FileReader as a variable
var reader = new FileReader();
// Onload Function will run after video has loaded
reader.onload = function(file) {
var fileContent = file.target.result;
$('#VideoMsgPreview').append('<video src="' + fileContent + '" width="320" height="240" controls></video>');
}
// Get the selected video from Dialog
reader.readAsDataURL(this.files[0]);
});
// Image Uploader
function readURL(input) {
if (input.files && input.files[0]) {
var reader = new FileReader();
reader.onload = function(e) {
$('#MsgImgInput').attr('src', e.target.result);
$('#MsgImgInput').show();
}
reader.readAsDataURL(input.files[0]);
}
}
$("#imgInp").change(function() {
readURL(this);
});
// Tab Next Previous
$('.continue').click(function() {
$('.nav-tabs > .active').next('li').find('a').trigger('click');
});
$('.back').click(function() {
$('.nav-tabs > .active').prev('li').find('a').trigger('click');
});
//Table Selection
$('.template-table td').click(function() {
$('.template-table td').removeClass('red-cell');
$(this).addClass('red-cell');
});
// Add smooth scrolling to links
$(".template-table td a").click(function(event) {
event.preventDefault();
$("html, body").animate({
scrollTop: $($(this).attr("href")).offset().top
}, 500, function() {
window.location.hash = "";
});
$('#addMessageContent').removeClass('collapsed-box');
$('#addMessageContent .box-tools i').toggleClass('fa-minus fa-plus');
$('#addMessageContent .box-body').css({
'display': 'block'
});
if ($('#addMessageContent .box-body').css('display') == 'block') {
}
});
$('#saveWidgetDetails').click(function(event) {
$('#addMessageContent').addClass('collapsed-box');
$('#addMessageContent .box-tools i').toggleClass('fa-plus fa-minus');
$('#addMessageContent .box-body').css({
'display': 'none'
});
});
})
//Show Hide Exisiting Message or New Message
function show1() {
document.getElementById('ExistingMsgContent').style.display = 'none';
document.getElementById('NewMsgContent').style.display = 'block';
}
function show2() {
document.getElementById('ExistingMsgContent').style.display = 'block';
document.getElementById('NewMsgContent').style.display = 'none';
}
</script>
</body></html>