diff options
author | Russell Morris <rmorris@rkmorris.us> | 2020-04-26 16:22:29 -0500 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-06-16 17:09:20 +0200 |
commit | 400ecb08f08be9045d83ce74534401a4ccae3aee (patch) | |
tree | 975d58dd2591e23bc3b3cf828e42ced416882286 /themes | |
parent | 27fc7a8b4e30d96228fe169e0266bd43564d5eb3 (diff) |
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>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/luci-theme-openwrt-2020/luasrc/view/themes/openwrt2020/header.htm | 2 |
1 files changed, 1 insertions, 1 deletions
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 2025b67ed..c6bb0877a 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 @@ -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> |