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

[dir view] redesigned the toolbar for the current folder (#6117)

* [dir view] redesigned the toolbar for the current folder

* [dir view] toolbar for the current folder: code cleanup

* [dir view] toolbar for the current folder: updated the 'upload' icon; modified UI details
This commit is contained in:
llj
2024-05-27 16:47:19 +08:00
committed by GitHub
parent d24d71420e
commit 69011567a3
15 changed files with 257 additions and 116 deletions

View File

@@ -47,15 +47,25 @@ class CurDirPath extends React.Component {
return (
<Fragment>
<DirPath
repoID={this.props.repoID}
repoName={this.props.repoName}
repoEncrypted={this.props.repoEncrypted}
isGroupOwnedRepo={this.props.isGroupOwnedRepo}
pathPrefix={this.props.pathPrefix}
currentPath={this.props.currentPath}
userPerm={this.props.userPerm}
onPathClick={this.props.onPathClick}
onTabNavClick={this.props.onTabNavClick}
repoID={this.props.repoID}
isViewFile={this.props.isViewFile}
fileTags={this.props.fileTags}
toggleTreePanel={this.props.toggleTreePanel}
enableDirPrivateShare={this.props.enableDirPrivateShare}
showShareBtn={this.props.showShareBtn}
onAddFolder={this.props.onAddFolder}
onAddFile={this.props.onAddFile}
onUploadFile={this.props.onUploadFile}
onUploadFolder={this.props.onUploadFolder}
direntList={this.props.fullDirentList}
/>
{isDesktop &&
<DirTool