From d3a44868dffb60a0fee5650217e1cfaebca18c76 Mon Sep 17 00:00:00 2001 From: Wing-Kam Wong Date: Fri, 22 Jul 2022 11:33:21 +0800 Subject: [PATCH] refactor(gui-v2): styling with css class --- .../components/dashboard/TabView.vue | 50 +++++++++---------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/packages/nc-gui-v2/components/dashboard/TabView.vue b/packages/nc-gui-v2/components/dashboard/TabView.vue index e42570c47b..4c007ab0ce 100644 --- a/packages/nc-gui-v2/components/dashboard/TabView.vue +++ b/packages/nc-gui-v2/components/dashboard/TabView.vue @@ -8,6 +8,7 @@ import MdiExcelIcon from '~icons/mdi/file-excel' import MdiJSONIcon from '~icons/mdi/code-json' import MdiAirTableIcon from '~icons/mdi/table-large' import MdiRequestDataSourceIcon from '~icons/mdi/open-in-new' +import MdiAccountGroupIcon from '~icons/mdi/account-group' const { tabs, activeTab, closeTab } = useTabs() // TODO: use useUIPermission when it's ready @@ -31,8 +32,9 @@ const onEdit = (targetKey: number, action: string) => { @@ -42,15 +44,15 @@ const onEdit = (targetKey: number, action: string) => { - + - - + + {{ $t('tooltip.addTable') }} @@ -63,8 +65,8 @@ const onEdit = (targetKey: number, action: string) => { v-t="['a:actions:import-airtable']" @click="airtableImportDialog = true" > - - + + Airtable @@ -76,8 +78,8 @@ const onEdit = (targetKey: number, action: string) => { @click="fileImportDialog = true" importType="csv" > - - + + CSV file @@ -89,8 +91,8 @@ const onEdit = (targetKey: number, action: string) => { @click="fileImportDialog = true" importType="json" > - - + + JSON file @@ -102,20 +104,22 @@ const onEdit = (targetKey: number, action: string) => { @click="fileImportDialog = true" importType="excel" > - - + + Microsoft Excel - + - - - - Request Data Source - + + + + + Request Data Source + + @@ -136,10 +140,6 @@ const onEdit = (targetKey: number, action: string) => {