summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020/ucode
AgeCommit message (Collapse)Author
2023-12-12luci-theme-openwrt-2020: Remove apple-touch-iconSergey Ponomarev
The apple-touch-icon was used by old Safari on iOS. Today just <link rel="icon" href="logo.png"> is enough. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-12luci-theme-openwrt-2020: Fix Safari favicon: use PNG alongside with SVGSergey Ponomarev
Chrome, Edge and Firefox will use the SVG icon but Safari will use the PNG. Chrome will try to pick an icon with a best suited dimension. So it will also download the PNG to check it's dimension. The explicitly specified sizes are preventing this. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2023-12-12luci-theme-openwrt-2020: remove icon explicit svg typeSergey Ponomarev
That was a fix for old browsers when the mime type is incorrect. Today all servers return a correct mime but also browsers can sniff a type. Signed-off-by: Sergey Ponomarev <stokito@gmail.com>
2022-10-26luci-theme-openwrt-2020: convert Lua templates to ucodeJo-Philipp Wich
Convert the theme's Lua templates to ucode to avoid the implicit dependency on the luci-lua-runtime package. Signed-off-by: Jo-Philipp Wich <jo@mein.io>