From 3dc722936b4fa0270b1637d72da1b2be1b82631d Mon Sep 17 00:00:00 2001 From: powerkimhub Date: Tue, 6 Aug 2024 03:12:20 +0900 Subject: [PATCH] Fix initial values unset error in AddSubnet Page in AdminWeb2 --- .../admin-web/html/vpc-subnet.html | 122 +++++++++++------- 1 file changed, 74 insertions(+), 48 deletions(-) diff --git a/api-runtime/rest-runtime/admin-web/html/vpc-subnet.html b/api-runtime/rest-runtime/admin-web/html/vpc-subnet.html index 6bc697fc9..27cd25103 100644 --- a/api-runtime/rest-runtime/admin-web/html/vpc-subnet.html +++ b/api-runtime/rest-runtime/admin-web/html/vpc-subnet.html @@ -20,11 +20,6 @@ font-size: 16px; margin: 0; } - .header-container .conn-name { - font-size: 16px; - margin-left: 10px; - color: #888; - } h2 { font-size: 16px; margin: 10px 0; @@ -116,8 +111,6 @@ } .fixed-action-buttons button { margin-left: 10px; - font-size: 14px; - font-weight: bold; } .add-button { font-size: 14px; @@ -219,7 +212,7 @@ overflow: hidden; text-overflow: ellipsis; cursor: pointer; - max-width: calc(100% - 2ch); /* 기존보다 2문자 길이 줄이기 */ + max-width: calc(100% - 2ch); } .tag-container:hover { background-color: #c1e1c1; @@ -250,15 +243,16 @@ } .inner-table .tags-cell { text-align: left; - width: 50%; + width: auto; } .inner-table .actions-cell { - width: 10%; + width: 60px; + white-space: nowrap; } .inner-table .tags-cell div { display: inline-block; padding: 2px 5px; - max-width: calc(100% - 2ch); /* 기존보다 2문자 길이 줄이기 */ + max-width: calc(100% - 2ch); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -267,12 +261,31 @@ width: auto; font-size: 12px; font-weight: bold; - color: red; + white-space: nowrap; } .inner-table button.add-btn { width: auto; font-size: 12px; font-weight: bold; + white-space: nowrap; + } + .inner-table .name-column { + width: 20%; + } + .inner-table .cidr-column { + width: 20%; + } + .inner-table .zone-column { + width: 20%; + } + .inner-table .tags-column { + width: 25%; + } + button.add-btn { + width: 45px; + font-size: 12px; + font-weight: bold; + white-space: nowrap; }
VPC Icon -

VPC/Subnet Management ({{.ConnectionConfig}})

+

VPC/Subnet Management

@@ -714,11 +741,11 @@

VPC/Subnet Management ({{.ConnectionConfig}}) - - - - - + + + + + {{range .SubnetInfoList}} @@ -731,7 +758,7 @@

VPC/Subnet Management ({{.ConnectionConfig}}) {{end}}

{{end}} @@ -750,10 +777,12 @@

VPC/Subnet Management ({{.ConnectionConfig}}) {{end}} + {{if not .VPCs}} +

+ + + {{end}}
NameCIDRZoneTagsNameCIDRZoneTags
- +
No VPCs found for this connection.
- {{if not .VPCs}} -

No VPCs found for this connection.

- {{end}}

@@ -774,7 +803,6 @@

VPC Info:

-
@@ -796,7 +824,6 @@

Subnet Info:

-
@@ -820,23 +847,22 @@

Add New Subnet

- - + +
- - + +
- - + +
- -
- + +
- +
@@ -852,4 +878,4 @@

Add New Subnet

- + \ No newline at end of file