summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/GroupModule.vue
diff options
context:
space:
mode:
authorUdo Walter2018-08-04 09:07:56 +0200
committerUdo Walter2018-08-04 09:07:56 +0200
commitebb9336648072ae56ff5bdc324645b21406c16f4 (patch)
treed886edcb04e45526b82ecb4d7cc24849c43366d0 /webapp/src/components/GroupModule.vue
parent[webapp/groups] small bugfix (diff)
downloadbas-ebb9336648072ae56ff5bdc324645b21406c16f4.tar.gz
bas-ebb9336648072ae56ff5bdc324645b21406c16f4.tar.xz
bas-ebb9336648072ae56ff5bdc324645b21406c16f4.zip
small changes
Diffstat (limited to 'webapp/src/components/GroupModule.vue')
-rw-r--r--webapp/src/components/GroupModule.vue39
1 files changed, 19 insertions, 20 deletions
diff --git a/webapp/src/components/GroupModule.vue b/webapp/src/components/GroupModule.vue
index 4d4c765..c163b5a 100644
--- a/webapp/src/components/GroupModule.vue
+++ b/webapp/src/components/GroupModule.vue
@@ -11,26 +11,25 @@
<v-container fill-height>
<v-layout>
<v-flex class="tabs-wrapper" xl10 offset-xl1 lg12>
- <v-card>
- <v-tabs :value="activeTab" @input="setActiveTab" :dark="tabsDark" :color="tabsColor" :slider-color="tabsSliderColor">
- <template v-for="(item, index) in tabChain">
- <v-icon v-if="item.tabType !== 'home'" :key="'arrow' + index">keyboard_arrow_right</v-icon>
- <v-tab ripple :key="'tab' + index">
- <v-icon v-if="item.tabType === 'home'">home</v-icon>
- <v-icon v-if="item.tabType === 'client'" style="margin-right: 10px">computer</v-icon>
- <template v-if="item.tabType !== 'home'">{{ item.name || item.id || ' . . . . . . . . . . ' }}</template>
- </v-tab>
- </template>
- </v-tabs>
- </v-card>
- <v-tabs-items :value="activeTab" @input="setActiveTab" touchless style="padding-bottom: 20px">
- <v-tab-item v-for="(item, index) in tabChain" :key="index">
- <group-module-home-view v-if="item.tabType === 'home'" :home="item" />
- <group-module-group-view v-if="item.tabType === 'group'" :group="item" :tabIndex="index" />
- <group-module-client-view v-if="item.tabType === 'client'" :client="item" :tabIndex="index" />
- </v-tab-item>
- </v-tabs-items>
- <router-view />
+ <v-card>
+ <v-tabs :value="activeTab" @input="setActiveTab" :dark="tabsDark" :color="tabsColor" :slider-color="tabsSliderColor">
+ <template v-for="(item, index) in tabChain">
+ <v-icon v-if="item.tabType !== 'home'" :key="'arrow' + index">keyboard_arrow_right</v-icon>
+ <v-tab ripple :key="'tab' + index">
+ <v-icon v-if="item.tabType === 'home'">home</v-icon>
+ <v-icon v-if="item.tabType === 'client'" style="margin-right: 10px">computer</v-icon>
+ <template v-if="item.tabType !== 'home'">{{ item.name || item.id || ' . . . . . . . . . . ' }}</template>
+ </v-tab>
+ </template>
+ </v-tabs>
+ </v-card>
+ <v-tabs-items :value="activeTab" @input="setActiveTab" touchless style="padding-bottom: 20px">
+ <v-tab-item v-for="(item, index) in tabChain" :key="index">
+ <group-module-home-view v-if="item.tabType === 'home'" :home="item" />
+ <group-module-group-view v-if="item.tabType === 'group'" :group="item" :tabIndex="index" />
+ <group-module-client-view v-if="item.tabType === 'client'" :client="item" :tabIndex="index" />
+ </v-tab-item>
+ </v-tabs-items>
</v-flex>
</v-layout>
<group-module-dialog />