File tree Expand file tree Collapse file tree 1 file changed +22
-10
lines changed
src/main/resources/templates Expand file tree Collapse file tree 1 file changed +22
-10
lines changed Original file line number Diff line number Diff line change 375
375
< label > < p th:text ="${session.username} "> Username</ p > </ label >
376
376
< label class ="btn " for ="modal-2 "> < a > Contact Admins</ a > </ label >
377
377
< label class ="btn " for ="modal-1 "> < a > Comment Inspector</ a > </ label >
378
- < label class ="btn " for ="modal-logout " style ="position: absolute; right: 200px; "> < a > Log Out</ a > </ label >
378
+ < label style ="position:absolute; right:170px " class ="btn " for ="modal-3 "> < a > Log Out</ a > </ label >
379
+
379
380
< label style ="font-size:18px; position:absolute; right:0 "> < a id ="getCurrentDate "> </ a > </ label >
381
+
380
382
</ ul >
381
- < div id ="modal-logout " class ="modal ">
382
- < div class ="modal-content ">
383
- < span class ="close "> ×</ span >
384
- < form action ="/logout " method ="get ">
385
- < button type ="submit "> Logout</ button >
386
- </ form >
387
- </ div >
388
- </ div >
389
383
</ div >
390
384
</ div >
391
385
</ nav >
@@ -460,6 +454,23 @@ <h2>Contact Admins</h2>
460
454
</ div >
461
455
</ div >
462
456
457
+ < input class ="modal-state " id ="modal-3 " type ="checkbox "/>
458
+ < div class ="modal ">
459
+ < label class ="modal__bg " for ="modal-3 "> </ label >
460
+ < div style ="height:150px " class ="modal__inner ">
461
+ < label class ="modal__close " for ="modal-3 "> </ label >
462
+ < form action ="/logout " method ="get ">
463
+ < h2 > Are you sure ?</ h2 >
464
+
465
+ < button class ="button " type ="submit "> Yes</ button >
466
+
467
+
468
+ </ form >
469
+ </ div >
470
+ </ div >
471
+
472
+
473
+
463
474
</ div >
464
475
465
476
< script >
@@ -471,4 +482,5 @@ <h2>Contact Admins</h2>
471
482
472
483
</ body >
473
484
474
- </ html >
485
+ </ html >
486
+
You can’t perform that action at this time.
0 commit comments