luci-theme-material: fix whitspaces and change mode

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
This commit is contained in:
Florian Eckert 2018-09-25 11:37:39 +02:00
parent 136fba752c
commit 6f33e73e29

View file

@ -28,19 +28,20 @@
%> %>
</div> </div>
<footer class="mobile-hide"> <footer class="mobile-hide">
<a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <a href="https://github.com/openwrt/luci">Powered by <%= ver.luciname %> (<%= ver.luciversion %>)</a> / <%= ver.distversion %>
<%= ver.distversion %>
<% if #categories > 1 then %> <% if #categories > 1 then %>
<ul class="breadcrumb pull-right" id="modemenu"> <ul class="breadcrumb pull-right" id="modemenu">
<% for i, r in ipairs(categories) do %> <% 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 %> <% end %>
</ul> </ul>
<% end %> <% end %>
</footer> </footer>
</div> </div>
</div> </div>
<script> <script>
// thanks for Jo-Philipp Wich <jow@openwrt.org> // thanks for Jo-Philipp Wich <jow@openwrt.org>
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>; var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;