1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-15 14:49:09 +00:00

update-icon

This commit is contained in:
yinjianfei
2024-01-16 14:00:40 +08:00
parent 74f4f3c099
commit ad4d0464eb
2 changed files with 28 additions and 1 deletions

View File

@@ -731,7 +731,7 @@ class DirentListItem extends React.Component {
const isDesktop = Utils.isDesktop(); const isDesktop = Utils.isDesktop();
const { canDrag } = this.state; const { canDrag } = this.state;
const lockedImageUrl = `${mediaUrl}img/file-${dirent.is_freezed ? 'freezed' : 'locked'}-32.png`; const lockedImageUrl = `${mediaUrl}img/file-${dirent.is_freezed ? 'freezed-32.svg' : 'locked-32.png'}`;
const lockedMessage = dirent.is_freezed ? gettext('freezed') : gettext('locked'); const lockedMessage = dirent.is_freezed ? gettext('freezed') : gettext('locked');
const desktopItem = ( const desktopItem = (
<tr <tr

View File

@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="图层_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
<style type="text/css">
.st0{fill:#0AAA52;}
.st1{fill:#47BB65;}
.st2{fill:#FFFFFF;}
</style>
<title>lock</title>
<g id="lock">
<g>
<g id="椭圆形">
<g>
<circle id="path-1" class="st0" cx="16" cy="16" r="16"/>
</g>
<g>
<circle id="path-1_1_" class="st1" cx="16" cy="16" r="16"/>
</g>
</g>
<path id="形状" class="st2" d="M19,14v-2c0-1.7-1.3-3-3-3s-3,1.3-3,3v2h-2v-2c0-2.8,2.2-5,5-5s5,2.2,5,5v2H19L19,14z M15.2,19.8
v1.7c0,0.4,0.3,0.8,0.8,0.8s0.8-0.3,0.8-0.8v-1.7c0.4-0.3,0.8-0.7,0.8-1.3c0-0.8-0.7-1.5-1.5-1.5c-0.8,0-1.6,0.6-1.6,1.5
C14.5,19.1,14.8,19.5,15.2,19.8L15.2,19.8z M11,14h10c1.1,0,2,0.9,2,2v7c0,1.1-0.9,2-2,2H11c-1.1,0-2-0.9-2-2v-7
C9,14.9,9.9,14,11,14z"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.0 KiB