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>
</header>
<main>
<breadcrumb v-if="$route.meta.breadcrumb" />
<main id="main">
<router-view v-if="isReady" />
</main>

View file

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

View file

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

View file

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

View file

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