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 <freifunk@it-solutions.geroedel.de>
This commit is contained in:
parent
398932f39b
commit
184e93df5f
2 changed files with 1 additions and 1 deletions
Binary file not shown.
Before Width: | Height: | Size: 2.1 KiB |
|
@ -24,7 +24,7 @@
|
|||
<meta http-equiv="Content-Script-Type" content="text/javascript" />
|
||||
<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%>/favicon.png" type="image/svg+xml" />
|
||||
<link rel="icon" href="<%=media%>/logo.svg" type="image/svg+xml" />
|
||||
<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>
|
||||
|
|
Loading…
Reference in a new issue