From: Jo-Philipp Wich Date: Thu, 25 Sep 2008 14:37:51 +0000 (+0000) Subject: * luci-0.8: backport new layout for apply messages X-Git-Tag: 0.8.0~31 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=b9cf0e6355c6c0dba2988e606a6316d5f2e86e70;p=project%2Fluci.git * luci-0.8: backport new layout for apply messages --- diff --git a/libs/cbi/luasrc/view/cbi/map.htm b/libs/cbi/luasrc/view/cbi/map.htm index 1238b6adb0..6378f72abf 100644 --- a/libs/cbi/luasrc/view/cbi/map.htm +++ b/libs/cbi/luasrc/view/cbi/map.htm @@ -16,19 +16,21 @@ $Id$

<%=self.title%>

<%=self.description%>
- <%- if self._apply then -%><%:cbi_applying%>: - -<% - local fp = self._apply() - self._apply = nil - local line = fp:read() - while line do - write(line.."\n") - line = fp:read() - end - fp:close() - -%> - <%- end -%> + <%- if self._apply then -%> +
+ <%:cbi_applying%> +
    <%- + local fp = self._apply() + self._apply = nil + local line = fp:read() + while line do + write("
  • " .. luci.util.pcdata(line) .. "
  • \n") + line = fp:read() + end + fp:close() + -%>
+
+ <%- end -%> <%- self:render_children() %>
diff --git a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css index e443664363..70132fd5a1 100644 --- a/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css +++ b/themes/fledermaus/htdocs/luci-static/fledermaus/cascade.css @@ -506,6 +506,10 @@ td.cbi-value-error { padding: 3px; } +ul.cbi-apply { + font-size: 90%; +} + .right { text-align: right; } diff --git a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css index 6c841b2069..ebc1c60395 100644 --- a/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css +++ b/themes/openwrt-light/htdocs/luci-static/openwrt-light/cascade.css @@ -491,6 +491,10 @@ td.cbi-value-error { padding: 3px; } +ul.cbi-apply { + font-size: 90%; +} + .right { text-align: right; } diff --git a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css index 1e2e7eb7bb..3c52300352 100644 --- a/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css +++ b/themes/openwrt.org/htdocs/luci-static/openwrt.org/cascade.css @@ -222,6 +222,10 @@ div#content ul { background-color: inherit; } +ul.cbi-apply { + font-size: 90%; +} + input[type=submit], input[type=reset], input[type=image],