Backported UCI-Dependency Tracking and Responsiveness Improvements
[oweals/luci.git] / libs / cbi / luasrc / view / cbi / map.htm
index e29b4fc74605ffb9d0c81dc0139db5c71a5dac46..1238b6adb03982dc156876029b979da4c9fe1f0e 100644 (file)
@@ -16,6 +16,19 @@ $Id$
 <div class="cbi-map" id="cbi-<%=self.config%>">
        <h1><%=self.title%></h1>
        <div class="cbi-map-descr"><%=self.description%></div>
+       <%- if self._apply then -%><code><%: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()
+               -%>
+       </code><%- end -%>
        <%- self:render_children() %>
        <br />
 </div>