1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-13 22:01:06 +00:00
* org groups

* update front page

* update operation ui
This commit is contained in:
陈钦亮
2019-03-13 10:32:38 +08:00
committed by Daniel Pan
parent 032e1ff166
commit e5886f73f4
4 changed files with 270 additions and 8 deletions

View File

@@ -8,6 +8,7 @@ import MainPanel from './main-panel';
import OrgUsers from './org-users';
import OrgUsersList from './org-users-list';
import OrgAdminList from './org-admin-list';
import OrgGroups from './org-groups';
import '../../assets/css/fa-solid.css';
import '../../assets/css/fa-regular.css';
@@ -56,7 +57,7 @@ class Org extends React.Component {
let { isSidePanelClosed, currentTab, isShowAddOrgUserDialog, isShowAddOrgAdminDialog } = this.state;
return (
<div id="main">
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} />
<SidePanel isSidePanelClosed={isSidePanelClosed} onCloseSidePanel={this.onCloseSidePanel} currentTab={currentTab} tabItemClick={this.tabItemClick} />
<MainPanel currentTab={currentTab} toggleAddOrgAdmin={this.toggleAddOrgAdmin} toggleAddOrgUser={this.toggleAddOrgUser}>
<Router>
<OrgUsers
@@ -69,6 +70,8 @@ class Org extends React.Component {
<OrgUsersList path="/" currentTab={currentTab} isShowAddOrgUserDialog={isShowAddOrgUserDialog} toggleAddOrgUser={this.toggleAddOrgUser} />
<OrgAdminList path="admins" currentTab={currentTab} isShowAddOrgAdminDialog={isShowAddOrgAdminDialog} toggleAddOrgAdmin={this.toggleAddOrgAdmin} />
</OrgUsers>
<OrgGroups path={siteRoot + "org/groupadmin"}>
</OrgGroups>
</Router>
</MainPanel>
</div>