1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 02:42:47 +00:00

add repo-toolbar and repo-dialog

This commit is contained in:
shanshuirenjia
2018-12-03 16:21:09 +08:00
parent d529f8adf7
commit 6a3fed0382
3 changed files with 129 additions and 2 deletions

View File

@@ -7,7 +7,8 @@ import { Utils } from '../../utils/utils';
import { gettext, siteRoot, loginUrl, isPro, storages, canGenerateShareLink, canGenerateUploadLink, folderPermEnabled, enableRepoSnapshotLabel } from '../../utils/constants';
import Loading from '../../components/loading';
import DeleteItemPopup from './popups/delete-item';
import GeneralToolBar from '../../components/toolbar/general-toolbar';
import CommonToolbar from '../../components/toolbar/common-toolbar';
import RepoViewToolbar from '../../components/toolbar/repo-view-toobar';
class Content extends Component {
@@ -395,7 +396,10 @@ class MyLibraries extends Component {
render() {
return (
<Fragment>
<GeneralToolBar onShowSidePanel={this.props.onShowSidePanel} onSearchedClick={this.props.onSearchedClick}/>
<div className="main-panel-north">
<RepoViewToolbar onShowSidePanel={this.props.onShowSidePanel}/>
<CommonToolbar onSearchedClick={this.props.onSearchedClick} />
</div>
<div className="main-panel-center">
<div className="cur-view-container">
<div className="cur-view-path">