1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-07 18:03:48 +00:00

Sys admin react reconstruct (#3918)

* sysadmin reconstruct info page

* optimize frontend code, add license post api response

* update test case

* optimize js code
This commit is contained in:
llj
2019-07-25 16:43:55 +08:00
committed by GitHub
parent 2574301005
commit de2408efdc
8 changed files with 226 additions and 14 deletions

View File

@@ -6,6 +6,7 @@ import SidePanel from './side-panel';
import MainPanel from './main-panel';
import FileScanRecords from './file-scan-records';
import WorkWeixinDepartments from './work-weixin-departments';
import Info from './info';
import '../../assets/css/fa-solid.css';
import '../../assets/css/fa-regular.css';
@@ -43,13 +44,16 @@ class SysAdmin extends React.Component {
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab}/>
<MainPanel>
<Router className="reach-router">
<Info
path={siteRoot + 'sys/info'}
currentTab={currentTab}
tabItemClick={this.tabItemClick}
/>
<FileScanRecords
path={siteRoot + 'sys/file-scan-records'}
currentTab={currentTab}
tabItemClick={this.tabItemClick}
/>
</Router>
<Router className="reach-router">
<WorkWeixinDepartments
path={siteRoot + 'sys/work-weixin/departments'}
currentTab={currentTab}