Skip to content

Commit 05c1e9e

Browse files
committed
Solved logout button so it closes the window and return to login page.
1 parent f0399fa commit 05c1e9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/resources/templates/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ <h6 class="dropdown-header">New Alerts:</h6>
187187
</a>
188188
<!-- Logout Modal-->
189189
<div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
190-
<div class="modal-dialog" role="document">
190+
<div id="logoutModalDialogWindow" class="modal-dialog" role="document">
191191
<div class="modal-content">
192192
<div class="modal-header">
193193
<h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
@@ -198,7 +198,7 @@ <h5 class="modal-title" id="exampleModalLabel">Ready to Leave?</h5>
198198
<div class="modal-body">Select "Logout" below if you are ready to end your current session.</div>
199199
<div class="modal-footer">
200200
<button class="btn btn-secondary" type="button" data-dismiss="modal">Cancel</button>
201-
<a id="logoutLoginBtn" class="btn btn-primary" href="#">Logout</a>
201+
<a id="logoutLoginBtn" class="btn btn-primary" data-dismiss="modal" href="login.html">Logout</a>
202202
</div>
203203
</div>
204204
</div>

0 commit comments

Comments
 (0)