mirror of
https://github.com/YunoHost/yunohost-admin.git
synced 2024-09-03 20:06:15 +02:00
add breadcrumb into main App template
This commit is contained in:
parent
4c67de3ebd
commit
7d40b380e2
5 changed files with 7 additions and 7 deletions
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -46,4 +46,8 @@ h2 {
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.home {
|
||||||
|
margin-top: 2rem;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in a new issue