diff --git a/client/web/admin/src/components/Authclient/CAuthclientEditorInfo.vue b/client/web/admin/src/components/Authclient/CAuthclientEditorInfo.vue index 407056e90..559db97f4 100644 --- a/client/web/admin/src/components/Authclient/CAuthclientEditorInfo.vue +++ b/client/web/admin/src/components/Authclient/CAuthclientEditorInfo.vue @@ -63,41 +63,38 @@ :label="$t('redirectURI')" label-class="text-primary" > - - + {{ $t('add') }} - - -
- - - - - - - -
+ + + + + + diff --git a/client/web/admin/src/components/Settings/UI/CUITopbarSettings.vue b/client/web/admin/src/components/Settings/UI/CUITopbarSettings.vue index 9fbb368a3..dc8ca7e7c 100644 --- a/client/web/admin/src/components/Settings/UI/CUITopbarSettings.vue +++ b/client/web/admin/src/components/Settings/UI/CUITopbarSettings.vue @@ -36,6 +36,7 @@

+ + - - - - - - - + + + + + + + + + + @@ -116,12 +116,14 @@

+
{{ $t('profile.title') }}
+
+ - - - - - - - + + + + + + + + + +
diff --git a/client/web/admin/src/components/index.js b/client/web/admin/src/components/index.js index 834c70fb0..2056001bf 100644 --- a/client/web/admin/src/components/index.js +++ b/client/web/admin/src/components/index.js @@ -22,7 +22,7 @@ import { TooltipComponent, } from 'echarts/components' -const { CCorredorManualButtons, CPermissionsButton, CInputConfirm, CButtonSubmit, CInputCheckbox, CInputSelect } = components +const { CCorredorManualButtons, CPermissionsButton, CInputConfirm, CButtonSubmit, CInputCheckbox, CInputSelect, CFormTableWrapper } = components Vue.use(PortalVue) Vue.component('c-corredor-manual-buttons', CCorredorManualButtons) @@ -36,6 +36,7 @@ Vue.component('c-button-submit', CButtonSubmit) Vue.component('c-input-checkbox', CInputCheckbox) Vue.component('c-system-fields', CSystemFields) Vue.component('c-input-select', CInputSelect) +Vue.component('c-form-table-wrapper', CFormTableWrapper) use([ LineChart, diff --git a/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue b/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue index 706833816..38ed61baf 100644 --- a/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue +++ b/client/web/compose/src/components/Admin/Module/FieldRowEdit.vue @@ -97,8 +97,8 @@ - - + + + {{ field.name }} - + + {{ field.label }} - + + {{ field.kind }} diff --git a/client/web/compose/src/components/Admin/Module/UniqueValues.vue b/client/web/compose/src/components/Admin/Module/UniqueValues.vue index 13c503269..f36c8064f 100644 --- a/client/web/compose/src/components/Admin/Module/UniqueValues.vue +++ b/client/web/compose/src/components/Admin/Module/UniqueValues.vue @@ -59,12 +59,14 @@
-
@@ -84,6 +86,7 @@ + -
+
diff --git a/client/web/compose/src/components/PageBlocks/RecordConfigurator.vue b/client/web/compose/src/components/PageBlocks/RecordConfigurator.vue index b9bad0f1a..9d3701ec3 100644 --- a/client/web/compose/src/components/PageBlocks/RecordConfigurator.vue +++ b/client/web/compose/src/components/PageBlocks/RecordConfigurator.vue @@ -135,90 +135,81 @@ - - - - - {{ $t('record.fieldConditions.field') }} - - - - {{ $t('record.fieldConditions.condition') }} - - - - - - - - - - - - - - - - - ƒ - - - - - - - - - - - - - - + + + - {{ $t('record.fieldConditions.action') }} - - - - - + {{ $t('record.fieldConditions.field') }} + + + {{ $t('record.fieldConditions.condition') }} + + + + + + + + + + + + + + ƒ + + + + + + + + + + + + diff --git a/client/web/compose/src/components/PageBlocks/RecordListConfigurator.vue b/client/web/compose/src/components/PageBlocks/RecordListConfigurator.vue index be2b55cf8..ce56c7ecb 100644 --- a/client/web/compose/src/components/PageBlocks/RecordListConfigurator.vue +++ b/client/web/compose/src/components/PageBlocks/RecordListConfigurator.vue @@ -308,17 +308,20 @@ -
- + - -
+ +
@@ -444,28 +447,21 @@ -
- - - -
+
diff --git a/client/web/compose/src/components/PageBlocks/TabsConfigurator.vue b/client/web/compose/src/components/PageBlocks/TabsConfigurator.vue index 73d46a4a6..49f77ea15 100644 --- a/client/web/compose/src/components/PageBlocks/TabsConfigurator.vue +++ b/client/web/compose/src/components/PageBlocks/TabsConfigurator.vue @@ -109,136 +109,126 @@ - - - - - - - {{ $t('tabs.table.columns.title.label') }} - - - - - {{ $t('tabs.table.columns.block.label') }} - - - - - - - - - - - + + + - - - - - - - + {{ $t('tabs.table.columns.title.label') }} + + - - - - - - - - - - + + {{ $t('tabs.table.columns.block.label') }} + - + + + + + - - - - - + + + -
-

- {{ $t('tabs.noTabs') }} -

-
+ + + - - {{ $t('tabs.addTab') }} - + + + + + + + + + + + + + + + + + + + + + + + - + - @@ -238,7 +241,6 @@ /> - @@ -289,37 +291,62 @@ @updateKind="handleFieldKindUpdate(index)" /> - - - - - - + {{ $t('edit.newField') }} - - - - - - {{ $t('edit.systemFields') }} - - - - - + + + +
+ +
+ {{ $t('edit.systemFields') }} +
+ + + + + + + + + + {{ $t('general:label.name') }} + + + + {{ $t('general.label.title') }} + + + + {{ $t('general:label.type') }} + + + + + + + + + diff --git a/client/web/compose/src/views/Admin/Pages/Edit.vue b/client/web/compose/src/views/Admin/Pages/Edit.vue index a03ce19f9..8a3e44344 100644 --- a/client/web/compose/src/views/Admin/Pages/Edit.vue +++ b/client/web/compose/src/views/Admin/Pages/Edit.vue @@ -232,11 +232,15 @@ cols="12" >
-
- + - {{ $t('page-layout.title') }} - {{ $t('page-layout.handle') }} - @@ -284,7 +285,6 @@ class="text-secondary" /> - @@ -294,7 +294,6 @@ :state="layoutTitleState(layout.meta.title)" @input="layout.meta.updated = true" /> - - @@ -314,7 +312,6 @@ :state="layoutHandleState(layout.handle)" @input="layout.meta.updated = true" /> - - - - - - - - {{ $t('general:label.add') }} - - -
+ + @@ -598,11 +579,14 @@ -
- +
- - - - - - - - -
- - - - {{ $t('general:label.add') }} - - -
+ +
@@ -1507,7 +1469,6 @@ export default { this.resolvedRoles = {} this.removedLayouts.clear() this.checkboxLabel = {} - this.abortableRequests = [] }, }, } diff --git a/client/web/reporter/src/components/Common/Prefilter.vue b/client/web/reporter/src/components/Common/Prefilter.vue index 2bbbc2420..1a7575bff 100644 --- a/client/web/reporter/src/components/Common/Prefilter.vue +++ b/client/web/reporter/src/components/Common/Prefilter.vue @@ -1,5 +1,5 @@ + + diff --git a/lib/vue/src/components/wrapper/index.ts b/lib/vue/src/components/wrapper/index.ts new file mode 100644 index 000000000..a52af369e --- /dev/null +++ b/lib/vue/src/components/wrapper/index.ts @@ -0,0 +1 @@ +export { default as CFormTableWrapper } from './CFormTableWrapper.vue' diff --git a/locale/en/corteza-webapp-admin/general.yaml b/locale/en/corteza-webapp-admin/general.yaml index 18f85049b..f299c0be4 100644 --- a/locale/en/corteza-webapp-admin/general.yaml +++ b/locale/en/corteza-webapp-admin/general.yaml @@ -1,4 +1,5 @@ label: + add: Add general: yes: Yes no: No diff --git a/locale/en/corteza-webapp-compose/block.yaml b/locale/en/corteza-webapp-compose/block.yaml index dcb263a58..b97a0a7f4 100644 --- a/locale/en/corteza-webapp-compose/block.yaml +++ b/locale/en/corteza-webapp-compose/block.yaml @@ -843,7 +843,6 @@ tabs: label: Tabs alertTitle: Set a title for your block title: Tabs - addTab: + Add tab: Tab selectBlock: Choose a block noTabs: No tabs configured diff --git a/locale/en/corteza-webapp-compose/module.yaml b/locale/en/corteza-webapp-compose/module.yaml index 1442f3d12..b74e63abe 100644 --- a/locale/en/corteza-webapp-compose/module.yaml +++ b/locale/en/corteza-webapp-compose/module.yaml @@ -71,7 +71,7 @@ edit: steps: recordList: Page with record list recordPage: Record page - systemFields: 'System fields:' + systemFields: 'System fields' tooltip: attributes: Select if the field can hold multiple values, if it's required field or if contains sensitive data name: Should be at least 2 characters long. Can contain only letters, numbers, underscores and dashes. Must end with letter or number.