Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
DiDi
kafka-manager
提交
d83d35ae
K
kafka-manager
项目概览
DiDi
/
kafka-manager
9 个月 前同步成功
通知
58
Star
6372
Fork
1229
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
kafka-manager
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
d83d35ae
编写于
9月 21, 2022
作者:
G
GraceWalk
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
fix: 样式 & 文案优化
上级
1d3caeea
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
13 addition
and
10 deletion
+13
-10
km-console/packages/layout-clusters-fe/src/locales/zh.tsx
km-console/packages/layout-clusters-fe/src/locales/zh.tsx
+1
-2
km-console/packages/layout-clusters-fe/src/pages/Consumers/index.less
...ackages/layout-clusters-fe/src/pages/Consumers/index.less
+4
-0
km-console/packages/layout-clusters-fe/src/pages/Jobs/RebalancePlan.tsx
...kages/layout-clusters-fe/src/pages/Jobs/RebalancePlan.tsx
+2
-2
km-console/packages/layout-clusters-fe/src/pages/LoadRebalance/index.tsx
...ages/layout-clusters-fe/src/pages/LoadRebalance/index.tsx
+1
-1
km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/AccessCluster.tsx
...-clusters-fe/src/pages/MutliClusterPage/AccessCluster.tsx
+3
-3
km-console/packages/layout-clusters-fe/src/pages/TopicList/Create.tsx
...ackages/layout-clusters-fe/src/pages/TopicList/Create.tsx
+2
-2
未找到文件。
km-console/packages/layout-clusters-fe/src/locales/zh.tsx
浏览文件 @
d83d35ae
...
@@ -21,7 +21,6 @@ export default {
...
@@ -21,7 +21,6 @@ export default {
[
`menu.
${
systemKey
}
.cluster`
]:
'
Cluster
'
,
[
`menu.
${
systemKey
}
.cluster`
]:
'
Cluster
'
,
[
`menu.
${
systemKey
}
.cluster.overview`
]:
'
Overview
'
,
[
`menu.
${
systemKey
}
.cluster.overview`
]:
'
Overview
'
,
[
`menu.
${
systemKey
}
.cluster.balance`
]:
'
Load Rebalance
'
,
[
`menu.
${
systemKey
}
.broker`
]:
'
Broker
'
,
[
`menu.
${
systemKey
}
.broker`
]:
'
Broker
'
,
[
`menu.
${
systemKey
}
.broker.dashbord`
]:
'
Overview
'
,
[
`menu.
${
systemKey
}
.broker.dashbord`
]:
'
Overview
'
,
...
@@ -45,7 +44,7 @@ export default {
...
@@ -45,7 +44,7 @@ export default {
[
`menu.
${
systemKey
}
.consumer-group.group-list`
]:
'
GroupList
'
,
[
`menu.
${
systemKey
}
.consumer-group.group-list`
]:
'
GroupList
'
,
[
`menu.
${
systemKey
}
.operation`
]:
'
Operation
'
,
[
`menu.
${
systemKey
}
.operation`
]:
'
Operation
'
,
[
`menu.
${
systemKey
}
.operation.balance`
]:
'
Load
Rebalance
'
,
[
`menu.
${
systemKey
}
.operation.balance`
]:
'
Rebalance
'
,
[
`menu.
${
systemKey
}
.operation.jobs`
]:
'
Job
'
,
[
`menu.
${
systemKey
}
.operation.jobs`
]:
'
Job
'
,
[
`menu.
${
systemKey
}
.acls`
]:
'
ACLs
'
,
[
`menu.
${
systemKey
}
.acls`
]:
'
ACLs
'
,
...
...
km-console/packages/layout-clusters-fe/src/pages/Consumers/index.less
浏览文件 @
d83d35ae
...
@@ -53,6 +53,10 @@
...
@@ -53,6 +53,10 @@
align-items: center;
align-items: center;
.d-range-time-input {
.d-range-time-input {
height: 27px !important;
height: 27px !important;
padding: 0 11px;
input{
line-height: 100%;
}
}
}
.divider {
.divider {
width: 1px;
width: 1px;
...
...
km-console/packages/layout-clusters-fe/src/pages/Jobs/RebalancePlan.tsx
浏览文件 @
d83d35ae
...
@@ -13,8 +13,8 @@ interface PropsType {
...
@@ -13,8 +13,8 @@ interface PropsType {
}
}
const
typeObj
:
any
=
{
const
typeObj
:
any
=
{
1
:
'
周期
均衡
'
,
1
:
'
立即
均衡
'
,
2
:
'
立即
均衡
'
,
2
:
'
周期
均衡
'
,
};
};
const
{
request
,
post
}
=
Utils
;
const
{
request
,
post
}
=
Utils
;
...
...
km-console/packages/layout-clusters-fe/src/pages/LoadRebalance/index.tsx
浏览文件 @
d83d35ae
...
@@ -330,7 +330,7 @@ const LoadBalance: React.FC = (props: any) => {
...
@@ -330,7 +330,7 @@ const LoadBalance: React.FC = (props: any) => {
breadcrumbs
=
{
[
breadcrumbs
=
{
[
{
label
:
'
多集群管理
'
,
aHref
:
'
/
'
},
{
label
:
'
多集群管理
'
,
aHref
:
'
/
'
},
{
label
:
global
?.
clusterInfo
?.
name
,
aHref
:
`/cluster/
${
global
?.
clusterInfo
?.
id
}
`
},
{
label
:
global
?.
clusterInfo
?.
name
,
aHref
:
`/cluster/
${
global
?.
clusterInfo
?.
id
}
`
},
{
label
:
'
Load
Rebalance
'
,
aHref
:
``
},
{
label
:
'
Rebalance
'
,
aHref
:
``
},
]
}
]
}
/>
/>
</
div
>
</
div
>
...
...
km-console/packages/layout-clusters-fe/src/pages/MutliClusterPage/AccessCluster.tsx
浏览文件 @
d83d35ae
...
@@ -202,7 +202,7 @@ const AccessClusters = (props: any): JSX.Element => {
...
@@ -202,7 +202,7 @@ const AccessClusters = (props: any): JSX.Element => {
}
}
if
(
modifyKey
)
{
if
(
modifyKey
)
{
extraMsg
[
modifyKey
]
=
`连接失败。
${
message
}
`
;
extraMsg
[
modifyKey
]
=
message
;
}
}
});
});
...
@@ -338,7 +338,7 @@ const AccessClusters = (props: any): JSX.Element => {
...
@@ -338,7 +338,7 @@ const AccessClusters = (props: any): JSX.Element => {
<
Form
.
Item
<
Form
.
Item
name
=
"bootstrapServers"
name
=
"bootstrapServers"
label
=
"Bootstrap Servers"
label
=
"Bootstrap Servers"
extra
=
{
<
span
className
=
{
extra
.
bootstrapExtra
.
includes
(
'
连接成功
'
)
?
'
error-extra-info
'
:
''
}
>
{
extra
.
bootstrapExtra
}
</
span
>
}
extra
=
{
<
span
className
=
{
!
extra
.
bootstrapExtra
.
includes
(
'
连接成功
'
)
?
'
error-extra-info
'
:
''
}
>
{
extra
.
bootstrapExtra
}
</
span
>
}
validateTrigger
=
{
'
onBlur
'
}
validateTrigger
=
{
'
onBlur
'
}
rules
=
{
[
rules
=
{
[
{
{
...
@@ -374,7 +374,7 @@ const AccessClusters = (props: any): JSX.Element => {
...
@@ -374,7 +374,7 @@ const AccessClusters = (props: any): JSX.Element => {
<
Form
.
Item
<
Form
.
Item
name
=
"zookeeper"
name
=
"zookeeper"
label
=
"Zookeeper"
label
=
"Zookeeper"
extra
=
{
<
span
className
=
{
extra
.
zooKeeperExtra
.
includes
(
'
连接成功
'
)
?
'
error-extra-info
'
:
''
}
>
{
extra
.
zooKeeperExtra
}
</
span
>
}
extra
=
{
<
span
className
=
{
!
extra
.
zooKeeperExtra
.
includes
(
'
连接成功
'
)
?
'
error-extra-info
'
:
''
}
>
{
extra
.
zooKeeperExtra
}
</
span
>
}
validateStatus
=
{
zookeeperErrorStatus
?
'
error
'
:
'
success
'
}
validateStatus
=
{
zookeeperErrorStatus
?
'
error
'
:
'
success
'
}
validateTrigger
=
{
'
onBlur
'
}
validateTrigger
=
{
'
onBlur
'
}
rules
=
{
[
rules
=
{
[
...
...
km-console/packages/layout-clusters-fe/src/pages/TopicList/Create.tsx
浏览文件 @
d83d35ae
...
@@ -218,10 +218,10 @@ export default (props: any) => {
...
@@ -218,10 +218,10 @@ export default (props: any) => {
</
Form
.
Item
>
</
Form
.
Item
>
<
div
className
=
"create-topic-flex-layout"
>
<
div
className
=
"create-topic-flex-layout"
>
<
Form
.
Item
name
=
"partitionNum"
label
=
"分区数"
rules
=
{
[{
required
:
true
,
message
:
'
请输入分区数
'
}]
}
>
<
Form
.
Item
name
=
"partitionNum"
label
=
"分区数"
rules
=
{
[{
required
:
true
,
message
:
'
请输入分区数
'
}]
}
>
<
InputNumber
min
=
{
1
}
style
=
{
{
width
:
'
100%
'
}
}
/>
<
InputNumber
min
=
{
1
}
style
=
{
{
width
:
'
100%
'
}
}
addonAfter
=
"个"
/>
</
Form
.
Item
>
</
Form
.
Item
>
<
Form
.
Item
name
=
"replicaNum"
label
=
"副本数"
rules
=
{
[{
required
:
true
,
message
:
'
请输入副本数
'
}]
}
>
<
Form
.
Item
name
=
"replicaNum"
label
=
"副本数"
rules
=
{
[{
required
:
true
,
message
:
'
请输入副本数
'
}]
}
>
<
InputNumber
min
=
{
1
}
style
=
{
{
width
:
'
100%
'
}
}
/>
<
InputNumber
min
=
{
1
}
style
=
{
{
width
:
'
100%
'
}
}
addonAfter
=
"个"
/>
</
Form
.
Item
>
</
Form
.
Item
>
</
div
>
</
div
>
<
Form
.
Item
className
=
"data-save-time-label"
name
=
"dataSaveTime"
>
<
Form
.
Item
className
=
"data-save-time-label"
name
=
"dataSaveTime"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录