luci-theme-rosy: Modify the layout of the header and footer
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
This commit is contained in:
parent
f67cd74f01
commit
641681fa32
2 changed files with 8 additions and 7 deletions
|
@ -25,6 +25,8 @@
|
||||||
local categories = disp.node_childs(tree)
|
local categories = disp.node_childs(tree)
|
||||||
%>
|
%>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</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> /
|
||||||
|
@ -37,8 +39,6 @@
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
|
||||||
|
|
|
@ -273,11 +273,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="main-right">
|
<div class="main-right">
|
||||||
<div id="maincontent">
|
<div id="maincontent">
|
||||||
|
<div class="logoImg">
|
||||||
|
<img class="mobile-hide" src="<%=media%>/logo.png" alt="Rosy">
|
||||||
|
<img src="<%=media%>/mobile-loginBG.png" class="PC-hide">
|
||||||
|
<a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
|
||||||
|
</div>
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="logoImg">
|
|
||||||
<img src="<%=media%>/logo.png" alt="Rosy">
|
|
||||||
<a class="brand" href="#"><%=boardinfo.hostname or "?"%></a>
|
|
||||||
</div>
|
|
||||||
<%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>
|
<%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>
|
||||||
<div class="alert-message warning">
|
<div class="alert-message warning">
|
||||||
<h4>
|
<h4>
|
||||||
|
|
Loading…
Reference in a new issue