From 7accdf704ca3ce007ce2a3177108645a0ab2972c Mon Sep 17 00:00:00 2001 From: Matt Hook Date: Thu, 15 Sep 2022 11:09:19 +1200 Subject: [PATCH] fix(kube): change warning text colour to match figma styling [EE-3045] (#7582) * update warning text colour, icon and alignment to match figma --- app/assets/css/app.css | 2 +- app/assets/css/bootstrap-override.css | 2 +- app/assets/css/icon.css | 4 +- .../imageRegistry/por-image-registry.html | 2 +- .../components/edge-job-form/edgeJobForm.html | 47 ++++---- app/edge/components/group-form/groupForm.html | 16 +-- .../create-edge-stack-view.html | 7 ++ .../helm-add-repository.html | 4 +- .../helm/helm-templates/helm-templates.html | 6 +- .../kube-services-item.html | 20 ++-- .../kube-services/kube-services.html | 4 +- .../kubernetesConfigurationData.html | 4 +- .../create/createApplication.html | 59 +++++----- .../views/applications/stats/stats.html | 4 +- app/kubernetes/views/cluster/node/node.html | 8 +- .../create/createConfiguration.html | 6 +- app/kubernetes/views/configure/configure.html | 10 +- app/kubernetes/views/deploy/deploy.html | 2 +- .../access/resourcePoolAccess.html | 2 +- .../create/createResourcePool.html | 8 +- .../resource-pools/edit/resourcePool.html | 6 +- .../customTemplateCommonFields.html | 4 +- .../git-form-additional-file-item.html | 2 +- .../git-form-auto-update-fieldset.html | 4 +- .../forms/group-form/groupForm.html | 18 +-- .../registry-form-ecr.html | 106 +++++++++--------- .../registry-form-azure.html | 80 ++++++------- .../registry-form-custom.html | 80 ++++++------- .../registry-form-dockerhub.html | 62 +++++----- .../registry-form-gitlab.html | 72 ++++++------ .../registry-form-proget.html | 98 ++++++++-------- .../registry-form-quay.html | 80 ++++++------- app/portainer/views/account/account.html | 7 +- app/portainer/views/init/admin/initAdmin.html | 2 +- .../views/stacks/create/createstack.html | 18 +-- app/portainer/views/tags/tags.html | 26 ++--- app/react/components/PasswordCheckHint.tsx | 2 +- .../FormControl/FormControl.tsx | 37 +++--- 38 files changed, 467 insertions(+), 454 deletions(-) diff --git a/app/assets/css/app.css b/app/assets/css/app.css index 7a21ad595..96006395d 100644 --- a/app/assets/css/app.css +++ b/app/assets/css/app.css @@ -169,7 +169,7 @@ input[type='checkbox'] { } .text-warning { - color: #f0ad4e; + @apply text-warning-9 th-dark:text-warning-7 th-highcontrast:text-warning-1; } .widget .widget-body table tbody .image-tag { diff --git a/app/assets/css/bootstrap-override.css b/app/assets/css/bootstrap-override.css index d81de6a5c..9633f60cb 100644 --- a/app/assets/css/bootstrap-override.css +++ b/app/assets/css/bootstrap-override.css @@ -352,7 +352,7 @@ input:checked + .slider:before { } .table .label .label-warn { - background-color: var(--ui-warning-8); + background-color: var(--ui-warning-9); } .table .label .label-success { diff --git a/app/assets/css/icon.css b/app/assets/css/icon.css index 1f0b1d201..c2da0ea15 100644 --- a/app/assets/css/icon.css +++ b/app/assets/css/icon.css @@ -67,11 +67,11 @@ pr-icon { .icon-warning, .icon-orange { - color: var(--ui-warning-8); + @apply text-warning-9 th-dark:text-warning-7 th-highcontrast:text-warning-1; } .icon.icon-warning-alt { - fill: var(--ui-warning-8); + fill: var(--ui-warning-9); stroke: var(--white-color); } diff --git a/app/docker/components/imageRegistry/por-image-registry.html b/app/docker/components/imageRegistry/por-image-registry.html index a44b84a0d..0ac636b54 100644 --- a/app/docker/components/imageRegistry/por-image-registry.html +++ b/app/docker/components/imageRegistry/por-image-registry.html @@ -61,7 +61,7 @@
-

+

Image name is required. Tag must be specified otherwise Portainer will pull all tags associated to the image.

diff --git a/app/edge/components/edge-job-form/edgeJobForm.html b/app/edge/components/edge-job-form/edgeJobForm.html index 2cd229adc..86e5a3e60 100644 --- a/app/edge/components/edge-job-form/edgeJobForm.html +++ b/app/edge/components/edge-job-form/edgeJobForm.html @@ -15,20 +15,21 @@ required auto-focus /> -
-
-
-
-
-

- This field is required. -

-

- Allowed characters are: [a-zA-Z0-9_.-] -

+
+
+
+

+ This field is required. +

+

+ Allowed characters are: [a-zA-Z0-9_.-] +

+
+
+ @@ -132,20 +133,20 @@ required ng-pattern="$ctrl.cronRegex" /> -
-
Time should be set according to the chosen environments' timezone.
- -
-
-
-

- This field is required. -

-

- This field format is invalid. -

+
+
+
+

+ This field is required. +

+

+ This field format is invalid. +

+
+
+
Time should be set according to the chosen environments' timezone.
diff --git a/app/edge/components/group-form/groupForm.html b/app/edge/components/group-form/groupForm.html index 335f17c1a..145b4ce44 100644 --- a/app/edge/components/group-form/groupForm.html +++ b/app/edge/components/group-form/groupForm.html @@ -13,14 +13,14 @@ data-cy="edgeGroupCreate-groupNameInput" placeholder="e.g. mygroup" /> - - -
-
-
-

- This field is required. -

+
+
+
+

+ This field is required. +

+
+
diff --git a/app/edge/views/edge-stacks/createEdgeStackView/create-edge-stack-view.html b/app/edge/views/edge-stacks/createEdgeStackView/create-edge-stack-view.html index a8f919cf5..a8618348e 100644 --- a/app/edge/views/edge-stacks/createEdgeStackView/create-edge-stack-view.html +++ b/app/edge/views/edge-stacks/createEdgeStackView/create-edge-stack-view.html @@ -20,6 +20,13 @@ required data-cy="edgeStackCreate-nameInput" /> +
+
+
+

Name is required.

+
+
+
diff --git a/app/kubernetes/components/helm/helm-templates/helm-add-repository/helm-add-repository.html b/app/kubernetes/components/helm/helm-templates/helm-add-repository/helm-add-repository.html index 407c021d9..a12b46fe8 100644 --- a/app/kubernetes/components/helm/helm-templates/helm-add-repository/helm-add-repository.html +++ b/app/kubernetes/components/helm/helm-templates/helm-add-repository/helm-add-repository.html @@ -31,7 +31,7 @@
-

A valid URL beginning with http(s) is required.

@@ -41,7 +41,7 @@
-

Helm repository already exists.

+

Helm repository already exists.

diff --git a/app/kubernetes/components/helm/helm-templates/helm-templates.html b/app/kubernetes/components/helm/helm-templates/helm-templates.html index 6f3b19bf1..aa46a63bf 100644 --- a/app/kubernetes/components/helm/helm-templates/helm-templates.html +++ b/app/kubernetes/components/helm/helm-templates/helm-templates.html @@ -61,7 +61,7 @@
-
+
You do not have access to any namespace. Contact your administrator to get access to a namespace.
@@ -86,11 +86,11 @@
-

+

This field is required.

-

+

This field must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123'). diff --git a/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html b/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html index 963dfc77a..3b3e4b1fa 100644 --- a/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html +++ b/app/kubernetes/components/kube-services/kube-services-item/kube-services-item.html @@ -1,12 +1,12 @@

-

+

No Load balancer is available in this cluster, click here to configure load balancer.

-

+

No Load balancer is available in this cluster, contact your administrator.

@@ -44,10 +44,10 @@ />
-
+
This container port is already used.
-
+

Container port number is required.

Container port number must be inside the range 1-65535.

-
+
This service port is already used.
-
+

Service port number is required.

-
+

Nodeport is required.

-
+

Ingress selection is required.

@@ -186,7 +186,7 @@
-
+

Hostname is required.

@@ -209,7 +209,7 @@ />
-
+

Route is required.

-

+

Ingress is not configured in this namespace, select another namespace or click here to configure ingress.

-

+

Ingress is not configured in this namespace, select another namespace or contact your administrator.

diff --git a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html index 2641df977..223135a7c 100644 --- a/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html +++ b/app/kubernetes/components/kubernetes-configuration-data/kubernetesConfigurationData.html @@ -46,7 +46,7 @@ ng-change="$ctrl.onChangeKey(entry)" />
-
+

This field is required.

-
+
You do not have access to any namespace. Contact your administrator to get access to a namespace.
@@ -147,17 +147,17 @@
 
-

This field is required.

-

+

This field must consist of lower case alphanumeric characters or '-', contain at most 63 characters, start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123').

-

+

An application with the same name already exists inside the selected namespace.

@@ -299,15 +299,15 @@ " > -

Environment variable name is required.

-

This field must consist of alphabetic characters, digits, '_', '-', or '.', and must not start with a digit (e.g. 'my.env-name', or 'MY_ENV.NAME', or 'MyEnvName1'.

-

This environment variable is already defined.

@@ -430,7 +430,7 @@ ctrl.state.duplicates.configurationPaths.refs[index + '_' + keyIndex] !== undefined " > -
+
-
+

Value must be between {{ ctrl.state.sliders.memory.min }} and @@ -959,9 +959,9 @@ -

-
- +
+ +
-
-
-
-
- -

Instance count is required.

-

Instance count must be greater than 0.

-
+
+
+ +

Instance count is required.

+

Instance count must be greater than 0.

+
+
+
@@ -1077,7 +1078,7 @@ />
-
+

Minimum instances is required. @@ -1104,7 +1105,7 @@ />

-
+

Maximum instances is required. @@ -1135,7 +1136,7 @@ />

-
+

Target CPU usage is required. @@ -1225,7 +1226,7 @@

-
+

This label is already defined.

diff --git a/app/kubernetes/views/applications/stats/stats.html b/app/kubernetes/views/applications/stats/stats.html index 9541b9c0d..b0b849d4c 100644 --- a/app/kubernetes/views/applications/stats/stats.html +++ b/app/kubernetes/views/applications/stats/stats.html @@ -28,7 +28,7 @@
- + Portainer was unable to retrieve any metrics associated to that container. Please contact your administrator to ensure that the Kubernetes metrics feature is properly configured. @@ -47,7 +47,7 @@
- + This view displays real-time statistics about the container {{ ctrl.state.transition.containerName | trimcontainername }}. diff --git a/app/kubernetes/views/cluster/node/node.html b/app/kubernetes/views/cluster/node/node.html index 21578ff46..c64e7dfb2 100644 --- a/app/kubernetes/views/cluster/node/node.html +++ b/app/kubernetes/views/cluster/node/node.html @@ -57,11 +57,11 @@ -
+
Cannot use this action while another node is currently being drained.
-
+
Cannot drain a node where this Portainer instance is running.
@@ -135,7 +135,7 @@ system
-
+

Label key is required.

@@ -185,7 +185,7 @@
diff --git a/app/kubernetes/views/configurations/create/createConfiguration.html b/app/kubernetes/views/configurations/create/createConfiguration.html index 3c22b350f..0e2244613 100644 --- a/app/kubernetes/views/configurations/create/createConfiguration.html +++ b/app/kubernetes/views/configurations/create/createConfiguration.html @@ -33,7 +33,7 @@
-
+

This field is required.

-
+
This namespace has exhausted its resource capacity and you will not be able to deploy the configuration. Contact your administrator to expand the capacity of the namespace.
-
+
You do not have access to any namespace. Contact your administrator to get access to a namespace.
diff --git a/app/kubernetes/views/configure/configure.html b/app/kubernetes/views/configure/configure.html index f74350fc0..b45c1ab46 100644 --- a/app/kubernetes/views/configure/configure.html +++ b/app/kubernetes/views/configure/configure.html @@ -118,15 +118,15 @@ ng-if="kubernetesClusterSetupForm['ingress_class_name_' + $index].$invalid || ctrl.state.duplicates.ingressClasses.refs[$index] !== undefined" >
-

Ingress class name is required.

-

This field must consist of lower case alphanumeric characters or '-', start with an alphabetic character, and end with an alphanumeric character (e.g. 'my-name', or 'abc-123').

-

+

This ingress class is already defined.

@@ -134,7 +134,7 @@
-

Ingress class type is required.

@@ -166,7 +166,7 @@ tooltip="'Specify a timeframe during which automatic updates can occur in this environment.'" on-change="(ctrl.onToggleAutoUpdate)" label-class="'col-sm-5 col-lg-4 px-0 !m-0'" - switch-class="'col-sm-8'" + switch-class="'col-sm-8 text-muted'" >
diff --git a/app/kubernetes/views/deploy/deploy.html b/app/kubernetes/views/deploy/deploy.html index bd3d1025c..e195f2d47 100644 --- a/app/kubernetes/views/deploy/deploy.html +++ b/app/kubernetes/views/deploy/deploy.html @@ -41,7 +41,7 @@
-
+
You do not have access to any namespace. Contact your administrator to get access to a namespace.
diff --git a/app/kubernetes/views/resource-pools/access/resourcePoolAccess.html b/app/kubernetes/views/resource-pools/access/resourcePoolAccess.html index beffcb04e..e0e008e54 100644 --- a/app/kubernetes/views/resource-pools/access/resourcePoolAccess.html +++ b/app/kubernetes/views/resource-pools/access/resourcePoolAccess.html @@ -44,7 +44,7 @@
- +

Adding user access will require the affected user(s) to logout and login for the changes to be taken into account. diff --git a/app/kubernetes/views/resource-pools/create/createResourcePool.html b/app/kubernetes/views/resource-pools/create/createResourcePool.html index 2d6e886a6..699cdbba5 100644 --- a/app/kubernetes/views/resource-pools/create/createResourcePool.html +++ b/app/kubernetes/views/resource-pools/create/createResourcePool.html @@ -31,7 +31,7 @@ />

-
+

This field is required.

Resource limits

- +

At least a single limit must be set for the quota to be valid. @@ -121,7 +121,7 @@

-
+

Value must be between @@ -276,7 +276,7 @@

-
+

Not enough resources available in the cluster to apply a resource reservation. @@ -103,7 +103,7 @@

-
+

Value must be between {{ ctrl.ResourceQuotaDefaults.MemoryLimit }} and @@ -237,7 +237,7 @@

diff --git a/app/portainer/components/custom-template-common-fields/customTemplateCommonFields.html b/app/portainer/components/custom-template-common-fields/customTemplateCommonFields.html index 8c10a56c9..7fdcf4003 100644 --- a/app/portainer/components/custom-template-common-fields/customTemplateCommonFields.html +++ b/app/portainer/components/custom-template-common-fields/customTemplateCommonFields.html @@ -16,7 +16,7 @@ />
-
+

Title is required.

@@ -37,7 +37,7 @@

-
+

Description is required.

diff --git a/app/portainer/components/forms/git-form/git-form-additional-files-panel/git-form-additional-file-item/git-form-additional-file-item.html b/app/portainer/components/forms/git-form/git-form-additional-files-panel/git-form-additional-file-item/git-form-additional-file-item.html index c175cccc5..a984380c8 100644 --- a/app/portainer/components/forms/git-form/git-form-additional-files-panel/git-form-additional-file-item/git-form-additional-file-item.html +++ b/app/portainer/components/forms/git-form/git-form-additional-files-panel/git-form-additional-file-item/git-form-additional-file-item.html @@ -10,7 +10,7 @@
-
+

Path is required.

diff --git a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html index 76658a60f..2dc328e14 100644 --- a/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html +++ b/app/portainer/components/forms/git-form/git-form-auto-update-fieldset/git-form-auto-update-fieldset.html @@ -13,7 +13,7 @@
- Any changes to this stack or application made locally in Portainer will be overridden, which may cause service interruption. Do you wish to continue?
@@ -60,7 +60,7 @@ />
-
+

This field is required.

Please enter a valid time interval.

diff --git a/app/portainer/components/forms/group-form/groupForm.html b/app/portainer/components/forms/group-form/groupForm.html index b23083792..e3b71c942 100644 --- a/app/portainer/components/forms/group-form/groupForm.html +++ b/app/portainer/components/forms/group-form/groupForm.html @@ -4,15 +4,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
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 d471c6d2e..cf0fe009c 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 @@ -14,19 +14,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -48,15 +48,15 @@ placeholder="aws-account-id.dkr.ecr.us-east-1.amazonaws.com/" required /> -
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -84,15 +84,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -103,15 +103,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -122,19 +122,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
diff --git a/app/portainer/components/forms/registry-form-azure/registry-form-azure.html b/app/portainer/components/forms/registry-form-azure/registry-form-azure.html index 811bb2a86..32fe9ed6a 100644 --- a/app/portainer/components/forms/registry-form-azure/registry-form-azure.html +++ b/app/portainer/components/forms/registry-form-azure/registry-form-azure.html @@ -5,19 +5,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -30,15 +30,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -48,15 +48,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -66,15 +66,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
diff --git a/app/portainer/components/forms/registry-form-custom/registry-form-custom.html b/app/portainer/components/forms/registry-form-custom/registry-form-custom.html index 9a9ece6b1..2630b3536 100644 --- a/app/portainer/components/forms/registry-form-custom/registry-form-custom.html +++ b/app/portainer/components/forms/registry-form-custom/registry-form-custom.html @@ -12,19 +12,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -37,15 +37,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -71,15 +71,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -89,15 +89,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
diff --git a/app/portainer/components/forms/registry-form-dockerhub/registry-form-dockerhub.html b/app/portainer/components/forms/registry-form-dockerhub/registry-form-dockerhub.html index c5f7e2c37..24e5a1b30 100644 --- a/app/portainer/components/forms/registry-form-dockerhub/registry-form-dockerhub.html +++ b/app/portainer/components/forms/registry-form-dockerhub/registry-form-dockerhub.html @@ -14,19 +14,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -36,15 +36,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -54,15 +54,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
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 5c289533d..f290d8f4f 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 @@ -14,15 +14,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -32,15 +32,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -77,15 +77,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -98,15 +98,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
diff --git a/app/portainer/components/forms/registry-form-proget/registry-form-proget.html b/app/portainer/components/forms/registry-form-proget/registry-form-proget.html index d126e35d4..e5e4aed62 100644 --- a/app/portainer/components/forms/registry-form-proget/registry-form-proget.html +++ b/app/portainer/components/forms/registry-form-proget/registry-form-proget.html @@ -12,19 +12,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -37,15 +37,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -58,15 +58,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -77,15 +77,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -95,15 +95,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
diff --git a/app/portainer/components/forms/registry-form-quay/registry-form-quay.html b/app/portainer/components/forms/registry-form-quay/registry-form-quay.html index 54eb91460..103f3014e 100644 --- a/app/portainer/components/forms/registry-form-quay/registry-form-quay.html +++ b/app/portainer/components/forms/registry-form-quay/registry-form-quay.html @@ -5,19 +5,19 @@
-
-
-
-
-
-

- - This field is required. -

-

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

+
+
+
+

+ + This field is required. +

+

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

+
+
@@ -27,15 +27,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -45,15 +45,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
@@ -77,15 +77,15 @@
-
-
-
-
-
-

- - This field is required. -

+
+
+
+

+ + This field is required. +

+
+
diff --git a/app/portainer/views/account/account.html b/app/portainer/views/account/account.html index 00faa05d6..9a7ad3662 100644 --- a/app/portainer/views/account/account.html +++ b/app/portainer/views/account/account.html @@ -38,7 +38,12 @@
- +
+
+
+ +
+
diff --git a/app/portainer/views/init/admin/initAdmin.html b/app/portainer/views/init/admin/initAdmin.html index 88f46d8bd..eb66d535c 100644 --- a/app/portainer/views/init/admin/initAdmin.html +++ b/app/portainer/views/init/admin/initAdmin.html @@ -70,7 +70,7 @@
-
+

The password must be at least {{ requiredPasswordLength }} characters long. diff --git a/app/portainer/views/stacks/create/createstack.html b/app/portainer/views/stacks/create/createstack.html index 8537da978..012b80b3c 100644 --- a/app/portainer/views/stacks/create/createstack.html +++ b/app/portainer/views/stacks/create/createstack.html @@ -19,15 +19,15 @@ auto-focus ng-pattern="STACK_NAME_VALIDATION_REGEX" /> -

-
-
-
-
-

- - This field must consist of lower case alphanumeric characters, '_' or '-' (e.g. 'my-name', or 'abc-123'). -

+
+
+
+

+ + This field must consist of lower case alphanumeric characters, '_' or '-' (e.g. 'my-name', or 'abc-123'). +

+
+
diff --git a/app/portainer/views/tags/tags.html b/app/portainer/views/tags/tags.html index 37e17a598..ab09efaec 100644 --- a/app/portainer/views/tags/tags.html +++ b/app/portainer/views/tags/tags.html @@ -20,19 +20,19 @@ required auto-focus /> -
-
-
-
-
-

- - This field is required. -

-

- - This tag already exists. -

+
+
+
+

+ + This field is required. +

+

+ + This tag already exists. +

+
+
diff --git a/app/react/components/PasswordCheckHint.tsx b/app/react/components/PasswordCheckHint.tsx index 069fe6d2d..d75da6a7d 100644 --- a/app/react/components/PasswordCheckHint.tsx +++ b/app/react/components/PasswordCheckHint.tsx @@ -16,7 +16,7 @@ export function PasswordCheckHint({ return (
-

+

{forceChangePassword && 'An administrator has changed your password requirements, '} diff --git a/app/react/components/form-components/FormControl/FormControl.tsx b/app/react/components/form-components/FormControl/FormControl.tsx index 1717621b9..81b7d3847 100644 --- a/app/react/components/form-components/FormControl/FormControl.tsx +++ b/app/react/components/form-components/FormControl/FormControl.tsx @@ -29,29 +29,28 @@ export function FormControl({ required, }: PropsWithChildren) { return ( - <> -

-
); }