summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-material/luasrc
diff options
context:
space:
mode:
authorAnsuel Smith <ansuelsmth@gmail.com>2021-08-11 17:15:08 +0200
committerAnsuel Smith <ansuelsmth@gmail.com>2021-08-17 16:47:11 +0200
commit05d100442bbdb18c57a768abddad3221a3fd22a0 (patch)
treedcbc23d84a0c4b690e14a103496743f6a7a0e2cf /themes/luci-theme-material/luasrc
parent031424c0d31b726d445bbb824373661ca1b9a905 (diff)
luci-theme-material: add support for modmenu
Improve support for modmenu. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Diffstat (limited to 'themes/luci-theme-material/luasrc')
-rw-r--r--themes/luci-theme-material/luasrc/view/themes/material/footer.htm1
-rw-r--r--themes/luci-theme-material/luasrc/view/themes/material/header.htm3
2 files changed, 3 insertions, 1 deletions
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
index 4786b77452..f572504f4b 100644
--- a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
+++ b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm
@@ -22,7 +22,6 @@
</div>
<footer class="mobile-hide">
<a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
- <ul class="breadcrumb pull-right" id="modemenu" style="display:none"></ul>
</footer>
</div>
</div>
diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm
index 1d9849a98a..2b890da034 100644
--- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm
+++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm
@@ -72,6 +72,9 @@
<div style="" class="loading"><span><div class="loading-img"></div><%:Collecting data...%></span></div>
<div class="main-left" id="mainmenu" style="display:none"></div>
<div class="main-right">
+ <div class="modemenu-buttons" style="display:none">
+ <ul id="modemenu"></ul>
+ </div>
<div class="darkMask"></div>
<div id="maincontent">
<div class="container">