2020-03-26 19:04:23 +01:00
|
|
|
<template>
|
2020-03-30 14:26:19 +02:00
|
|
|
<v-app class="srd">
|
2020-03-30 11:03:20 +02:00
|
|
|
|
2020-04-11 18:01:59 +02:00
|
|
|
<NavDrawer class="d-print-none" />
|
|
|
|
|
<RightDrawer class="d-print-none" v-if="hasRightDrawer" />
|
2020-03-26 19:04:23 +01:00
|
|
|
|
2020-04-11 18:01:59 +02:00
|
|
|
<Navbar class="d-print-none" />
|
2020-03-26 19:04:23 +01:00
|
|
|
|
2020-03-28 10:42:54 +01:00
|
|
|
<v-content>
|
2020-04-15 16:27:16 +02:00
|
|
|
<v-container fluid ref="container">
|
2020-03-30 11:03:20 +02:00
|
|
|
<v-row align="start" justify="center">
|
|
|
|
|
<v-col cols="12">
|
|
|
|
|
<DefaultGlobalLayout/>
|
|
|
|
|
</v-col>
|
2020-03-28 10:42:54 +01:00
|
|
|
</v-row>
|
|
|
|
|
</v-container>
|
|
|
|
|
</v-content>
|
|
|
|
|
</v-app>
|
2020-03-26 19:04:23 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import GlobalLayout from '@app/components/GlobalLayout.vue'
|
|
|
|
|
import Navbar from '@theme/components/Navbar.vue'
|
2020-03-30 11:03:20 +02:00
|
|
|
import NavDrawer from '@theme/components/NavDrawer.vue'
|
2020-04-01 19:34:06 +02:00
|
|
|
import RightDrawer from '@theme/components/RightDrawer.vue'
|
2020-04-15 16:27:16 +02:00
|
|
|
import Vue from 'vue'
|
|
|
|
|
import RuleTooltip from '@theme/global-components/RT'
|
2020-03-26 19:04:23 +01:00
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
name: 'GlobalLayout',
|
|
|
|
|
|
|
|
|
|
components: {
|
|
|
|
|
DefaultGlobalLayout: GlobalLayout,
|
2020-03-30 11:03:20 +02:00
|
|
|
Navbar,
|
2020-04-01 19:34:06 +02:00
|
|
|
NavDrawer,
|
|
|
|
|
RightDrawer
|
2020-03-26 19:04:23 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
computed: {
|
2020-04-16 10:58:50 +02:00
|
|
|
// loading () {
|
|
|
|
|
// return this.$store.state.loading
|
|
|
|
|
// },
|
2020-04-01 19:34:06 +02:00
|
|
|
hasRightDrawer() {
|
|
|
|
|
return this.$store.state.hasRightDrawer
|
|
|
|
|
}
|
2020-03-26 19:04:23 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
mounted () {
|
2020-04-11 18:01:59 +02:00
|
|
|
this.$store.commit('setDrawer', this.$vuetify.breakpoint.lgAndUp)
|
2020-04-17 11:31:24 +02:00
|
|
|
// this.$vuetify.theme.dark = this.$store.state.isThemeDark
|
2020-04-15 16:27:16 +02:00
|
|
|
|
|
|
|
|
// let conditionLinks = document.links
|
|
|
|
|
// conditionLinks.forEach((link, idx) => {
|
|
|
|
|
// if (link.hash == "#a-terre") {
|
|
|
|
|
// let RTClass = Vue.extend(RuleTooltip)
|
|
|
|
|
// let rtInstance = new RTClass({
|
|
|
|
|
// propsData: { l: link.text, t: link.hash.substring(1, link.hash.length) },
|
|
|
|
|
// parent: this.$root
|
|
|
|
|
// })
|
|
|
|
|
// rtInstance.$mount()
|
|
|
|
|
// console.log(link)
|
|
|
|
|
// link = rtInstance.$el
|
|
|
|
|
// console.log(link)
|
|
|
|
|
// }
|
|
|
|
|
// })
|
2020-03-26 19:04:23 +01:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</script>
|