From 82fb5f7ac19edce3410b0c5feb08a00e618a3b3f Mon Sep 17 00:00:00 2001 From: Prabhat Khera <91852476+prabhat-org@users.noreply.github.com> Date: Mon, 11 Jul 2022 14:05:23 +1200 Subject: [PATCH] feat(kubernetes): UI improvements kube app create EE-3462 (#7149) --- app/assets/css/icon.css | 8 + .../por-image-registry-rate-limits.html | 8 +- .../imageRegistry/por-image-registry.html | 28 +- app/kubernetes/__module.js | 1 + .../kube-services-item.html | 396 +++++++++--------- .../kube-services/kube-services.html | 31 +- .../create/createApplication.html | 214 ++++++---- app/kubernetes/views/deploy/deploy.html | 40 +- app/kubernetes/views/kubernetes.css | 11 + app/kubernetes/views/summary/summary.html | 8 +- .../git-form-additional-file-item.html | 12 +- .../git-form-additional-files-panel.html | 4 +- .../git-form-auth-fieldset.html | 14 +- .../git-form-auto-update-fieldset.html | 63 +-- .../git-form-compose-path-field.html | 8 +- .../git-form-ref-field.html | 4 +- .../git-form-url-field.html | 4 +- 17 files changed, 469 insertions(+), 385 deletions(-) create mode 100644 app/kubernetes/views/kubernetes.css diff --git a/app/assets/css/icon.css b/app/assets/css/icon.css index 73d06b4d8..9cc2b9b1e 100644 --- a/app/assets/css/icon.css +++ b/app/assets/css/icon.css @@ -122,3 +122,11 @@ pr-icon { display: flex; align-items: center; } + +.btn-only-icon { + padding: 6px; +} + +.btn-only-icon pr-icon { + margin-top: 0; +} diff --git a/app/docker/components/imageRegistry/por-image-registry-rate-limits.html b/app/docker/components/imageRegistry/por-image-registry-rate-limits.html index dbbbe1951..d55189f44 100644 --- a/app/docker/components/imageRegistry/por-image-registry-rate-limits.html +++ b/app/docker/components/imageRegistry/por-image-registry-rate-limits.html @@ -1,7 +1,7 @@
- +
+
- Image name is required.
+
- No Load balancer is available in this cluster, click
+
No Load balancer is available in this cluster, contract your administrator.
+
+
- This container port is already used. -
-Container port number is required.
-Container port number must be inside the range 1-65535.
-Container port number must be inside the range 1-65535.
-- This service port is already used. -
+ +Service port number is required.
-Container port number must be inside the range 1-65535.
-Container port number must be inside the range 1-65535.
+Node port number must be inside the range 30000-32767 or blank for system allocated.
-Node port number must be inside the range 30000-32767 or blank for system allocated.
+Ingress selection is required.
+Host is required.
+Route is required.
+This field must consist of alphanumeric characters or the special characters: '-', '_' or '/'. It - must start and end with an alphanumeric character (e.g. 'my-route', or 'route-123').
- Ingress is not configured in this namespace, select another namespace or click
+
- Ingress is not configured in this namespace, select another namespace or contact your administrator.
+