From f9454238428a25e0a05f77e65e528fb844ace618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C5=BEe=20Fortun?= Date: Mon, 18 Dec 2023 17:04:59 +0100 Subject: [PATCH] Move submit button for admin connection editor to each card to match the other admin forms --- .../Connection/CConnectionEditorDAL.vue | 184 +++++++++--------- .../Connection/CConnectionEditorInfo.vue | 66 ++++++- .../CConnectionEditorProperties.vue | 32 ++- .../Connection/CConnectionPrimary.vue | 3 +- .../src/components/User/CUserEditorInfo.vue | 2 +- .../src/views/System/Connection/Editor.vue | 169 +++++++++------- 6 files changed, 288 insertions(+), 168 deletions(-) diff --git a/client/web/admin/src/components/Connection/CConnectionEditorDAL.vue b/client/web/admin/src/components/Connection/CConnectionEditorDAL.vue index 8ddd64f93..d112efb99 100644 --- a/client/web/admin/src/components/Connection/CConnectionEditorDAL.vue +++ b/client/web/admin/src/components/Connection/CConnectionEditorDAL.vue @@ -1,100 +1,99 @@ @@ -108,7 +107,6 @@ export default { props: { disabled: { type: Boolean, default: false }, - canManage: { type: Boolean, default: false }, dal: { type: Object, @@ -119,6 +117,16 @@ export default { type: Array, default: () => ([]), }, + + processing: { + type: Boolean, + value: false, + }, + + success: { + type: Boolean, + value: false, + }, }, data () { diff --git a/client/web/admin/src/components/Connection/CConnectionEditorInfo.vue b/client/web/admin/src/components/Connection/CConnectionEditorInfo.vue index 9912522a5..75df4fbaf 100644 --- a/client/web/admin/src/components/Connection/CConnectionEditorInfo.vue +++ b/client/web/admin/src/components/Connection/CConnectionEditorInfo.vue @@ -2,6 +2,8 @@ @@ -18,7 +20,6 @@ @@ -60,7 +61,6 @@ > @@ -117,7 +117,6 @@ > @@ -135,18 +134,37 @@ + +