From 5c0a0106d09854a3fee04973c2ef9ef02934f9c2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E8=AE=B8=E6=99=93=E4=B8=9C?= <763795151@qq.com>
Date: Tue, 31 Aug 2021 17:12:01 +0800
Subject: [PATCH] add acl vue
---
README.md | 3 +-
ui/src/App.vue | 38 ++++++++++---
ui/src/components/HelloWorld.vue | 3 -
ui/src/main.js | 6 +-
ui/src/router/index.js | 12 +++-
ui/src/views/About.vue | 5 --
ui/src/views/acl/Acl.vue | 98 ++++++++++++++++++++++++++++++++
ui/src/views/topic/Topic.vue | 18 ++++++
8 files changed, 161 insertions(+), 22 deletions(-)
delete mode 100644 ui/src/views/About.vue
create mode 100644 ui/src/views/acl/Acl.vue
create mode 100644 ui/src/views/topic/Topic.vue
diff --git a/README.md b/README.md
index 5aeb3ff..266a5a6 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,3 @@
# kafka可视化管理平台
-目前支持部分acl功能管理操作
\ No newline at end of file
+目前支持部分acl功能管理操作
+实现:spring boot + scala + vue + kafka
diff --git a/ui/src/App.vue b/ui/src/App.vue
index 2957190..2d3e4b6 100644
--- a/ui/src/App.vue
+++ b/ui/src/App.vue
@@ -1,12 +1,15 @@
-
button
-
-
Home |
-
About
+
主页
+ |
Acl
+
+
+
+
+
-
+
@@ -19,8 +22,17 @@
color: #2c3e50;
}
+#app {
+ width: 100%;
+ height: 100%;
+}
+
#nav {
- padding: 30px;
+ background-color: #9fe0e0;
+ font-size: large;
+ padding-top: 1%;
+ padding-bottom: 1%;
+ margin-bottom: 1%;
}
#nav a {
@@ -29,6 +41,18 @@
}
#nav a.router-link-exact-active {
- color: #42b983;
+ color: #61c126;
+}
+
+.pad-l-r {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+.content {
+ padding-left: 2%;
+ padding-right: 2%;
+ height: 90%;
+ width: 100%;
}
diff --git a/ui/src/components/HelloWorld.vue b/ui/src/components/HelloWorld.vue
index e64cc04..0a5f13a 100644
--- a/ui/src/components/HelloWorld.vue
+++ b/ui/src/components/HelloWorld.vue
@@ -1,10 +1,7 @@
{{ msg }}
-
-
-
+
+
diff --git a/ui/src/views/topic/Topic.vue b/ui/src/views/topic/Topic.vue
new file mode 100644
index 0000000..f2ec367
--- /dev/null
+++ b/ui/src/views/topic/Topic.vue
@@ -0,0 +1,18 @@
+
+
+
+
+
+
+
+
+