From 641681fa3251a6ff5afb19210b0f6862f28d94bd Mon Sep 17 00:00:00 2001 From: Yanlan Shen Date: Tue, 6 Nov 2018 09:59:35 +0800 Subject: luci-theme-rosy: Modify the layout of the header and footer Signed-off-by: Yanlan Shen --- themes/luci-theme-rosy/luasrc/view/themes/rosy/footer.htm | 6 +++--- themes/luci-theme-rosy/luasrc/view/themes/rosy/header.htm | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'themes') 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 @@ -25,6 +25,8 @@ local categories = disp.node_childs(tree) %> + + - - - \ No newline at end of file + 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 @@
+
- <%- if luci.sys.process.info("uid") == 0 and luci.sys.user.getuser("root") and not luci.sys.user.getpasswd("root") then -%>

-- cgit v1.2.3