summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-openwrt-2020
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2022-10-10 15:47:47 -0700
committerRosen Penev <rosenp@gmail.com>2022-10-11 14:48:54 -0700
commit1be885064e65f4c96189e7f63f29dcbb7040f3cb (patch)
tree386db8bfae145f7906b3c114b306608196c2bd92 /themes/luci-theme-openwrt-2020
parent81842dcd140e16db1a369ca04b1747bf5c30fd4a (diff)
luci-theme-openwrt-2020: add iOS icon support
Used when adding LuCI to Springboard. Image generated from logo.svg. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'themes/luci-theme-openwrt-2020')
-rw-r--r--themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.pngbin0 -> 5908 bytes
-rw-r--r--themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm1
2 files changed, 1 insertions, 0 deletions
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
index 0000000000..6adf532b87
--- /dev/null
+++ b/themes/luci-theme-openwrt-2020/htdocs/luci-static/openwrt2020/logo.png
Binary files 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 34c52f4b12..f0c9e563d0 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
@@ -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>