forked from extern/egroupware
take symlink indicator from api not old etemplate app
Using LGPL licenses GNOME icon: https://de.wikipedia.org/wiki/Datei:High-contrast-emblem-symbolic-link.svg
This commit is contained in:
parent
b4438dbc03
commit
7f36de45a4
@ -19,6 +19,8 @@ export class Et2VfsMime extends Et2ImageExpose
|
||||
bottom: 0px;
|
||||
right: 0px;
|
||||
z-index: 1;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
`,
|
||||
];
|
||||
@ -225,7 +227,7 @@ export class Et2VfsMime extends Et2ImageExpose
|
||||
{
|
||||
return html`
|
||||
<slot></slot>
|
||||
${this.__symlink ? html`<img src="${this.egw().image("link", "etemplate")}"
|
||||
${this.__symlink ? html`<img src="${this.egw().image("symlink", "api")}"
|
||||
class="overlay"/>` : ""}
|
||||
`;
|
||||
}
|
||||
|
72
api/templates/default/images/symlink.svg
Normal file
72
api/templates/default/images/symlink.svg
Normal file
@ -0,0 +1,72 @@
|
||||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
||||
<svg
|
||||
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
||||
xmlns:cc="http://web.resource.org/cc/"
|
||||
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:svg="http://www.w3.org/2000/svg"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
width="48.000000px"
|
||||
height="48.000000px"
|
||||
id="svg5931"
|
||||
sodipodi:version="0.32"
|
||||
inkscape:version="0.42"
|
||||
sodipodi:docbase="/home/luca/Desktop/black-and-white/scalable/emblems"
|
||||
sodipodi:docname="emblem-symbolic-link.svg">
|
||||
<defs
|
||||
id="defs5933" />
|
||||
<sodipodi:namedview
|
||||
id="base"
|
||||
pagecolor="#ffffff"
|
||||
bordercolor="#666666"
|
||||
borderopacity="1.0"
|
||||
inkscape:pageopacity="0.0"
|
||||
inkscape:pageshadow="2"
|
||||
inkscape:zoom="15.791667"
|
||||
inkscape:cx="21.573560"
|
||||
inkscape:cy="22.716245"
|
||||
inkscape:current-layer="layer1"
|
||||
showgrid="true"
|
||||
inkscape:grid-bbox="true"
|
||||
inkscape:document-units="px"
|
||||
inkscape:grid-points="true"
|
||||
inkscape:window-width="1280"
|
||||
inkscape:window-height="948"
|
||||
inkscape:window-x="0"
|
||||
inkscape:window-y="25" />
|
||||
<metadata
|
||||
id="metadata5936">
|
||||
<rdf:RDF>
|
||||
<cc:Work
|
||||
rdf:about="">
|
||||
<dc:format>image/svg+xml</dc:format>
|
||||
<dc:type
|
||||
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
||||
</cc:Work>
|
||||
</rdf:RDF>
|
||||
</metadata>
|
||||
<g
|
||||
id="layer1"
|
||||
inkscape:label="Layer 1"
|
||||
inkscape:groupmode="layer">
|
||||
<rect
|
||||
style="fill:none;fill-opacity:1.0000000;fill-rule:evenodd;stroke:none;stroke-width:1.0000000px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1.0000000"
|
||||
id="rect7394"
|
||||
width="48.000000"
|
||||
height="48.000000"
|
||||
x="0.0000000"
|
||||
y="0.0000000" />
|
||||
<path
|
||||
style="opacity:1.0000000;color:#000000;fill:#ffffff;fill-opacity:1.0000000;fill-rule:nonzero;stroke:#ffffff;stroke-width:8.0000000;stroke-linecap:round;stroke-linejoin:round;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:block;overflow:visible"
|
||||
d="M 4.0000000,34.000000 C 4.6814107,16.457299 21.000000,5.0000000 37.000000,20.000000 L 44.000000,12.000000 C 44.000000,12.000000 44.000000,35.000000 44.000000,35.000000 L 21.000000,35.000000 C 21.000000,35.000000 29.000000,28.000000 29.000000,28.000000 C 16.000000,15.000000 6.7719186,24.398539 4.0000000,34.000000 z "
|
||||
id="path6666"
|
||||
sodipodi:nodetypes="ccccccc" />
|
||||
<path
|
||||
sodipodi:nodetypes="ccccccc"
|
||||
id="path2177"
|
||||
d="M 4.0000000,34.000000 C 4.6814107,16.457299 21.000000,5.0000000 37.000000,20.000000 L 44.000000,12.000000 C 44.000000,12.000000 44.000000,35.000000 44.000000,35.000000 L 21.000000,35.000000 C 21.000000,35.000000 29.000000,28.000000 29.000000,28.000000 C 16.000000,15.000000 6.7719186,24.398539 4.0000000,34.000000 z "
|
||||
style="opacity:1.0000000;color:#000000;fill:#000000;fill-opacity:1.0000000;fill-rule:nonzero;stroke:none;stroke-width:0.99999970;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:10.000000;stroke-dasharray:none;stroke-dashoffset:0.0000000;stroke-opacity:1.0000000;visibility:visible;display:block;overflow:visible" />
|
||||
</g>
|
||||
</svg>
|
After Width: | Height: | Size: 3.5 KiB |
Loading…
Reference in New Issue
Block a user