From 39f9173956f2550bd886e85909e1d42041617e6a Mon Sep 17 00:00:00 2001 From: Chao Geng <93526589+chaogeng77977@users.noreply.github.com> Date: Thu, 14 Jul 2022 23:16:59 +0800 Subject: [PATCH] Fix(ui):docker-templates-ui [EE-3485] (#7170) * EE-3485 update ui * EE-3485 update ui * EE-3485 use feather icon to replace trash icon Co-authored-by: RexWangPT --- .../stackFromTemplateForm.html | 29 +-- .../template-list/templateList.html | 70 +++--- app/portainer/views/templates/templates.html | 230 ++++++++---------- 3 files changed, 150 insertions(+), 179 deletions(-) diff --git a/app/portainer/components/forms/stack-from-template-form/stackFromTemplateForm.html b/app/portainer/components/forms/stack-from-template-form/stackFromTemplateForm.html index 09b36756c..a45f42525 100644 --- a/app/portainer/components/forms/stack-from-template-form/stackFromTemplateForm.html +++ b/app/portainer/components/forms/stack-from-template-form/stackFromTemplateForm.html @@ -5,29 +5,28 @@
-
Information
-
-
-
-
+
Information
+
+
-
Configuration
+
Configuration
-
+
-
+

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

+

This field is required.

@@ -38,7 +37,7 @@ {{ var.label }} -
+
+ +
-
- - +
- - -
- +
-
Information
-
-
-
-
+
Information
+
+
-
Configuration
+
Configuration
-
+
@@ -40,7 +38,7 @@
-
+
@@ -53,7 +51,7 @@ {{ var.label }} -
+
- - - +
container @@ -110,125 +95,113 @@
- - + +
-
+
Add map additional port
- + -
-
+
+
- - map additional volume - -
-
- Portainer will automatically create and map a local volume when using the auto option. -
-
-
- -
- -
- container - -
- - -
-
- - - +
+
Portainer will automatically create and map a local volume when using the auto option.
+
+ +
+ +
+ container +
- + + +
+
+ + + +
+ +
+
- -
- - -
- - -
-
- volume + + +
+ + +
- + volume +
+ +
-
- - -
- host - -
- - -
-
- - + + +
+ host +
+ + +
+
+ + +
+
+
- +
-
+
Add map additional volume
-
-
- - - add additional entry - -
- +
-
-
+ + +
+
value
-
+
Add additional entry
-
-
- - - add label - -
- +
-
-
+ + +
+
name @@ -237,19 +210,20 @@ value
-
+ +
Add label
-
-
+
-
+
@@ -257,12 +231,12 @@
-
Actions
+
Actions
- - {{ state.formValidationError }} + + {{ state.formValidationError }}