From 7f36de45a4002efb78cf12c9c67cc871870d76e4 Mon Sep 17 00:00:00 2001 From: ralf Date: Mon, 8 Aug 2022 14:12:20 +0200 Subject: [PATCH] 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 --- api/js/etemplate/Et2Vfs/Et2VfsMime.ts | 4 +- api/templates/default/images/symlink.svg | 72 ++++++++++++++++++++++++ 2 files changed, 75 insertions(+), 1 deletion(-) create mode 100644 api/templates/default/images/symlink.svg diff --git a/api/js/etemplate/Et2Vfs/Et2VfsMime.ts b/api/js/etemplate/Et2Vfs/Et2VfsMime.ts index 99bd613e39..3484dacd33 100644 --- a/api/js/etemplate/Et2Vfs/Et2VfsMime.ts +++ b/api/js/etemplate/Et2Vfs/Et2VfsMime.ts @@ -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` - ${this.__symlink ? html`` : ""} `; } diff --git a/api/templates/default/images/symlink.svg b/api/templates/default/images/symlink.svg new file mode 100644 index 0000000000..6ab8324117 --- /dev/null +++ b/api/templates/default/images/symlink.svg @@ -0,0 +1,72 @@ + + + + + + + + + image/svg+xml + + + + + + + + + +