Skip to content

Commit

Permalink
Merge pull request #25 from Furkan-del/dev-branch
Browse files Browse the repository at this point in the history
Dev branch
  • Loading branch information
Furkan-del authored Jun 8, 2023
2 parents ab90096 + bf7f3f7 commit 9c620cc
Showing 1 changed file with 22 additions and 4 deletions.
26 changes: 22 additions & 4 deletions src/main/resources/templates/indexes.html
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,10 @@
<label><p th:text="${session.username}">Username</p></label>
<label class="btn" for="modal-2"> <a>Contact Admins</a></label>
<label class="btn" for="modal-1"><a>Comment Inspector</a></label>
<label style="position:absolute; right:170px" class="btn" for="modal-3"><a>Log Out</a></label>

<label style="font-size:18px; position:absolute; right:0"><a id="getCurrentDate"></a></label>
<form action="/logout" method="get">
<button type="submit">Logout</button>
</form>

</ul>
</div>
</div>
Expand Down Expand Up @@ -454,6 +454,23 @@ <h2>Contact Admins</h2>
</div>
</div>

<input class="modal-state" id="modal-3" type="checkbox"/>
<div class="modal">
<label class="modal__bg" for="modal-3"></label>
<div style="height:150px" class="modal__inner">
<label class="modal__close" for="modal-3"></label>
<form action="/logout" method="get">
<h2>Are you sure ?</h2>

<button class="button" type="submit">Yes</button>


</form>
</div>
</div>



</div>

<script>
Expand All @@ -465,4 +482,5 @@ <h2>Contact Admins</h2>

</body>

</html>
</html>

0 comments on commit 9c620cc

Please sign in to comment.