From 780778e6f98d0e8b5bd531f79636fd43b7b99c11 Mon Sep 17 00:00:00 2001 From: Lutty Yang Date: Tue, 13 Oct 2015 23:07:16 +0800 Subject: luci-theme-material: PR from Version 0.2.11 Signed-off-by: Lutty Yang --- themes/luci-theme-material/luasrc/view/themes/material/footer.htm | 2 +- themes/luci-theme-material/luasrc/view/themes/material/header.htm | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'themes/luci-theme-material/luasrc/view') diff --git a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm index 5cb74ce1e4..3127855774 100755 --- a/themes/luci-theme-material/luasrc/view/themes/material/footer.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/footer.htm @@ -42,6 +42,6 @@ - + diff --git a/themes/luci-theme-material/luasrc/view/themes/material/header.htm b/themes/luci-theme-material/luasrc/view/themes/material/header.htm index 05d9419a80..99afc065b3 100755 --- a/themes/luci-theme-material/luasrc/view/themes/material/header.htm +++ b/themes/luci-theme-material/luasrc/view/themes/material/header.htm @@ -19,6 +19,7 @@ -%> <% + local ver = require "luci.version" local sys = require "luci.sys" local util = require "luci.util" local http = require "luci.http" @@ -121,7 +122,7 @@ - + <% if node and node.css then %> @@ -154,7 +155,7 @@ end %> <% if ucichanges > 0 then %> - <%:Unsaved Changes%>: <%=ucichanges%> + "><%:Unsaved Changes%>: <%=ucichanges%> <% end %>