summaryrefslogtreecommitdiffhomepage
path: root/themes/luci-theme-rosy/luasrc
diff options
context:
space:
mode:
authorYanlan Shen <yanlan.shen.@rosinson.com>2018-11-06 09:59:35 +0800
committerYanlan Shen <yanlan.shen.@rosinson.com>2018-11-09 15:06:38 +0800
commit641681fa3251a6ff5afb19210b0f6862f28d94bd (patch)
treed0a5ac2b5dddf0b326cb7c1dce71d8bdf7f50c4b /themes/luci-theme-rosy/luasrc
parentf67cd74f01638e91f6d02aa3ac8185aa093c37b7 (diff)
luci-theme-rosy: Modify the layout of the header and footer
Signed-off-by: Yanlan Shen <yanlan.shen.@rosinson.com>
Diffstat (limited to 'themes/luci-theme-rosy/luasrc')
-rwxr-xr-xthemes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm6
-rw-r--r--themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm9
2 files changed, 8 insertions, 7 deletions
diff --git a/themes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm b/themes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm
index 3795d37cb..f0cbe4e96 100755
--- a/themes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm
+++ b/themes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm
@@ -26,6 +26,8 @@
%>
</div>
+</div>
+</div>
<footer class="mobile-hide">
<a href="https://github.com/openwrt/luci">Powered by<%= ver.luciname %> (<%= ver.luciversion %>)</a> /
<%= ver.distversion %>
@@ -37,8 +39,6 @@
</ul>
<% end %>
</footer>
-</div>
-</div>
<script>
var luciLocation = <%= luci.http.write_json(luci.dispatcher.context.path) %>;
@@ -47,4 +47,4 @@
<script src="<%=media%>/js/script.js?v=git-18.247.71242-9541751"></script>
</body>
-</html> \ No newline at end of file
+</html>
diff --git a/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm b/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm
index 62a34c04b..e7316770b 100644
--- a/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm
+++ b/themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm
@@ -273,11 +273,12 @@
</div>
<div class="main-right">
<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="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 -%>
<div class="alert-message warning">
<h4>