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:
@@ -18,7 +18,7 @@ body {
|
||||
.shared-dir-view-main {
|
||||
width: calc(100% - 40px);
|
||||
max-width: 950px;
|
||||
padding: 15px 0;
|
||||
padding: 15px 0 40px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.op-bar {
|
||||
|
@@ -336,8 +336,7 @@ class Item extends React.Component {
|
||||
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
|
||||
<td>
|
||||
{showDownloadIcon &&
|
||||
<a className={isIconShown ? '' : ' invisible'} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}>
|
||||
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
|
||||
<a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href="#" onClick={this.zipDownloadFolder} title={gettext('Download')} aria-label={gettext('Download')}>
|
||||
</a>
|
||||
}
|
||||
</td>
|
||||
@@ -361,8 +360,7 @@ class Item extends React.Component {
|
||||
<td>{moment(item.last_modified).format('YYYY-MM-DD')}</td>
|
||||
<td>
|
||||
{showDownloadIcon &&
|
||||
<a className={isIconShown ? '' : ' invisible'} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}>
|
||||
<img src={`${mediaUrl}img/download.png`} alt={gettext('Download')} />
|
||||
<a className={`action-icon sf2-icon-download${isIconShown ? '' : ' invisible'}`} href={`${fileURL}&dl=1`} title={gettext('Download')} aria-label={gettext('Download')}>
|
||||
</a>
|
||||
}
|
||||
</td>
|
||||
|
Reference in New Issue
Block a user