|
|
@@ -63,8 +63,11 @@ |
|
|
|
<img class="nav-btn" src="../../images/arrow-right-circle-fill.svg" alt=""> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
<div d="main" v-else-if="active === '#exit'"> |
|
|
|
<div class="actions"><a class="new-order" href="#orders/new">New</a></div> |
|
|
|
<div id="main" v-else-if="active === '#exit'"> |
|
|
|
<section class="logout-pane"> |
|
|
|
<h3>Are you sure you want to logout?</h3> |
|
|
|
<a href="/logout">Logout</a> |
|
|
|
</section> |
|
|
|
</div> |
|
|
|
</transition> |
|
|
|
</template> |
|
|
@@ -80,6 +83,10 @@ function toggleOrderItem(event) { |
|
|
|
event.target.parentNode.parentNode.classList.toggle('selected') |
|
|
|
} |
|
|
|
|
|
|
|
function logout(event) { |
|
|
|
event.target.parentNode.parentNode.classList.toggle('selected') |
|
|
|
} |
|
|
|
|
|
|
|
export default { |
|
|
|
components: { |
|
|
|
Sidebar, |
|
|
|