From b4acbfc9e12edb2c2cdd9fc6a85fa0e183b58a23 Mon Sep 17 00:00:00 2001 From: Chao Geng <93526589+chaogeng77977@users.noreply.github.com> Date: Wed, 6 Jul 2022 19:11:59 +0800 Subject: [PATCH] fix(registry): Add input prompt and checker in edit page [EE-2705] (#7106) * EE-2705 restrict registry edit options for different registry type --- .../registry-form-ecr.html | 34 +++--- .../registry-form-quay.html | 32 +++-- .../registry-form-quay/registry-form-quay.js | 8 ++ .../registries/create/createRegistry.html | 2 +- .../create/createRegistryController.js | 2 + .../views/registries/edit/registry.html | 109 ++++++++++++++++-- .../registries/edit/registryController.js | 31 +++-- 7 files changed, 175 insertions(+), 43 deletions(-) diff --git a/app/portainer/components/forms/registry-form-aws-ecr/registry-form-ecr.html b/app/portainer/components/forms/registry-form-aws-ecr/registry-form-ecr.html index c8e05faf5..705a149a1 100644 --- a/app/portainer/components/forms/registry-form-aws-ecr/registry-form-ecr.html +++ b/app/portainer/components/forms/registry-form-aws-ecr/registry-form-ecr.html @@ -97,25 +97,25 @@ - - -
This field is required.
-A registry with the same name already exists.
-This field is required.
+A registry with the same name already exists.
+This field is required.
This field is required.
This field is required.
This field is required.
+This field is required.
+This field is required.
+This field is required.
+This field is required.
+This field is required.
+This field is required.