diff --git a/themes/bootstrap/htdocs/luci-static/bootstrap/mobile.css b/themes/bootstrap/htdocs/luci-static/bootstrap/mobile.css new file mode 100644 index 0000000000..e9d9b61aa2 --- /dev/null +++ b/themes/bootstrap/htdocs/luci-static/bootstrap/mobile.css @@ -0,0 +1,3 @@ +header h3 a, header .brand { + display:none !important; +} diff --git a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm index c79c152ba9..a49b7d4072 100644 --- a/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm +++ b/themes/bootstrap/luasrc/view/themes/bootstrap/header.htm @@ -102,7 +102,9 @@ You may obtain a copy of the License at <%=striptags( hostname .. ( (node and node.title) and ' - ' .. translate(node.title) or '')) %> - LuCI + + <% if node and node.css then %> <% end -%> @@ -193,7 +195,6 @@ You may obtain a copy of the License at - <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>