From 904fb39c313d6dd69774b1444fa48959ab7a1170 Mon Sep 17 00:00:00 2001 From: Sven Roederer Date: Sun, 23 May 2021 01:43:44 +0200 Subject: [PATCH] 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 (cherry picked from commit 184e93df5f0365d403d4d7a6243286cbe5b914de) --- .../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 ee841e823cd25240f7effe2de8164be6e0397351..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2184 zcmV;32zU31P)e2575>hBS}Y(5m|z=26CBPRckVsseCIwwnudFCpIudCp&(HRDd$1Z3vc^E>RXDQDJDVn{jvfI;P zmnQpQab5omVdg3#UJjrHKyHe!=mx_N&^yXB_8eZGbNRXuD6Q|lOENtU&?*4a)3kxZ zVA{(jb%(z!_tcaSaP8~+5`=sjpyim-!EckGt={sSchf>(dEL3ph{gOgfDHfyuFqfs z?=g>J(_3ri4osSWyS`@yGyM+0%}ET70{kABjzMrUvuH6X>L65(o@<4sM^q&fEDJz% z8-bSqv>1RT35x+{ez>V}?xB?v+$rT-MM% zEf}G1Fwuhmz6L;v#{)z!WQMY~{CN$jNeL7;bz~@?+I|n9D!#YzTT2)U@B{@%KA{ZuA%?4tg0IsbU((bZVKZf6aPU%c_~nl)v8Y*{dX|S1_1Noflru) zq9oK;NRb=7Wx1Ubwt8Q0mMZ8ufY&AnKBGegW2Ys|o3$y^xwrdPQpC%Gl<&s^KdDOW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gyA?3CycfUf<0u8VUSVUmfv)HQ%*vs<2z_&h-rX zrp~UUZIf#1t@%zb0GDPuOvI%ltxZSLdUPD_VrF?5fLWs?4~N?Q%TsSDqsjPD0K=MD zGfO&Xaky5eE$cX()y(ps4m>anl8+@kaS3l-hdM5pXWP#KSgF}J3jx*UOuG`vz3Vsz zK2axy{Pt=~#*H~!0qj7G4;#$MS>5RGxM%Q zh93R^2pGNKB8$UWZHfdv04ib~Wg=`1wKct*uB%0|+Dl#pQKD+x2EZd&)CXq`y@!)0 zCw`Gxw8)$>IP)GBT!HB4t3)Yzd#KI-L|X4gqe1Q31n{#4E``GY&Ji#)*3r!ZaEpQG zB49ijYWM%#aM4RSTP$!bWx=}u zTdooMB_e(<6dHLT@~^+7{MD1L#qte>uGyh5uOIt7>PYeN76x{XhRnZ0*E@rg)=lZs zUuK89NH9AIyqF0E%$QHW4P!BIi3nZ9XlBp}DO6v$CGcT74F4C%{AlKFr;@G!0000< KMNUMnLSTZja0@*E 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 ce50750501..23da8e46f7 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 -- 2.30.2