From e4fc41fc9400cb9456ab8640ffc225980ba25bc2 Mon Sep 17 00:00:00 2001 From: Rex Wang <109048808+RexWangPT@users.noreply.github.com> Date: Thu, 14 Jul 2022 21:35:37 +0800 Subject: [PATCH] fix(ui): update UI of docker/network/create EE-3507 (#7255) * EE-3507 update UI of docker/network/create * EE-3507 update all icons --- .../networkMacvlanForm.html | 16 ++-- .../create/createNetworkController.js | 12 +++ .../views/networks/create/createnetwork.html | 88 +++++++++---------- 3 files changed, 64 insertions(+), 52 deletions(-) diff --git a/app/docker/components/network-macvlan-form/networkMacvlanForm.html b/app/docker/components/network-macvlan-form/networkMacvlanForm.html index fb61daa16..980219c38 100644 --- a/app/docker/components/network-macvlan-form/networkMacvlanForm.html +++ b/app/docker/components/network-macvlan-form/networkMacvlanForm.html @@ -2,13 +2,13 @@
Macvlan configuration
- - + + To create a MACVLAN network you need to create a configuration, then create the network from this configuration.
-
+
@@ -55,7 +55,7 @@
-

Parent network card must be specified.

+

Parent network card must be specified.

@@ -82,7 +82,7 @@
-

At least one node must be selected.

+

At least one node must be selected.

@@ -95,8 +95,8 @@
- -
+ +
@@ -47,10 +44,13 @@ value
-
+
+ Add driver option +
@@ -91,18 +91,18 @@ placeholder="e.g. my-router=172.20.10.129" />
- -
-

Exclude ip cannot be the same as gateway.

+
+

Exclude ip cannot be the same as gateway.

- - add excluded IP - +
+ Add excluded IP +
@@ -138,30 +138,26 @@ placeholder="e.g. my-router=2001:db8::1" />
-
-

Exclude ip cannot be the same as gateway.

+

Exclude ip cannot be the same as gateway.

- - add excluded IP - +
+ Add excluded IP +
Advanced configuration
-
- - add label -
-
-
+
+
name @@ -170,10 +166,15 @@ value
-
+
+
+ Add label +
+
@@ -181,25 +182,25 @@
- - +
- - +
@@ -233,8 +234,7 @@ Create the network Creating network... - - {{ state.formValidationError }} + {{ state.formValidationError }}