luci-theme-openwrt-2020: add iOS icon support
authorRosen Penev <rosenp@gmail.com>
Mon, 10 Oct 2022 22:47:47 +0000 (15:47 -0700)
committerRosen Penev <rosenp@gmail.com>
Tue, 11 Oct 2022 21:48:54 +0000 (14:48 -0700)
Used when adding LuCI to Springboard. Image generated from logo.svg.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.png [new file with mode: 0644]
themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm

diff --git a/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.png b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.png
new file mode 100644 (file)
index 0000000..6adf532
Binary files /dev/null and b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.png differ
index 34c52f4b12288ad2561c323c10c48369a72609db..f0c9e563d06d043ae07af7bfffffd6ce41240a8a 100644 (file)
@@ -25,6 +25,7 @@
 <meta name="viewport" content="width=device-width, initial-scale=1" />
 <link rel="stylesheet" type="text/css" media="screen" href="<%=media%>/cascade.css" />
 <link rel="icon" href="<%=media%>/logo.svg" type="image/svg+xml" />
+<link rel="apple-touch-icon" href="<%=media%>/logo.png" />
 <script type="text/javascript" src="<%=url('admin/translations', luci.i18n.context.lang)%><%# ?v=PKG_VERSION %>"></script>
 <script type="text/javascript" src="<%=resource%>/cbi.js"></script>
 <title><%=striptags( (boardinfo.hostname or "?") .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI</title>