mirror of
https://github.com/Bubka/2FAuth.git
synced 2025-08-09 05:54:34 +02:00
Embed toolbar within Accounts component instead of App
This commit is contained in:
@ -1,22 +1,7 @@
|
||||
<template>
|
||||
<div>
|
||||
<!-- toolbar -->
|
||||
<header class="toolbar has-background-black-bis" v-if="showToolbar">
|
||||
<div class="container">
|
||||
<div class="columns is-mobile is-centered">
|
||||
<div class="column is-three-quarters-mobile is-one-third-tablet is-one-quarter-desktop is-one-quarter-widescreen is-one-quarter-fullhd">
|
||||
<a class="button is-dark">
|
||||
Delete
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- main content -->
|
||||
<main class="main-section">
|
||||
<router-view :showToolbar="showToolbar"></router-view>
|
||||
</main>
|
||||
</div>
|
||||
<main class="main-section">
|
||||
<router-view></router-view>
|
||||
</main>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -25,7 +10,6 @@
|
||||
|
||||
data(){
|
||||
return {
|
||||
showToolbar: false
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user