add breadcrumb into main App template

This commit is contained in:
Axolotle 2020-07-27 11:19:32 +02:00
parent 4c67de3ebd
commit 7d40b380e2
5 changed files with 7 additions and 7 deletions

View file

@ -24,7 +24,9 @@
</b-navbar> </b-navbar>
</header> </header>
<main> <breadcrumb v-if="$route.meta.breadcrumb" />
<main id="main">
<router-view v-if="isReady" /> <router-view v-if="isReady" />
</main> </main>

View file

@ -46,4 +46,8 @@ h2 {
font-weight: 400; font-weight: 400;
margin: 0; margin: 0;
} }
.home {
margin-top: 2rem;
}
</style> </style>

View file

@ -1,7 +1,5 @@
<template> <template>
<div class="user"> <div class="user">
<breadcrumb />
<b-card :class="{skeleton: !user}"> <b-card :class="{skeleton: !user}">
<template v-slot:header> <template v-slot:header>
<h2>{{ user ? user.fullname : '' }}</h2> <h2>{{ user ? user.fullname : '' }}</h2>

View file

@ -1,7 +1,5 @@
<template lang="html"> <template lang="html">
<div class="user-create"> <div class="user-create">
<breadcrumb />
<b-card :header="$t('users_new')" header-tag="h2"> <b-card :header="$t('users_new')" header-tag="h2">
<b-form id="user-create" @submit.prevent="onSubmit"> <b-form id="user-create" @submit.prevent="onSubmit">
<b-form-group label-cols="auto" :label="$t('user_username')" label-for="input-username"> <b-form-group label-cols="auto" :label="$t('user_username')" label-for="input-username">

View file

@ -1,7 +1,5 @@
<template> <template>
<div class="users"> <div class="users">
<breadcrumb />
<div class="actions"> <div class="actions">
<b-input-group> <b-input-group>
<b-input-group-prepend is-text> <b-input-group-prepend is-text>