From b6852b5e30595edc4b251fe3933960ed55bde9d6 Mon Sep 17 00:00:00 2001 From: Rex Wang <109048808+RexWangPT@users.noreply.github.com> Date: Wed, 10 Aug 2022 09:07:20 +0800 Subject: [PATCH] fix(UI) registry page improvement EE-2705 (#7424) * EE-2705 bug fix * EE-2705 hide auth switch for gitlab --- .../registry-form-ecr.html | 40 ++++++------- .../registry-form-gitlab.html | 4 +- .../views/registries/edit/registry.html | 56 +++++++++++-------- .../registries/edit/registryController.js | 2 + 4 files changed, 56 insertions(+), 46 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 56bbed029..d471c6d2e 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 @@ -116,30 +116,30 @@ - - -
- -
- -
-
-
-
-
-

- - This field is required. -

-

- - A registry with the same name already exists. -

+ +
+ +
+
+
+
+
+

+ + This field is required. +

+

+ + A registry with the same name already exists. +

+
+
+
+
-
Actions
diff --git a/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html b/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html index 018ad00c6..0fa23ab5f 100644 --- a/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html +++ b/app/portainer/components/forms/registry-form-gitlab/registry-form-gitlab.html @@ -61,7 +61,7 @@
-
+ +
+
+ +
+ +
+
+
+
+
+

+ + This field is required. +

+
+
+
+
+
@@ -212,27 +241,6 @@
-
- -
- -
- -
-
-
-
-
-

- - This field is required. -

-
-
-
- -
-