From 184e93df5f0365d403d4d7a6243286cbe5b914de Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Sun, 23 May 2021 01:43:44 +0200 Subject: 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 --- .../htdocs/luci-static/openwrt2020/favicon.png | Bin 2184 -> 0 bytes .../luasrc/view/themes/openwrt2020/header.htm | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) delete mode 100644 themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/favicon.png 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 -- cgit v1.2.3