From b572c35ca8ab78fd7959adb7f91651612018abdc Mon Sep 17 00:00:00 2001 From: Sergey Ponomarev Date: Tue, 12 Dec 2023 16:27:49 +0200 Subject: [PATCH] luci-theme-material: Use a new OpenWrt logo The new OpenWrt logo.svg is copied from luci-theme-openwrt-2020. The logo.png was copied too but resized from 180px 3.9Kb down to 48px 2.3Kb. This is enough when used as icon for app pinned to desktop. Signed-off-by: Sergey Ponomarev --- .../htdocs/luci-static/material/favicon.ico | Bin 4286 -> 0 bytes .../htdocs/luci-static/material/logo.svg | 1 + .../htdocs/luci-static/material/logo_48.png | Bin 0 -> 2337 bytes .../ucode/template/themes/material/header.ut | 3 ++- 4 files changed, 3 insertions(+), 1 deletion(-) delete mode 100644 themes/luci-theme-material/htdocs/luci-static/material/favicon.ico create mode 100644 themes/luci-theme-material/htdocs/luci-static/material/logo.svg create mode 100644 themes/luci-theme-material/htdocs/luci-static/material/logo_48.png diff --git a/themes/luci-theme-material/htdocs/luci-static/material/favicon.ico b/themes/luci-theme-material/htdocs/luci-static/material/favicon.ico deleted file mode 100644 index 72c311555fe452ea69c026d2bb5a1874218b44cb..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4286 zcmcgwTWnm_6}^7O6MO7DXyV`i5kXZ#8dE?5qDYh$RVp79{{(@MK+xZ+0<~XAtyCcz zO2%W)d+f0>IQggqA))cuV|)CZx9x;D-~B?+G;JTjN7^%lcrHF~^Sk^{==a)>yZ=%aA8aaH zA99vrsHqrA_`C#zS!i4nj_-%4LtF2DS4#-)0Y~|0%3B62lDtoN1WFNiTT#M$9WGv7 z+W&@ILxMuU43D;I=yf2O@ zpARusV=aX`;%<%H6;LRL;2v!$NB^;MoO#cVh_?{~txuTaVg2?zR+nxlEZ@M|_rUtx63aaAMXt47kdIg13> z37<_z6%t+po4D5Dx8uw1BizGvOq_a6de-WPlz$Th667Cjsl)QZHFCd<;f}+YpSeUW z|H0R3KL(xrHy(N<>lM?pNpC6j>+qCte*)${#h$1Begw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/themes/luci-theme-material/htdocs/luci-static/material/logo.svg b/themes/luci-theme-material/htdocs/luci-static/material/logo.svg new file mode 100644 index 0000000000..c7a445e93d --- /dev/null +++ b/themes/luci-theme-material/htdocs/luci-static/material/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/luci-theme-material/htdocs/luci-static/material/logo_48.png b/themes/luci-theme-material/htdocs/luci-static/material/logo_48.png new file mode 100644 index 0000000000000000000000000000000000000000..6fb1f75a404ffaf6e8933fc75d444ed1b9e5feae GIT binary patch literal 2337 zcmV++3EuXJP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGi!~g&e!~vBn4jTXf2)0Q?K~z}7tyyVs z6XzLTol86Ij}!ti24j+Grkyr`!3J~KkdkK7=AcPw8m39=lq9sYLuf-uXc{0rm?i`a z6nq<5zOaq&IA%)H90VxDlmwVSld#rWwrt6k0nY{Pk9 zxHg@0e5b*}6wrL;sEL+Gsc7OEMxNy6x8DD*?d=Ztc#OXft;3Ig(9IN@Ab~^`PX$o1 z0L5VX>*c=jDgO@tZ-4{>R%Euqz5vg;+^$Q#j>JyCR7D*nZ;=7o6W~>?AiA-8Pq_feT^x zcQ;sm`>_KqA3;b{hnvh-#76`K1w}j}MNx$F=E!sZv6BesE~J^XMek@6hVK@y3Qb~s zJ$|aEEsQ{yXH;7%_=YkdBmd1~X2q2V?6vO*BtwlqQlJ>u2A(APhe4dcOV-E3Y%Zy( zv(v2%E1|YS#*=haU@B=H3|+A8zfLCWy5xppLIT@4+}F#^$<19qKh=Y*gMo{s&0XI( zW+v$Q6rQprS=XOFZCA((wqcsA07&rV?9T@RDZQfYYH)+%RPV2K`v?Z?JS%7;k&k}q@Q)~+aN@uDwo@QUQkiYN0*2E9wTId zNmLBQ8bSz)_+S+=lnx`WDQ)YyF%nLP#XVx=29cAVI&J^O=^hv~|4SD)@Kw0^h*q|& z%}e}bYS~fKYhkL`%NLy_T8ySbU(6Q@c@hsx_}`p!40#m%&2ZgC(=+Gh^gvE{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P#T`|x({BQI&!@4_veEwe7u1oTp|7s3AnvYvV@>`fpH00000NkvXX Hu0mjfKF)dM literal 0 HcmV?d00001 diff --git a/themes/luci-theme-material/ucode/template/themes/material/header.ut b/themes/luci-theme-material/ucode/template/themes/material/header.ut index ed6a637978..4a7e4cb8f1 100644 --- a/themes/luci-theme-material/ucode/template/themes/material/header.ut +++ b/themes/luci-theme-material/ucode/template/themes/material/header.ut @@ -40,7 +40,8 @@ - + + {% if (node?.css): %} {% endif %} -- 2.30.2