From: Sven Roederer Date: Sat, 22 May 2021 23:43:44 +0000 (+0200) Subject: luci-theme-openwrt-2020: use SVG-file for favicon and logo X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=184e93df5f0365d403d4d7a6243286cbe5b914de;p=openwrt-luci.git luci-theme-openwrt-2020: use SVG-file for favicon and logo Using the scalable graphic in place of the static png file saves some ressources in flash and network. It also aligns the filetype to the type announced to the browser. fixes GitHub-issue #5051 Signed-off-by: Sven Roederer --- diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/favicon.png b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/favicon.png deleted file mode 100644 index ee841e823c..0000000000 Binary files a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/favicon.png and /dev/null differ diff --git a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm index 6370ee4d1f..1cc84acbb1 100644 --- a/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm +++ b/themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm @@ -24,7 +24,7 @@ - + <%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI