File tree Expand file tree Collapse file tree 1 file changed +22
-4
lines changed
src/main/resources/templates Expand file tree Collapse file tree 1 file changed +22
-4
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 style ="position:absolute; right:170px " class ="btn " for ="modal-3 "> < a > Log Out</ a > </ label >
379
+
378
380
< label style ="font-size:18px; position:absolute; right:0 "> < a id ="getCurrentDate "> </ a > </ label >
379
- < form action ="/logout " method ="get ">
380
- < button type ="submit "> Logout</ button >
381
- </ form >
381
+
382
382
</ ul >
383
383
</ div >
384
384
</ div >
@@ -454,6 +454,23 @@ <h2>Contact Admins</h2>
454
454
</ div >
455
455
</ div >
456
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
+
457
474
</ div >
458
475
459
476
< script >
@@ -465,4 +482,5 @@ <h2>Contact Admins</h2>
465
482
466
483
</ body >
467
484
468
- </ html >
485
+ </ html >
486
+
You can’t perform that action at this time.
0 commit comments