-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathuser.html
734 lines (701 loc) · 37.8 KB
/
user.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Doctor's Dashboard</title>
<link rel="stylesheet" href="sass/materialize.css">
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Compiled and minified CSS -->
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"> -->
<link rel="shortcut icon" href="images/logo_1.png" type="image/png">
</head>
<body>
<!-- Preloader -->
<div class="customPreloader">
<div class="preloader_header">
<h4>MediTech HealthCare is loading...</h4>
</div>
<div class="preloader-wrapper big active">
<div class="spinner-layer spinner-blue">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-red">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-yellow">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
<div class="spinner-layer spinner-green">
<div class="circle-clipper left">
<div class="circle"></div>
</div>
<div class="gap-patch">
<div class="circle"></div>
</div>
<div class="circle-clipper right">
<div class="circle"></div>
</div>
</div>
</div>
</div>
<!-- Nav bar -->
<div class="navbar-fixed">
<nav id="navbar-main">
<div class="nav-wrapper">
<a href="#!" class="brand-logo black-text"><img src="images/header_logo.png" alt="Logo"></a>
<a href="#" data-target="mobile-demo" class="sidenav-trigger"><i class="material-icons">menu</i></a>
<ul class="right hide-on-med-and-down">
<li><a href="user.html">Home</a></li>
<li><a href="patient.html">All Patients</a></li>
<li><a data-target="myProfileModal" class="modal-trigger">My Profile</a></li>
<li id="logout-4"><a href="login.html">Logout</a></li>
</ul>
</div>
</nav>
</div>
<ul class="sidenav" id="mobile-demo">
<li><a href="user.html">Home</a></li>
<li><a href="patient.html">All Patients</a></li>
<li><a data-target="myProfileModal" class="modal-trigger">My Profile</a></li>
<li id="logout-3"><a href="login.html">Logout</a></li>
</ul>
<!-- Modal Structure -->
<div id="myProfileModal" class="modal myProfModal">
<div class="modal-content">
<nav class="blue darken-1">
<div class="nav-wrapper">
<div class="col s12">
<h5 id="profile-welcome">Dr. Raj Sharma’s Profile</h5>
</div>
</div>
</nav>
<form action="#" id="myProfileForm">
<div class="row">
<div class="row">
<div class="input-field col s12">
<i class="material-icons prefix">person</i>
<input id="icon_prefixMyProf" type="text" class="validate">
<label class="activeLable" for="icon_prefixMyProf">Name</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">contact_phone</i>
<input id="icon_telephone12MyProf" type="number" class="validate">
<label class="activeLable" for="icon_telephone12MyProf">Telephone</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">email</i>
<input id="icon_email12MyProf" type="email" class="validate" disabled>
<label class="activeLable" for="icon_email12MyProf">Email</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">assistant</i>
<input id="icon_city12MyProf" type="text" class="validate">
<label class="activeLable" for="icon_city12MyProf">Speciality</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">location_city</i>
<input id="icon_state12MyProf" type="text" class="validate">
<label class="activeLable" for="icon_state12MyProf">Hospital</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12 hide-on-med-and-down">
<i class="material-icons prefix">edit</i>
<textarea id="textarea2" class="materialize-textarea" data-length="120"></textarea>
<label class="activeLable" for="textarea2">Bio</label>
</div>
</div>
<div class="row hide-on-med-and-down">
<div class="input-field col s6">
<i class="material-icons prefix">contact_phone</i>
<input id="icon_telephoneMyProf" type="number" class="validate">
<label class="activeLable" for="icon_telephoneMyProf">Telephone 1</label>
</div>
<div class="input-field col s6">
<i class="material-icons prefix">email</i>
<input id="icon_emailMyProf" type="email" class="validate" disabled>
<label class="activeLable" for="icon_emailMyProf">Email 1</label>
</div>
</div>
<div class="row hide-on-med-and-down">
<div class="input-field col s6">
<i class="material-icons prefix">assistant</i>
<input id="icon_city6MyProf" type="text" class="validate">
<label class="activeLable" for="icon_city6MyProf">Speciality 1</label>
</div>
<div class="input-field col s6">
<i class="material-icons prefix">location_city</i>
<input id="icon_state6MyProf" type="text" class="validate">
<label class="activeLable" for="icon_state6MyProf">Hospital 1</label>
</div>
</div>
<div class="input-field col s12 show-on-med-and-down">
<i class="material-icons prefix">edit</i>
<textarea id="textarea26" class="materialize-textarea" data-length="120"></textarea>
<label class="activeLable" for="textarea26">Bio</label>
</div>
</div>
<button class="btn green" type="submit" id="updateProfile">Update Profile</button>
<!-- <button class="btn green" type="button" id="updateProfile">Update Profile</button> -->
</form>
</div>
</div>
<section class="section container" id="dashboard">
<div class="doctorNameHeader black-text">Welcome <b><span id="welcome"></span></b></div>
<div class="dashboard">
<button data-target="patientForm"
class="btn-floating right btn-large waves-effect waves-light blue darken-1 floatingAddBtn modal-trigger">
<i class="material-icons">add</i>
<span>Add New Patient</span>
</button>
<!-- Modal Structure -->
<div id="patientForm" class="modal">
<div class="modal-content">
<nav class="blue darken-1">
<div class="nav-wrapper">
<div class="col s12">
<a onclick="destroyModal()" class="breadcrumb">Dashboard</a>
<a class="breadcrumb">Patient Analysis</a>
</div>
</div>
</nav>
<div class="mainModalCnt">
<div class="modalProgressBar" id="prog_1">
<div class="progImg progImg1">
<img src="images/user.png" alt="User Image">
</div>
<i class="material-icons" id="icon_1">trending_flat</i>
<div class="progImg progImg2">
<img src="images/heart.png" alt="Heart Image">
</div>
<i class="material-icons" id="icon_2">trending_flat</i>
<div class="progImg progImg3">
<img src="images/medical.png" alt="Medical Image">
</div>
</div>
<form id="modal1Form">
<h5>Enter Basic Details of Patient:</h5>
<div class="row">
<div class="row">
<div class="input-field col s6">
<i class="material-icons prefix">account_circle</i>
<input id="icon_prefix" type="text" class="validate">
<label class="activeLable" for="icon_prefix">First Name</label>
</div>
<div class="input-field col s6">
<!-- <i class="material-icons prefix">account_circle</i> -->
<input id="icon_prefix2" type="text" class="validate">
<label class="activeLable" for="icon_prefix2">Last Name</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">phone</i>
<input id="icon_telephone12" type="tel" class="validate">
<label class="activeLable" for="icon_telephone12">Mobile</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">email</i>
<input id="icon_email12" type="email" class="validate">
<label class="activeLable" for="icon_email12">Email</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">account_balance</i>
<input id="icon_city12" type="text" class="validate">
<label class="activeLable" for="icon_city12">City</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12">
<i class="material-icons prefix">location_city</i>
<input id="icon_state12" type="text" class="validate">
<label class="activeLable" for="icon_state12">State</label>
</div>
</div>
<div class="row show-on-medium-and-down hide-on-med-and-up">
<div class="input-field col s12 show-on-med-and-down">
<i class="material-icons prefix">room</i>
<input id="icon_country12" type="text" class="validate">
<label class="activeLable" for="icon_country12">Country</label>
</div>
</div>
<div class="row hide-on-med-and-down">
<div class="input-field col s6">
<i class="material-icons prefix">phone</i>
<input id="icon_telephone" type="tel" class="validate">
<label class="activeLable" for="icon_telephone">Telephone</label>
</div>
<div class="input-field col s6">
<i class="material-icons prefix">email</i>
<input id="icon_email" type="email" class="validate">
<label class="activeLable" for="icon_email">Email</label>
</div>
</div>
<div class="row hide-on-med-and-down">
<div class="input-field col s6">
<i class="material-icons prefix">account_balance</i>
<input id="icon_city6" type="text" class="validate">
<label class="activeLable" for="icon_city6">City</label>
</div>
<div class="input-field col s6">
<i class="material-icons prefix">location_city</i>
<input id="icon_state6" type="text" class="validate">
<label class="activeLable" for="icon_state6">State</label>
</div>
</div>
<div class="input-field col s6 hide-on-med-and-down">
<i class="material-icons prefix">room</i>
<input id="icon_country6" type="text" class="validate">
<label class="activeLable" for="icon_country6">Country</label>
</div>
</div>
<div class="nextBtns">
<button class="btn modal-trigger disabled">back</button>
<!-- <button type="submit" name="button">Submit</button> -->
<button class="btn waves-effect modal-trigger" data-target="patientForm1"
id="patient1Submit">next</button>
<button class="btn waves-effect modal-trigger" data-target="patientForm1"
id="patient1Edit">save & next</button>
</div>
</form>
</div>
</div>
</div>
<div id="patientForm1" class="modal">
<div class="modal-content">
<nav class="blue darken-1">
<div class="nav-wrapper">
<div class="col s12">
<a onclick="destroyModal()" class="breadcrumb">Dashboard</a>
<a class="breadcrumb">New Patient</a>
</div>
</div>
</nav>
<div class="mainModalCnt">
<div class="modalProgressBar" id="prog_2">
<div class="progImg progImg1">
<img src="images/user.png" alt="User Image">
</div>
<i class="material-icons" id="icon_1">trending_flat</i>
<div class="progImg progImg2">
<img src="images/heart.png" alt="Heart Image">
</div>
<i class="material-icons" id="icon_2">trending_flat</i>
<div class="progImg progImg3">
<img src="images/medical.png" alt="Medical Image">
</div>
</div>
<form action="#" id="modal2Form">
<h5>You can diagnose the disease with our AI Powered System based on Imaging Reports</h5>
<div class="row">
<div class="input-field col s12">
<select id="diseaseSelect">
<option value="" disabled>Select Disease</option>
<option value="COVID-19" selected>COVID-19</option>
<!-- <option value="2">Option 2</option> -->
<!-- <option value="3">Option 3</option> -->
</select>
<label>Select Disease</label>
</div>
</div>
<div class="row hide-on-med-and-down">
<div class="file-field input-field col s4 hide-on-med-and-down show-on-medium-and-up">
<div class="btn blue lighten-1">
<span>Upload Image</span>
<input type="file" id="xray1">
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text" placeholder="Upload X-Ray Image">
</div>
</div>
<div class="col s8 predictBtn hide-on-med-and-down show-on-medium-and-up">
<button type="button" class="btn waves-effect waves-light green" name="button"
id="predict1">Predict</button>
<!-- <a onclick="predictFunction1()"
class="btn waves-effect waves-light green">Predict</a> -->
</div>
</div>
<div class="file-field input-field row s8 show-on-medium-and-down hide-on-med-and-up">
<div class="btn blue lighten-1">
<span>Upload</span>
<input type="file" id="xray0">
</div>
<div class="file-path-wrapper">
<input class="file-path validate" type="text" placeholder="Upload X-Ray Image">
</div>
</div>
<div class="col s12 predictBtn show-on-medium-and-down hide-on-med-and-up">
<button type="button" class="btn waves-effect waves-light green" name="button"
id="predict0">Predict</button>
<!-- <a onclick="predictFunction0()" class="btn waves-effect waves-light green">Predict</a> -->
</div>
<div class="row aiOutRow">
<span class="aiOutHeader">AI Output:</span>
<span class="aiOutput green-text" id="aiOutput">'Auto output based on prediction'</span>
</div>
<div class="row isthisOutCorrect">
<span class="correctOut">Is This Output Correct?</span>
<p>
<label>
<input class="with-gap" name="group1" type="radio" id="radioYes" value="yes"
checked />
<span>Yes</span>
</label>
</p>
<p>
<label>
<input class="with-gap" name="group1" type="radio" id="radioNo" value="no" />
<span class="correctNo">No</span>
</label>
</p>
</div>
<div class="nextBtns">
<button class="btn waves-effect modal-trigger" data-target="patientForm"
onclick="openNextModal()">back</button>
<button class="btn waves-effect modal-trigger" data-target="patientForm2"
id="patient2Submit">next</button>
<button class="btn waves-effect modal-trigger" data-target="patientForm2"
id="patient2Edit">save & next</button>
</div>
</form>
</div>
</div>
</div>
<div id="patientForm2" class="modal">
<div class="modal-content">
<nav class="blue darken-1">
<div class="nav-wrapper">
<div class="col s12">
<a onclick="destroyModal()" class="breadcrumb">Dashboard</a>
<a class="breadcrumb">New Patient</a>
</div>
</div>
</nav>
<div class="mainModalCnt">
<div class="modalProgressBar" id="prog_3">
<div class="progImg progImg1">
<img src="images/user.png" alt="User Image">
</div>
<i class="material-icons" id="icon_1">trending_flat</i>
<div class="progImg progImg2">
<img src="images/heart.png" alt="Heart Image">
</div>
<i class="material-icons" id="icon_2">trending_flat</i>
<div class="progImg progImg3">
<img src="images/medical.png" alt="Medical Image">
</div>
</div>
<form action="#" id="modal3Form">
<h5>Meditech Consultancy has to predict disease based on input symptoms</h5>
<div class="row">
<div class="input-field col s12">
<select class="multiSelect" multiple id="multisymptoms">
<option value="" disabled selected>Choose patient's symptoms</option>
<option value="abdominal_pain">Abdominal Pain</option>
<option value="chills">Chills</option>
<option value="constipation">Constipation</option>
<option value="cough">Cough</option>
<option value="fatigue">Fatigue</option>
<option value="high_fever">High Fever</option>
<option value="joint_pain">Joint Pain</option>
<option value="lethargy">Lethargy</option>
<option value="restlessness">Restlessness</option>
<option value="sweating">Sweating</option>
<option value="vomiting">Vomiting</option>
<option value="weight_loss">Weight Loss</option>
<option value="yellowish_skin">Yellowish Skin</option>
</select>
<label>Select Patient's Symptoms</label>
</div>
</div>
<div class="row">
<button type="button" class="btn waves-effect waves-light green" name="button"
id="predict2">Predict Disease</button>
<button type="button" class="btn waves-effect waves-light green" name="button"
id="predict2Edit">Predict Disease edit</button>
</div>
<div class="row aiOutRow">
<span class="aiOutHeader">Disease Prediction :</span>
<span class="aiOutput green-text" id="aiOutputDisease">'Auto output based on
prediction'</span>
</div>
<div class="nextBtns">
<button class="btn waves-effect modal-trigger" data-target="patientForm1"
onclick="openNextModal()">back</button>
<button class="btn waves-effect" onclick="destroyModal()"
id="patient3Submit">Submit</button>
</div>
</form>
</div>
</div>
</div>
<h5 class="indigo-text dbHeader"><u>Dashboard</u></h5>
<div class="card_container" id="demoPatient">
<!-- <div class="card ptCard z-depth-2">
<div class="mainHeader blue lighten-5">
<span class="ptCardHeader">
Raj Patel
</span>
<span class="ptCardSubHeader">
Ahmedabad
</span>
</div>
<div class="ptCardDisease">
<span class="ptCardCateg">Disease : </span>
<span class="diseaseName">COVID-19</span>
</div>
<div class="ptCardCheckUp">
<span class="ptCardCateg">Last Check-up : </span>
<span class="checkupDate">31/10/20</span>
</div>
<a class="waves-effect waves-light btn-small ptCardEdit">Edit</a>
</div>
<div class="card ptCard z-depth-2">
<div class="mainHeader blue lighten-5">
<span class="ptCardHeader">
Raj Patel
</span>
<span class="ptCardSubHeader">
Ahmedabad
</span>
</div>
<div class="ptCardDisease">
<span class="ptCardCateg">Disease : </span>
<span class="diseaseName">COVID-19</span>
</div>
<div class="ptCardCheckUp">
<span class="ptCardCateg">Last Check-up : </span>
<span class="checkupDate">31/10/20</span>
</div>
<a class="waves-effect waves-light btn-small ptCardEdit">Edit</a>
</div>
<div class="card ptCard z-depth-2">
<div class="mainHeader blue lighten-5">
<span class="ptCardHeader">
Raj Patel
</span>
<span class="ptCardSubHeader">
Ahmedabad
</span>
</div>
<div class="ptCardDisease">
<span class="ptCardCateg">Disease : </span>
<span class="diseaseName">COVID-19</span>
</div>
<div class="ptCardCheckUp">
<span class="ptCardCateg">Last Check-up : </span>
<span class="checkupDate">31/10/20</span>
</div>
<a class="waves-effect waves-light btn-small ptCardEdit">Edit</a>
</div> -->
<!-- <div class="card ptCard z-depth-2">
<div class="mainHeader blue lighten-5">
<span class="ptCardHeader">
Raj Patel
</span>
<span class="ptCardSubHeader">
Ahmedabad
</span>
</div>
<div class="ptCardDisease">
<span class="ptCardCateg">Disease : </span>
<span class="diseaseName">COVID-19</span>
</div>
<div class="ptCardCheckUp">
<span class="ptCardCateg">Last Check-up : </span>
<span class="checkupDate">31/10/20</span>
</div>
<a class="waves-effect waves-light btn-small ptCardEdit">Edit</a>
</div> -->
</div>
</div>
</section>
<!-- JQuery CDN -->
<script src="https://code.jquery.com/jquery-3.5.1.min.js"
integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
<!-- Compiled and minified JavaScript -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- Toastr CDN -->
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
<link href="//cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet">
<!-- Preloader script -->
<script>
$(document).ready(function () {
setTimeout(function () {
$('.preloader-wrapper').removeClass('active');
$('.customPreloader').addClass('disabledCustomPreloader');
}, 3000);
setTimeout(function () {
$('.customPreloader').css("display", "none");
}, 2000);
});
</script>
<script>
// For Side Navbar on smaller screen
$(document).ready(function () {
$('.sidenav').sidenav();
});
$(document).ready(function () {
$('.modal').modal({
inDuration: 300,
outDuration: 300,
preventScrolling: false,
dismissible: true,
// onCloseEnd: function () {
// alert('Closed')
// }
});
$('.modal.myProfModal').modal({
inDuration: 500,
outDuration: 500,
preventScrolling: false,
dismissible: true,
// onCloseEnd: function () {
// alert('Closed');
// }
});
});
$(document).ready(function () {
$('select').formSelect();
$('.multiSelect').formSelect();
});
$(document).ready(function () {
$(document).ready(function () {
$('input#input_text, textarea#textarea2, textarea#textarea26').characterCounter();
});
});
</script>
<script>
function openNextModal() {
$('.modal').modal('close');
}
function destroyModal() {
// alert($('.multiSelect').formSelect('getSelectedValues'));
$('.modal').modal('destroy');
$("#modal1Form")[0].reset();
$("#modal2Form")[0].reset();
$("#modal3Form")[0].reset();
$('.modal').modal({
inDuration: 0,
outDuration: 0,
preventScrolling: false,
dismissible: true,
// onCloseEnd: function () {
// alert('Closed');
// }
});
$('.modal.myProfModal').modal({
inDuration: 400,
outDuration: 400,
preventScrolling: false,
dismissible: true,
// onCloseEnd: function () {
// alert('Closed');
// }
});
}
</script>
<!-- Firebase Scripts -->
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-performance.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-storage.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.1.1/firebase-messaging.js"></script>
<script>
// Initialize Firebase
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyB8v8pD2b70NHbEVcR25KO6opvP_s8BYyw",
authDomain: "pdpu-medical-website.firebaseapp.com",
databaseURL: "https://pdpu-medical-website.firebaseio.com",
projectId: "pdpu-medical-website",
storageBucket: "pdpu-medical-website.appspot.com",
messagingSenderId: "216334365459",
appId: "1:216334365459:web:14c70ae25afcab9b6ce0e6"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
var perf = firebase.performance();
// make auth and firestore references
const auth = firebase.auth();
const db = firebase.firestore();
const stor = firebase.storage();
const messaging = firebase.messaging();
// update firestore settings
db.settings({
timestampsInSnapshots: true
});
</script>
<!-- <script src="js/firebase-messaging-sw.js"></script> -->
<!-- <script type="text/javascript">
messaging.requestPermission().then(() => {
console.log("Permission Granted");
// console.log(message.getToken());
return messaging.getToken({
vapidKey: "BKEJoaeHf4tYKMz1NFB6sMJslO4x3cUBRfa5NJyrTmnjlyKPOmrxZecyGki17AR9jVj8X9OJ1Y-uKZp_rftoTw8"
});
}).then((token) => {
// sendTokenToServer(token);
// updateUIForPushEnabled(token);
console.log("Token is : " + token);
}).catch((err) => {
console.log("Error getting permission" + err.message);
})
messaging.onMessage((payload) => {
console.log('onMessage script tag : ' + payload);
})
</script> -->
<!-- Tensorflow Scripts -->
<script src="https://cdn.jsdelivr.net/npm/@tensorflow/[email protected]/dist/tf.min.js"></script>
<!-- <script src="js/tf.min.js.map"> </script> -->
<script src="https://cdn.jsdelivr.net/npm/@teachablemachine/[email protected]/dist/teachablemachine-image.min.js"></script>
<script src="https://account.snatchbot.me/script.js"></script>
<script>
window.sntchChat.Init(144133)
</script>
<!-- Local Scripts -->
<!-- <script src="js/auth.js"></script> -->
<script src="js/user.js" defer></script>
<!-- <script src="js/profile.js"></script> -->
<!-- <script src="js/patient.js"></script> -->
</body>
</html>