luci-theme-bootstrap: update href for Bootstrap "brand"
authorRussell Morris <rmorris@rkmorris.us>
Sat, 25 Apr 2020 11:45:15 +0000 (06:45 -0500)
committerJo-Philipp Wich <jo@mein.io>
Tue, 16 Jun 2020 15:09:19 +0000 (17:09 +0200)
In the Material theme, clicking on the logo takes you to the status page.
This seems logical, and is very helpful. But in Bootstrap, it doesn't
do anything, so just pulling the same href from Material to Bootstrap,
so the link works in Bootstrap as well.

Signed-off-by: Russell Morris <rmorris@rkmorris.us>
[adjust commit subject, squash commits]
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/luasrc/view/themes/bootstrap/header.htm

index 89aa338152fa35ddadbb93b73d77c1596dab6880..999c868e38e22149495302d70dee847dff336f61 100644 (file)
@@ -41,7 +41,7 @@
                <header>
                        <div class="fill">
                                <div class="container">
-                                       <a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
+                                       <a class="brand" href="/"><%=boardinfo.hostname or "?"%></a>
                                        <ul class="nav" id="topmenu" style="display:none"></ul>
                                        <div id="indicators" class="pull-right"></div>
                                </div>