mirror of
https://github.com/didi/KnowStreaming.git
synced 2026-01-03 11:28:12 +08:00
kafka-manager 2.0
This commit is contained in:
14
kafka-manager-console/src/container/error/forbidden.tsx
Normal file
14
kafka-manager-console/src/container/error/forbidden.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import * as React from 'react';
|
||||
import './index.less';
|
||||
|
||||
export class ForbiddenPage extends React.Component {
|
||||
public render() {
|
||||
return (
|
||||
<>
|
||||
<div className="forbidden">
|
||||
<span>您暂无权限查看当前页面</span>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
7
kafka-manager-console/src/container/error/index.less
Normal file
7
kafka-manager-console/src/container/error/index.less
Normal file
@@ -0,0 +1,7 @@
|
||||
.forbidden{
|
||||
width: 100%;
|
||||
height: 60%;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
1
kafka-manager-console/src/container/error/index.tsx
Normal file
1
kafka-manager-console/src/container/error/index.tsx
Normal file
@@ -0,0 +1 @@
|
||||
export * from './forbidden';
|
||||
Reference in New Issue
Block a user