luci-theme-material: fix whitspaces and change mode
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
parent
136fba752c
commit
6f33e73e29
1 changed files with 34 additions and 33 deletions
9
themes/luci-theme-material/luasrc/view/themes/material/footer.htm
Executable file → Normal file
9
themes/luci-theme-material/luasrc/view/themes/material/footer.htm
Executable file → Normal file
|
@ -28,19 +28,20 @@
|
|||
%>
|
||||
</div>
|
||||
<footer class="mobile-hide">
|
||||
<a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> /
|
||||
<%= ver.distversion %>
|
||||
<a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
|
||||
<% if #categories > 1 then %>
|
||||
<ul class="breadcrumb pull-right" id="modemenu">
|
||||
<% for i, r in ipairs(categories) do %>
|
||||
<li<% if request[1] == r then %> class="active"<%end%>><a href="<%=controller%>/<%=r%>/"><%=striptags(translate(tree.nodes[r].title))%></a> <span class="divider">|</span></li>
|
||||
<li<% if request[1] == r then %> class="active"<%end%>>
|
||||
<a href="<%=controller%>/<%=r%>/"><%=striptags(translate(tree.nodes[r].title))%></a>
|
||||
<span class="divider">|</span>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<% end %>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
// thanks for Jo-Philipp Wich <jow@openwrt.org>
|
||||
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
||||
|
|
Loading…
Reference in a new issue