From 3cd1884ef01706d2c3d680e78276c5ed2a390f76 Mon Sep 17 00:00:00 2001 From: Ritchie Vincent Date: Mon, 3 Feb 2020 11:07:09 +0000 Subject: [PATCH] vpc: work-in-progress network ACL list rules tab (#138) Add VPC network ACL List rules tab Signed-off-by: Rohit Yadav Co-authored-by: Rohit Yadav --- ui/src/style/ant-overwrite/ant-form.less | 20 + ui/src/style/index.less | 1 + ui/src/views/network/AclListRulesTab.vue | 649 ++++++++++++++++++++++- 3 files changed, 663 insertions(+), 7 deletions(-) create mode 100644 ui/src/style/ant-overwrite/ant-form.less diff --git a/ui/src/style/ant-overwrite/ant-form.less b/ui/src/style/ant-overwrite/ant-form.less new file mode 100644 index 00000000000..0c838c69941 --- /dev/null +++ b/ui/src/style/ant-overwrite/ant-form.less @@ -0,0 +1,20 @@ +// Licensed to the Apache Software Foundation (ASF) under one +// or more contributor license agreements. See the NOTICE file +// distributed with this work for additional information +// regarding copyright ownership. The ASF licenses this file +// to you under the Apache License, Version 2.0 (the +// "License"); you may not use this file except in compliance +// with the License. You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, +// software distributed under the License is distributed on an +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +// KIND, either express or implied. See the License for the +// specific language governing permissions and limitations +// under the License. + +.ant-form .ant-form-item { + margin-bottom: 6px; +} diff --git a/ui/src/style/index.less b/ui/src/style/index.less index d3c8661d3f7..0cb6be41c7f 100644 --- a/ui/src/style/index.less +++ b/ui/src/style/index.less @@ -30,6 +30,7 @@ @import "layout/inverted-mode"; @import "ant-overwrite/ant-layout-header"; @import "ant-overwrite/ant-progress"; +@import "ant-overwrite/ant-form"; @import "frame/content"; @import "frame/search"; diff --git a/ui/src/views/network/AclListRulesTab.vue b/ui/src/views/network/AclListRulesTab.vue index bb35287f6c0..6e9dd2f9e85 100644 --- a/ui/src/views/network/AclListRulesTab.vue +++ b/ui/src/views/network/AclListRulesTab.vue @@ -17,21 +17,185 @@ -