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

[view shared dir] modified UI details (#3227)

This commit is contained in:
llj
2019-04-09 15:26:21 +08:00
committed by Daniel Pan
parent 5efa691ab3
commit f2c2b71636
2 changed files with 3 additions and 5 deletions

View File

@@ -18,7 +18,7 @@ body {
.shared-dir-view-main { .shared-dir-view-main {
width: calc(100% - 40px); width: calc(100% - 40px);
max-width: 950px; max-width: 950px;
padding: 15px 0; padding: 15px 0 40px;
margin: 0 auto; margin: 0 auto;
} }
.op-bar { .op-bar {

View File

@@ -336,8 +336,7 @@ class Item extends React.Component {
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td> <td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
<td> <td>
{showDownloadIcon && {showDownloadIcon &&
<a className={isIconShown ? '' : ' invisible'} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}> <a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}>
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
</a> </a>
} }
</td> </td>
@@ -361,8 +360,7 @@ class Item extends React.Component {
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td> <td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
<td> <td>
{showDownloadIcon && {showDownloadIcon &&
<a className={isIconShown ? '' : ' invisible'} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}> <a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}>
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
</a> </a>
} }
</td> </td>