-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
615 lines (611 loc) · 50.1 KB
/
index.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
<!-- This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License -->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="author" content="Bilal Zonjy">
<meta name="keywords" content="EDF,EDF Viewer, JavaScript,Plotly.js,moment.js,jquery,bootstrap,HTML, CSS,">
<meta name="description" content="edf Viewer">
<title>EDF Viewer</title>
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap-glyphicons.css">
<link rel="stylesheet" type="text/css" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
</head>
<body onresize="sizeChanged()">
<div class = "myRow">
<div class = "myWrite" id = "write"> Write</div>
<div class = "myWrite" id = "erase">Erase</div>
<div class = "myWrite" id = "locAnn">
<label > Vis Pred
<input type="file" id="ann-input" accept=".csv">
</label>
</div>
<div class = "myWrite" id = "truAnn">
<label > Vis True
<input type="file" id="tru-input" accept=".csv">
</label>
</div>
</div>
<div class="myModal" id="timeModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Update start time</h2>
</div>
<div class="modal-body">
<div> <h3>Enter preferred starting time. Default is displayed</h3>
<div style = "border:2px solid #c3c3c3 ; padding: 0px;margin: 0px; width: 142px; border-radius: 5px;padding-left: 2px;">
<input type="number" pattern ="[0-9]*" id = "myHH" placeholder="HH" step = "1" min = "0" max="23" autocomplete="off" style="width: 40px; height: 36px;border: 0px;text-align: right;" >:
<input type="number" pattern ="[0-9]*" id = "myMM" placeholder="mm" step = "1" min = "0" max="59" autocomplete="off" style="width: 40PX;height: 36px;border: 0px;text-align: right;">:
<input type="number" pattern ="[0-9]*" id = "mySS" placeholder="ss" step = "1" min = "0" max="59" autocomplete="off" style="width: 35PX;height: 36px;border: 0px;text-align: right;">
</div>
</div>
</div>
<div class="modal-footer">
<div type="button" class="btn btn-primary" id="acceptTime" data-dismiss="modal" style=" margin: 10px;width: 70px;">Ok <span class="glyphicon glyphicon-ok"></span></div>
</div>
</div>
</div>
</div>
<div class="myModal" id="writeModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Confirm write</h2>
</div>
<div class="modal-body">
<div> <h3>Enter age of subject</h3>
<input type="number" name="getAge" placeholder="Enter age" autocomplete="off" > <br><br>
</div>
<div> <h3>Choose Gender</h3>
<input type="radio" id="gen1" name="rate" value="Male"> Male <br>
<input type="radio" id="gen2" name="rate" value="Female"> Female <br>
<input type="radio" id="gen3" name="rate" value="Other" > Other <br>
</div>
</div>
<div class="modal-footer">
<div type="button" class="btn btn-primary" id="acceptWrite" data-dismiss="modal" style=" margin: 10px;width: 70px;">Ok <span class="glyphicon glyphicon-ok"></span></div>
</div>
</div>
</div>
</div>
<div class="container plotDivs" style="width: 100%;height: 100%;background-color:#222222;">
<div class=" row" style="background-color: #222222; margin-left:0px;margin-right: 0px;" >
<nav class="navbar navbar-inverse" style="background-color: #222222;margin-bottom: 1px; padding-bottom: 5px; padding-right: 10px;width: 1300px;margin-left: auto ;margin-right: auto; border-color: #222222">
<div class="row" >
<div class="col-sm-2" >
<div style="color: #0275d8;font-size: 30px;font-weight: bold;padding-left: 10px;padding-top: 25px;">EDF Viewer</div>
</div>
<div class="col-sm-8" style="margin-right: 0px; ">
<div class="row" style=" margin-top: 10px;">
<div class="col-sm-8" >
<div class="row">
<div class="col-sm-2" style="padding-right: 0px;">
<label class="btn-bs-file btn btn-lg btn-primary" style="height: 35px;padding-top: 5px;width: 150px; font-weight: bold; font-size: 20px;">
Open
<input type="file" id="file-input" accept=".edf"" class="custom-file-input">
</label>
</div>
<div class="col-sm-10" style="padding-left: 0px;" >
<div id="ptname" style="background-color: #ffffff; height: 35px;margin-left: 0px;padding-right: 10px;padding-left: 5px; font-size: 14px;padding-top: 7px;"></div>
</div>
</div>
</div>
<div class="col-sm-2" style=" margin-right: 0px; padding-left: 5px; ">
<div class="btn-primary" style="height: 35px;margin: 0px;border-radius: 5px;width: 112px;">
<div class=" btn-primary" id="montage" style="width: 75px;height: 35px; position: absolute; left: 5px;padding-left: 7px;padding-top: 7px;border-radius: 5px;">Montage :
</div>
<div class="dropdown-toggle btn-primary" aria-pressed="false" style="width: 36px;height: 35px;position: absolute;left:80px;padding-left: 7px;padding-top: 7px;border-radius: 5px;" data-toggle="dropdown" ><span id="general_montage_num">1 </span><span class="caret"></span></div>
<ul class="dropdown-menu" style="position: absolute;left: -20px;padding: 25px;">
<div class="btn-group" data-toggle="buttons">
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage1">
<input type="radio" name="Montage" class="montageSelect Montage1" autocomplete="off" checked> Montage 1
</label>
</li>
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage2">
<input type="radio" name="Montage" class="montageSelect Montage2" autocomplete="off" > Montage 2
</label>
</li>
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage3">
<input type="radio" name="Montage" class="montageSelect Montage3" autocomplete="off" > Montage 3
</label>
</li>
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage4">
<input type="radio" name="Montage" class="montageSelect Montage4" autocomplete="off" > Montage 4
</label>
</li>
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage5">
<input type="radio" name="Montage" class="montageSelect Montage5" autocomplete="off" > Montage 5
</label>
</li>
<li style="width:120px "><label class="btn btn-primary active montageSelect Montage6">
<input type="radio" name="Montage" class="montageSelect Montage6" autocomplete="off" > Montage 6
</label>
</li>
</ul>
</div>
</div>
<div class="col-sm-2" style="padding-left: 0px;" >
<div class="dropdown-toggle btn btn-primary" aria-pressed="false" style="width: 125px;height: 35px;" data-toggle="dropdown" ><span >Filters </span><span class="caret"></span></div>
<ul class="dropdown-menu" style="position: absolute;left: -20px; padding-left: 20px;">
<li>
<div class="btn btn-primary active" role="button" aria-pressed="true" style="width: 120px;height: 35px;" id="DCbtn"><span class="glyphicon glyphicon-check" id="CDspan"></span> Remove DC </div>
</li>
<li>
<div class="btn btn-primary active" role="button" aria-pressed="false" style="width: 120px;height: 35px;" id="_60Hz"><span class="glyphicon glyphicon-unchecked" id="60span"></span> 60 Hz </div>
</li>
<li>
<div class="btn btn-primary active" role="button" aria-pressed="false" style="width: 120px;height: 35px;" id="_50Hz"><span class="glyphicon glyphicon-unchecked" id="50span"></span> 50 Hz </div>
</li>
<li>
<div class="btn btn-primary active" role="button" aria-pressed="false" style="width: 120px;height: 35px;" id="_17Hz"><span class="glyphicon glyphicon-unchecked" id="17span"></span> 17 Hz </div>
</li>
</ul>
</div>
</div>
<div class="row" style=" margin-top: 10px;">
<div class="col-sm-3" >
<div class="row" style="border-radius: 5px; padding-left: 15px;">
<div class="col-sm-5" style="background-color: #5cb85c; color:#ffffff ;height: 35px;padding-top: 5px;border-radius: 5px; font-size: 20px; text-align: center;">
Date
</div>
<div class="col-sm-7" style="padding-left: 0px;">
<div id="DateTime" style="background-color: #ffffff; height: 35px;font-size: 20px;width: 120px;padding-top: 7px;padding-left: 5px;margin-left: 0px;border-radius: 5px;">
</div>
</div>
</div>
</div>
<div class="col-sm-6" >
<div class="row" style=" width: 450px;margin-left: 10px;">
<div type="button" class="btn btn-success col-sm-2" id="previous_page" style="width: 50px; margin-left: 1px;" data-toggle="tooltip" data-placement="bottom" title="Previous page"><span class="glyphicon glyphicon-arrow-left"></span> </div>
<div class="col-sm-2" id="startWindowtime" style="width: 100px;height: 35px;background-color: #ffffff; border:2px groove #d3d3;
margin-left: 1px; border-radius: 5px;font-size: 20px;padding-left: 10px;padding-top: 5px;" > </div>
<div type="button" class="btn btn-success col-sm-2" id="previous_sec" style="width: 50px;margin-left: 2px;" data-toggle="tooltip" data-placement="bottom" title="Move one second backward"><span class="glyphicon glyphicon-chevron-left"></span> </div>
<div type="button" class="btn btn-success col-sm-2" id="next_sec" style="width: 50px;margin-left: 10px;" data-toggle="tooltip" data-placement="bottom" title="Move one second forward"><span class="glyphicon glyphicon-chevron-right"></span> </div>
<div class="col-sm-2" id="endWindowtime" style="width: 100px;height: 35px;background-color: #ffffff; border:2px groove #d3d3;
margin-left: 1px; border-radius: 5px;font-size: 20px;padding-left: 10px;padding-top: 5px" > </div>
<div type="button" class="btn btn-success col-sm-2" id="next_page" style="width: 50px;margin-left: 2px;" data-toggle="tooltip" data-placement="bottom" title="Next page"><span class="glyphicon glyphicon-arrow-right"></span></div>
</div>
</div>
<div class="col-sm-3" >
<li class="dropdown" style="margin-left: 15px;">
<div class="dropdown-toggle btn btn-success" id="windowduratin" style="position: absolute;top: -10px; left: 2px;height: 35px;" data-toggle="dropdown" ><span >Window Duration: </span><span id="wd">7s </span><span class="caret"></span></div>
<ul class="dropdown-menu">
<div class="btn-group" data-toggle="buttons">
<li><label class="btn btn-success active windowSelect window1s">
<input type="radio" name="options" class="window1s" autocomplete="off" > 1s
</label>
</li>
<li><label class="btn btn-success windowSelect window3s">
<input type="radio" name="options" class="window3s" autocomplete="off"> 3s
</label>
</li>
<li><label class="btn btn-success windowSelect window7s">
<input type="radio" name="options" class="window7s" autocomplete="off" checked> 7s
</label>
</li>
<li><label class="btn btn-success windowSelect window10s">
<input type="radio" name="options" class="window10s" autocomplete="off"> 10s
</label>
</li>
<li><label class="btn btn-success windowSelect window15s">
<input type="radio" name="options" class="window15s" autocomplete="off"> 15s
</label>
</li>
<li><label class="btn btn-success windowSelect window30s">
<input type="radio" name="options" class="window30s " autocomplete="off"> 30s
</label>
</li>
<li><label class="btn btn-success windowSelect window60s">
<input type="radio" name="options" class="window60s" autocomplete="off"> 60s
</label>
</li>
</div>
</ul>
</li>
</div>
</div>
</div>
<div class="col-sm-2" style="padding: 0px;" >
<div class="row" style="margin-top: 10px; padding: 0px; margin-left: 0px;" >
<div class="col-sm-6" style="padding-left: 0px;">
<div class="btn btn-primary active" role="button" style="height: 35px;font-size: 15px;width: 114px;padding-left: 8px; " id="Documentationbtn">Documentation
</div>
</div>
<div class="col-sm-6" style="padding-left: 7px;">
<div class="btn btn-primary active" role="button" style="height: 35px;" id="aboutbtn"><span class="glyphicon glyphicon-user" ></span> About</div>
</div>
</div>
<div class="row" style=" margin-top: 10px;">
<div class="col-sm-4" style="padding-left: 0px;">
<li class="dropdown" style="margin-left: 15px; ">
<div class="dropdown-toggle btn btn-success" id="amp" style="position: absolute;top: -10px; left: 2px;height: 35px;width: 100px;padding-left: 3px;" data-toggle="dropdown" ><span >Amp: </span><span id="ampNumber">0.3 µV </span><span class="caret"></span></div>
<ul class="dropdown-menu" style="position: absolute;left: -30px;">
<div class="btn-group" data-toggle="buttons">
<li style="padding-left: 30px; "><label class="btn btn-success active amplitSelect amp1s" style="width: 100px;">
<input type="radio" name="amplitude" class="amp1s" autocomplete="off" >0.01 µV </label>
</li>
<li style="padding-left: 30px; "><label class="btn btn-success active amplitSelect amp2s" style="width: 100px;">
<input type="radio" name="amplitude" class="amp2s" autocomplete="off" >0.02 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp3s" style="width: 100px">
<input type="radio" name="amplitude" class="amp3s" autocomplete="off" >0.03 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp5s" style="width: 100px">
<input type="radio" name="amplitude" class="amp5s" autocomplete="off" >0.05 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp7s" style="width: 100px">
<input type="radio" name="amplitude" class="amp7s" autocomplete="off" >0.07 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp10s" style="width: 100px">
<input type="radio" name="amplitude" class="amp10s" autocomplete="off" >0.10 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp15s" style="width: 100px">
<input type="radio" name="amplitude" class="amp15s" autocomplete="off" >0.15 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp20s" style="width: 100px">
<input type="radio" name="amplitude" class="amp20s" autocomplete="off" >0.20 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp30s" style="width: 100px">
<input type="radio" name="amplitude" class="amp30s" autocomplete="off" checked>0.30 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp50s" style="width: 100px">
<input type="radio" name="amplitude" class="amp50s" autocomplete="off" >0.50 µV </label>
</li>
<li style="padding-left: 30px;"><label class="btn btn-success active amplitSelect amp100s" style="width: 100px">
<input type="radio" name="amplitude" class="amp100s" autocomplete="off" >1.00 µV </label>
</li>
</div>
</ul>
</div>
</li>
<div class="col-sm-2" style="padding-left: 0px;"></div>
<div class="col-sm-5" style="padding-left: 0px;">
<div class="btn btn-success active" role="button" style="height: 35px;width: 95px;" id="settings_btn"><span class="glyphicon glyphicon-cog" ></span> Settings</div>
</div>
</div>
</div>
</div>
</nav>
</div>
<div class=" row plotDivs showAtbegining" id="PlotContainer " style="background-color: #222222; ">
<div class="FirstCol plotDivs showAtbegining" id = "fc">
<div class="row plotDivs RowOne"></div>
<div class="row plotDivs RowTwo RowTwoPlot annotaionRow" id="AnnotaionName" style="background-color:#222222;"></div>
<div class="row plotDivs RowTwo RowTwoPlot upperTimeRow" id="UpperTimeMarkName" style="background-color:#222222;"></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="EEGchName" ></div>
<div class="row plotDivs RowTwo RowTwoPlot EKGRow" style=" border: 1px solid #5cb85c;width: 1px; background-color: #5cb85c;width: 100%;"></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="EKGchName" ></div>
<div class="row plotDivs RowTwo RowTwoPlot OtherRow" style=" border: 1px solid #dba436;width: 1px;background-color:#dba436;width: 100%;" ></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="OtherchName" ></div>
<div class="row plotDivs RowTwo RowTwoPlot lowerTimeMarkRow" id="LowerTimeMarkName" style="background-color:#222222;"></div>
</div>
<div class="SecondCol plotDivs showAtbegining" id = "mycont">
<div class="row plotDivs RowOne">
<div class="showAtbegining" id="scroll_body" style="height: 12px;padding-top: 1px;padding-bottom: 1px;background-color: #666666; visibility: hidden;" >
<div id="scroll_marker" style="height: 10px; background-color: #d8c8bc; width: 30px; position: absolute;left: 10%;"></div>
<input type="range" id="rangeinput" >
</div>
</div>
<div class="row plotDivs RowTwo RowTwoPlot annotaionRow" id="Annotaionplot" ></div>
<div class="row plotDivs RowTwo RowTwoPlot upperTimeRow" id="UpperTimeMarkplot" ></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="EEGplot"></div>
<div class="row plotDivs RowTwo RowTwoPlot EKGRow" style=" border: 1px solid #5cb85c;width: 1px;background-color: #5cb85c; width: 100%;"></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="EKGplot"></div>
<div class="row plotDivs RowTwo RowTwoPlot OtherRow" style=" border: 1px solid #dba436;width: 1px;background-color:#dba436;width: 100%;" ></div>
<div class="row plotDivs RowTwo RowTwoPlot " id="Otherplot"></div>
<div class="row plotDivs RowTwo RowTwoPlot lowerTimeMarkRow" id="LowerTimeMarkplot" ></div>
</div>
<div class="ThirdCol plotDivs " style="border-right: 10px solid #222222;border-bottom: 10px solid #222222;padding-right: 3px;background-color:#222222;visibility: hidden;" >
<div class="row plotDivs RowOne" ></div>
<div class=" row plotDivs RowTwo" id="annotaion_box" style="background-color:#222222; padding-top: 3px; width: 100%">
<!-- annotaion table start -->
<!-- annotaion header -->
<div class="thead-inverse row" style=" background-color: #222222;color: #0275d8; margin: 2px; " >
<div id="Annotaion_Table_Head_0" class="annotaionHeader" style="width: 250px;"><b> Annotaion<br /></b><span class="glyphicon glyphicon glyphicon-sort" ></span></div>
<div id="Annotaion_Table_Head_1" class="annotaionHeader" style="width: 90px;"><b>Clock Time</b><span class="glyphicon glyphicon glyphicon-sort" ></span></div>
</div>
<!-- annotaions actual table -->
<div id="annotaionsTableScrol" style="overflow:auto; border: 2px solid #222222; padding-right: 5px;overflow-x: hidden; margin-right: 3px;">
<table class="sortable table" id="AnnotaionTable" style="margin: 0px;">
</table>
</div>
<!-- annotaion search -->
<div class="row" style="margin: 0px; background-color: #222222;">
<input type="text" id="SearchInput" name="search" onkeyup ="SearchAnnotaion()" placeholder="Search.." style="padding-left: 5px; background-color: #222222;color: #0275d8;border-width: 0px;" autocomplete="off">
</div>
<div class="row" style="margin: 0px; background-color: #222222;">
<label class="btn-bs-file btn btn-lg btn-primary" style="height: 35px;padding-top: 5px;width: 250px; font-weight: bold; font-size: 20px;color: #222222; left: 60px;background-color: #0275d8">Import Annotaions
<input type="file" id="import_annotations_from_file" accept=".edf" class="custom-file-input">
</label>
</div>
<!-- annotaion table end -->
</div>
</div>
</div>
<div class="modal fade" id="loadAnnotationModule" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" style="display: none;" data-backdrop="static" data-keyboard="false">
<div class="modal-dialog">
<div class="modal-content" style="height: 100px;width: 400px;padding: 20px;">
<div class="span4">
Loading Annotaions
<div class="progress">
<div id="loadingProgressBar" class="progress-bar" style="width: 0%;">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="SettingsModal" >
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">Settings</h2>
</div>
<div class="modal-body" style="padding-top: 10px;">
<div class="row settingRow" style="margin-top: 25px;">
<div class="col-sm-1"></div>
<div class="col-sm-10">
<div class="settingsEdge" style="height: 80px;" >
<div class="settingsEdgeLegand" style="width: 210px; ">Channel Lable Width </div>
<div class="input-group" style=" position: relative;left: 100px; padding: 0px;" >
<div style="float: left;width: 35px;" type="button" class="btn btn-success btn-number" id="setting_CNW_decrease">
<span class="glyphicon glyphicon-minus"></span>
</div>
<div style="height: 35px;background-color: #ffffff; border:2px groove #d3d3;padding: 0px;float: left;width: 150px;">
<div style="width: 30px;height: 31px; background-color:#686868; position: relative;left: 0px;" id="setting_CNW_slider"></div>
</div>
<div style="float: left;width: 35px;" type="button" class="btn btn-success btn-number" id="setting_CNW_increase" >
<span class="glyphicon glyphicon-plus"></span>
</div>
</div>
</div>
</div>
<div class="col-sm-1"></div>
</div>
<div class="row settingRow" style="margin-top: 30px;">
<div class="col-sm-1"></div>
<div class="col-sm-5">
<div class="settingsEdge" >
<div class="settingsEdgeLegand" style="width: 170px;left:15px; ">Annotaions Table </div>
<label class="btn btn-success active AnnotationTblSelect SATob1" style="width: 200px;margin-bottom: 10px;text-align: left;margin-left: 7px;">
<input type="radio" name="settingAnnotaionTable" class="SATob1" autocomplete="off" > Hide </label>
<label class="btn btn-success active AnnotationTblSelect SATob3" style="width: 200px;margin-bottom: 10px;text-align: left;margin-left: 7px;">
<input type="radio" name="settingAnnotaionTable" class="SATob3" autocomplete="off" checked> Show always </label>
</div>
</div>
<div class="col-sm-5">
<div class="settingsEdge" style="height: 125px;">
<div type="button" class="btn btn-danger " style="margin-top: 30px;margin-bottom: 10px;text-align: center;margin-left: 7px;width: 197px;" id="ResetToDefault" onclick="Reseteverything()"> Reset to default </div>
</div>
</div>
<div class="col-sm-1"></div>
</div>
</div>
<div class="modal-footer">
<div type="button" class="btn btn-primary" id="Savesetting" style="margin: 10px;position: relative;left: -210px;" onclick="saveSettings()">Save Setting <span class=" glyphicon glyphicon-save"></span></div>
<div type="button" class="btn btn-primary" data-dismiss="modal" style="margin: 10px;position: relative;left: -40px;">Close</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="montageModal" tabindex="-1" role="dialog" aria-labelledby="MontageModalLabel" aria-hidden="true" data-keyboard="false">
<div class="modal-dialog" role="document">
<div class="modal-content" style=" overflow-y: hidden; overflow-x: hidden; height: 560px;width: 685px;">
<div class="modal-header" style="height: 60px;">
<h2 class="modal-title" id="MontageModalLabel" ">Montage</h2>
</div>
<div class="modal-body" style="height: 460px; padding-top: 5px;" >
<div class="row" style="height: 25px;">
<div class="col-sm-2">
<div style="text-align: center; margin-left: 20px; margin-top: 7px;font-size: 20px;" >Channels</div>
</div>
<div class="col-sm-1" ></div>
<div class="col-sm-2" >
<div style="text-align: center;margin-left: 10px; margin-top: 7px;font-size: 20px;" class="channel2Group">Channels</div>
</div>
<div class="col-sm-2"></div>
<div class="col-sm-3 " style="padding: 0px;" >
<div class="dropdown" style="margin-left: 15px;">
<button style="width: 150px;font-size: 20px;" class="btn btn-default dropdown-toggle" type="button" id="montage_modal_editor" data-toggle="dropdown"> <span id="montage_modal_txt">Montage 1</span>
<span class="caret"></span></button>
<ul class="dropdown-menu" role="menu" aria-labelledby="menu1" style="position: absolute;left: -5px;">
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage1"> Montage 1
</div>
</li>
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage2"> Montage 2
</div>
</li>
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage3"> Montage 3
</div>
</li>
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage4"> Montage 4
</div>
</li>
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage5"> Montage 5
</div>
</li>
<li role="presentation">
<div style="width: 160px;cursor:pointer;text-align: center;" class ="montage_modal_list Montage6"> Montage 6
</div>
</li>
</ul>
</div>
</div>
<div class="col-sm-2">
</div>
</div>
<hr>
<div class="row" >
<div style="padding: 0px; margin: 0px; width: 155px; float: left;">
<div style=" border: groove 1px;overflow-y: auto;overflow-x: hidden; height: 360px; margin-left: 8px;margin-right: 8px;">
<ul class="list-unstyled" id="channel_labels_one"></ul>
</div>
</div>
<div style="padding: 0px; margin: 0px;width: 155px; float: left;">
<div class="channel2Group" style=" border: groove 1px;overflow-y: auto;overflow-x: hidden;height: 360px;margin-left: 8px;margin-right: 8px;">
<ul class="list-unstyled " id="channel_labels_two" style="padding: 0px;" ></ul>
</div>
</div>
<div id="montagbtngroup" style=" height: 360px; padding: 0px;width: 70px; float: left;margin: 0px; " >
<div class="sticky-top " style="position: sticky; top:100px; z-index: 20;width: 70px;padding: 0px; ">
<div type="button" class="btn btn-info" style="margin-bottom: 30px;width: 70px;" id="EEGMontage" data-toggle="tooltip" data-placement="bottom" title="Add selected channels to EEG tab"> EEG <span class="glyphicon glyphicon-chevron-right"> </span> </div>
<div type="button" class="btn btn-success" style="margin-bottom: 30px;width: 70px;" id="EKGMontage" data-toggle="tooltip" data-placement="bottom" title="Add selected channels to EKG tab"> EKG <span class="glyphicon glyphicon-chevron-right"> </span> </div>
<div type="button" class="btn btn-warning" style="margin-bottom: 75px;width: 70px;" id="OtherMontage" data-toggle="tooltip" data-placement="bottom" title="Add selected channel to other tab, you can get the value by move the cursor over the channel">Other<span class="glyphicon glyphicon-chevron-right"> </span> </div>
<div class="btn btn-primary active" role="button" aria-pressed="false" style="margin-bottom: 30px;width: 70px;" id="refrential" data-toggle="tooltip" data-placement="bottom" title="allow to select one channel only">
<span class="glyphicon glyphicon-unchecked" id="refrentialspan" ></span> Value
</div>
<div class="btn btn-info" role="button" aria-pressed="false" style="margin-bottom: 30px;width: 70px;" id="invert" data-toggle="tooltip" data-placement="bottom" title="invert the signal of EEG channels only">
<span class="glyphicon glyphicon-unchecked" id="invertspan" ></span> Invert
</div>
</div>
</div>
<div style="margin-left: 0px; padding-left: 0px; padding-left: 5px;padding-right: 5px; height: 360px;width: 225px; float: left;;overflow-y: auto;overflow-x: hidden;">
<div style=" border: groove #5bc0de 1px; padding: 0px;">
<ul class="montageSelectedList" id="montage_EEG_list" style="padding: 2px;margin: 0px"></ul>
</div>
<div style=" border: groove #5cb85c 1px; margin-top: 10px;padding: 0px;">
<ul class="montageSelectedList" id="montage_EKG_list" style="padding: 2px;margin: 0px;"></ul>
</div>
<div style=" border: groove #dba436 1px; margin-top: 10px; padding: 0px; ">
<ul class="montageSelectedList" id="montage_other_list" style="padding: 2px;margin: 0px;"></ul>
</div>
</div>
<div id="montagbtngroup" style=" height: 360px; padding: 0px;width: 70px; float: left;margin: 0px; " >
<div class="sticky-top " style="position: sticky; top:100px; z-index: 20;width: 70px;padding: 0px; ">
<div type="button" class="btn btn-info montageMoveBtn montageEditBtn" style="margin-top: 70px; margin-bottom: 30px;width: 70px;visibility: hidden;" id="UpMontage" data-toggle="tooltip" data-placement="bottom" title="Move selected channel one level up the montage segment"><span class="glyphicon glyphicon-chevron-up"> </div>
<div type="button" class="btn btn-danger montageEditBtn" style=" margin-bottom: 30px;width: 70px;visibility: hidden;" id="delelteMontage" data-toggle="tooltip" data-placement="bottom" title="remove selected channel from the montage"><span class="glyphicon glyphicon-remove"> </div>
<div type="button" class="btn btn-info montageMoveBtn montageEditBtn" style=" margin-bottom: 30px;width: 70px;visibility: hidden;" id="DownMontage" data-toggle="tooltip" data-placement="bottom" title="Move selected channel one level down the montage segment"><span class="glyphicon glyphicon-chevron-down"> </div>
</div>
</div>
</div>
<div class="modal-footer" style="height: 40px; padding: 0px;">
<div type="button" class="btn btn-primary" id="LoadMontages" style="margin: 10px;" onclick="loadoMntages()">Load all montages <span class="glyphicon glyphicon-open"></span></div>
<div type="button" class="btn btn-primary" id="SaveMontages" style="margin: 10px;" onclick="saveMontages()">Save all montages <span class=" glyphicon glyphicon-save"></span></div>
<div type="button" class="btn btn-primary" id="acceptMontage" data-dismiss="modal" style=" margin: 10px;width: 70px;">Ok <span class="glyphicon glyphicon-ok"></span></div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="aboutmodal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h2 class="modal-title">About</h2>
</div>
<div class="modal-body">
<h3> EDF Viewer version 2.1</h3>
<h5> <a href="../EDFViewer_V1/EDFViewer_V1.html">version 1 is available here</a></h5>
<h3> This work was created by<strong> Bilal Zonjy, MD</strong></h3>
<br>
<div class="row ">
<div class="col-sm-6">
<h4> Email: [email protected] </h4>
</div>
<div class="col-sm-6" style="padding-top: 10px;">
<a rel="github" href="https://github.com/BilalZonjy/EDFViewer"><img alt="github" style="border-width:0 height:40px;width: 60px; " src="assets/img/GitHub.png"/></a>
</div>
</div>
<br>
<div style="font-size: 120%;">Special thanks to:<br><span style="padding-left: 5px;">James McDonald PhD candidate.</span> <br><span style="padding-left: 5px;">Farhad Kaffashi PhD.</span><br><span style="padding-left: 5px;">Wanchat Theeranaew PhD.</span>
</div>
<br>
<div class="row">
<div class="col-sm-2" style="padding-top: 3px;"><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="assets/img/creativecommons.png"/></a>
</div>
<div class="col-sm-10" > This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License</a>
</div>
</div>
<div class="modal-footer">
<div type="button" class="btn btn-primary" data-dismiss="modal">Close</div>
</div>
</div>
</div>
</div>
</div>
<div class="modal fade" id="jumptomodal" >
<div class="modal-dialog" role="document" style="width: 420px;">
<div class="modal-content" >
<div class="modal-header">
<h3>Jump to</h3>
</div>
<div class="modal-body">
<div class="panel with-nav-tabs panel-success">
<div class="panel-heading">
<ul class="nav nav-tabs">
<li class="active"><a href="#ClockTimeTab" data-toggle="tab" id="ClockTimeli"><span> Clock Time</span></a></li>
<li><a href="#ElapsTimeHHmmssTab" data-toggle="tab" id="ElapsTimeli"><span>Elapsed Time<br>(HH:mm:ss)</span></a></li>
<li><a href="#ElapsTimesecondsTab" data-toggle="tab" id="Elapssecondsli"><span>Elapsed Time<br>(seconds)</span></a></li>
</ul>
</div>
<div class="panel-body">
<div class="tab-content">
<div class="tab-pane fade in active" id="ClockTimeTab">
<div class="row" style="width: 365px;padding-left: 14px;">
<div class="col-sm-6" style="margin: 0px; padding:0px; padding-left: 1px;" >
<div style="border:2px solid #c3c3c3 ; padding: 0px;margin: 0px; width: 142px; border-radius: 5px;padding-left: 2px;" >
<input type="number" pattern="[0-9]*" placeholder="HH" step="1" min="0" max="23" style=" width: 2em; width: 35PX; height: 36px;border: 0px;text-align: right;" id="HH_Clock" class="HH">
:
<input type="number" pattern="[0-9]*" placeholder="mm" step="1" min="0" max="59" style=" width: 2em; width: 40PX;height: 36px;border: 0px;text-align: right;" id="mm_Clock" class="60">
:
<input type="number" pattern="[0-9]*" placeholder="ss" step="1" min="0" max="59" style=" width: 2em; width: 35PX;height: 36px;border: 0px;text-align: right;" id="ss_Clock" class="60">
</div>
</div>
<div class="col-sm-6" style="margin-left: 0px;padding-left: 0px;">
<input class="form-control" name="registration_date" id="date_Clock" type="date" style="height: 40px;border:2px solid #c3c3c3 ;">
</div>
</div>
</div>
<div class="tab-pane fade" id="ElapsTimeHHmmssTab">
<div class="row" style="width: 365px;padding-left: 15px;"">
<div class="col-sm-6" style="margin: 0px; padding:0px; padding-left: 1px;" >
<div style="border:2px solid #c3c3c3 ; padding: 0px;margin: 0px; width: 142px; border-radius: 5px;padding-left: 2px;" >
<input type="number" placeholder="HH" step="1" min="0" max="23" style=" width: 2em; width: 35PX; height: 36px;border: 0px; text-align: right; " id="HH_Elaps" pattern="[0-9]*">
:
<input type="number" pattern="[0-9]*" placeholder="mm" step="1" min="0" max="59" style=" width: 2em; width: 40PX;height: 36px;border: 0px;text-align: right;" id="mm_Elaps" class="60">
:
<input type="number" pattern="[0-9]*" placeholder="ss" step="1" min="0" max="59" style=" width: 2em; width: 35PX;height: 36px;border: 0px;text-align: right;" id="ss_Elaps" class="60">
</div>
</div>
<div class="col-sm-6" style="margin-left: 0px;padding-left: 0px;" >
</div>
</div>
</div>
<div class="tab-pane fade" id="ElapsTimesecondsTab">
<div class="row" style="width: 365px;padding-left: 15px;">
<div class="col-sm-6" style="margin: 0px; padding:0px; padding-left: 1px;" >
<div style="border:2px solid #c3c3c3 ; padding: 0px;margin: 0px; width: 142px; border-radius: 5px;">
<input type="number" placeholder="seconds" step="1" min="0" max="3600" style="width: 130px; height: 36px;border: 0px;text-align:right;" id="seconds_Elaps" class="seconds">
</div>
</div>
<div class="col-sm-6" style="margin-left: 0px;padding-left: 0px;" >
</div>
</div>
</div>
</div>
</div>
</div>
<div type="button" class="btn btn-primary" id="GO" style="position: relative; left:30px;width: 100px;"> Go To </div>
<div type="button" class="btn btn-primary" data-dismiss="modal" style="position: relative; left:30%;width: 100px;"> Close </div>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="assets/js/jquery.js"></script>
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
<script type="text/javascript" src='assets/js/moment.min.js'></script>
<script type="text/javascript" src="assets/js/plotly.min.js"></script>
<script type="text/javascript" src="assets/js/CaseEEGFilter.js"></script>
<script type="text/javascript" src="assets/js/app.js"></script>
<script type="text/javascript" src="assets/js/drawRect.js"></script>
</body>
</html>