summaryrefslogtreecommitdiffstats
path: root/webapp/src/components/ConfiguratorModule.vue
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/components/ConfiguratorModule.vue')
-rw-r--r--webapp/src/components/ConfiguratorModule.vue14
1 files changed, 9 insertions, 5 deletions
diff --git a/webapp/src/components/ConfiguratorModule.vue b/webapp/src/components/ConfiguratorModule.vue
index edbe8f9..7562021 100644
--- a/webapp/src/components/ConfiguratorModule.vue
+++ b/webapp/src/components/ConfiguratorModule.vue
@@ -39,10 +39,14 @@
<v-tab-item>
<v-subheader>{{ $t('configs') }}</v-subheader>
<v-card>
- <data-table v-model="selectedConfigs" :headers="configHeaders" :items="configs" min-width="600px" @dblclick="editConfig($event)">
+ <data-table v-model="selectedConfigs" :headers="configHeaders" :items="configs" min-width="800px" @dblclick="editConfig($event)">
<div slot="actions" slot-scope="row" style="text-align: right">
- <v-btn icon @click.stop="assignConfig(row.item)"><v-icon>device_hub</v-icon></v-btn>
- <v-btn icon @click.stop="editConfig(row.item)"><v-icon color="primary">edit</v-icon></v-btn>
+ <v-btn flat small @click.stop="assignConfig(row.item)">
+ <span class="mr-1">{{ row.item.groupCount }}</span><v-icon small>category</v-icon>
+ <span class="mx-1">/</span>
+ <span class="mr-1">{{ row.item.clientCount }}</span><v-icon small>computer</v-icon>
+ </v-btn>
+ <v-btn flat icon @click.stop="editConfig(row.item)"><v-icon color="primary">edit</v-icon></v-btn>
</div>
</data-table>
</v-card>
@@ -125,9 +129,9 @@ export default {
configHeaders () {
return [
{ key: 'id', text: this.$t('id'), width: '50px' },
- { key: 'name', text: this.$t('name') },
+ { key: 'name', text: this.$t('name'), width: '220px' },
{ key: 'description', text: this.$t('description') },
- { key: 'actions', width: '120px' }
+ { key: 'actions', width: '200px' }
]
},
entryHeaders () {