luci-theme-openwrt-2020: link hostname to index page

In the Material theme, clicking on the logo takes you to the status page.
This seems logical, and is very helpful. But in OpenWrt 2020, clicking on
the hostname doesn't do anything, so just pulling the same href from Material
so the link works in this theme as well.

Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[adjust subject, commit message]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Russell Morris 2020-04-26 16:22:29 -05:00 committed by Jo-Philipp Wich
parent 27fc7a8b4e
commit 400ecb08f0

View file

@ -39,7 +39,7 @@
<div id="menubar">
<h2 class="navigation"><a id="navigation" name="navigation"><%:Navigation%></a></h2>
<span class="hostname"><%=(boardinfo.hostname or "?")%></span>
<span class="hostname"><a href="/"><%=(boardinfo.hostname or "?")%></a></span>
<span class="distversion"><%=ver.distversion%></span>
<span id="indicators"></span>
</div>