1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-11-02 16:28:27 +00:00

spell + filtering + urlParams

This commit is contained in:
Maxime Moraine 2020-04-01 19:34:06 +02:00
parent d872002ee9
commit da1547ab88
40 changed files with 1448 additions and 89 deletions

View file

@ -2,11 +2,12 @@
<v-app class="srd">
<NavDrawer />
<RightDrawer v-if="hasRightDrawer" />
<Navbar />
<v-content>
<v-container class="fill-height" fluid>
<v-container fluid>
<v-row align="start" justify="center">
<v-col cols="12">
<DefaultGlobalLayout/>
@ -21,6 +22,7 @@
import GlobalLayout from '@app/components/GlobalLayout.vue'
import Navbar from '@theme/components/Navbar.vue'
import NavDrawer from '@theme/components/NavDrawer.vue'
import RightDrawer from '@theme/components/RightDrawer.vue'
export default {
name: 'GlobalLayout',
@ -28,47 +30,19 @@ export default {
components: {
DefaultGlobalLayout: GlobalLayout,
Navbar,
NavDrawer
NavDrawer,
RightDrawer
},
data () {
return {
items: [
{ icon: 'mdi-contacts', text: 'Contacts' },
{ icon: 'mdi-history', text: 'Frequently contacted' },
{ icon: 'mdi-content-copy', text: 'Duplicates' },
{
icon: 'mdi-chevron-up',
'icon-alt': 'mdi-chevron-down',
text: 'Labels',
model: true,
children: [
{ icon: 'mdi-plus', text: 'Create label' },
],
},
{
icon: 'mdi-chevron-up',
'icon-alt': 'mdi-chevron-down',
text: 'More',
model: false,
children: [
{ text: 'Import' },
{ text: 'Export' },
{ text: 'Print' },
{ text: 'Undo changes' },
{ text: 'Other contacts' },
],
},
{ icon: 'mdi-settings', text: 'Settings' },
{ icon: 'mdi-message', text: 'Send feedback' },
{ icon: 'mdi-help-circle', text: 'Help' },
{ icon: 'mdi-cellphone-link', text: 'App downloads' },
{ icon: 'mdi-keyboard', text: 'Go to the old version' },
],
}
},
computed: {
hasRightDrawer() {
return this.$store.state.hasRightDrawer
}
},
mounted () {