Skip to content

Commit 9c620cc

Browse files
authored
Merge pull request #25 from Furkan-del/dev-branch
Dev branch
2 parents ab90096 + bf7f3f7 commit 9c620cc

File tree

1 file changed

+22
-4
lines changed

1 file changed

+22
-4
lines changed

src/main/resources/templates/indexes.html

Lines changed: 22 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -375,10 +375,10 @@
375375
<label><p th:text="${session.username}">Username</p></label>
376376
<label class="btn" for="modal-2"> <a>Contact Admins</a></label>
377377
<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+
378380
<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+
382382
</ul>
383383
</div>
384384
</div>
@@ -454,6 +454,23 @@ <h2>Contact Admins</h2>
454454
</div>
455455
</div>
456456

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+
457474
</div>
458475

459476
<script>
@@ -465,4 +482,5 @@ <h2>Contact Admins</h2>
465482

466483
</body>
467484

468-
</html>
485+
</html>
486+

0 commit comments

Comments
 (0)