change UI for logout

This commit is contained in:
phyusin
2017-11-23 11:07:21 +06:30
parent abca17756f
commit 86ec4c7c80
2 changed files with 234 additions and 231 deletions

View File

@@ -30,9 +30,10 @@
<ul class="dropdown-menu">
<li>
<%if current_login_employee.role !="waiter" %>
<a class="delete waves-effect waves-block" style="padding:0.5rem 1rem; margin-bottom: 0rem;" data-ref="<%=logout_path%>" data-method="delete">
<i class="material-icons m-t-10">exit_to_app</i> Logout
</a>
<p class="delete waves-effect waves-block p-l-30 m-t-15" data-ref="<%=logout_path%>" data-method="delete">
<i class="material-icons">exit_to_app</i>
<span class="font-20 m-b-10">Logout</span>
</p>
<span class="hidden" id="delete_text">
<h6>Are you sure you want to Logout ?</h6>
<!-- <h6>This action can't be undo. </h6> -->