From d5dff8f9a5ca85d197cbb6037f95053bc55941e5 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 3 Nov 2019 20:49:31 +0100 Subject: treewide: move server side CBI support to luci-compat Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/map.htm | 40 ------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 modules/luci-base/luasrc/view/cbi/map.htm (limited to 'modules/luci-base/luasrc/view/cbi/map.htm') diff --git a/modules/luci-base/luasrc/view/cbi/map.htm b/modules/luci-base/luasrc/view/cbi/map.htm deleted file mode 100644 index cda4d3530c..0000000000 --- a/modules/luci-base/luasrc/view/cbi/map.htm +++ /dev/null @@ -1,40 +0,0 @@ -<%- if firstmap and messages then local msg; for _, msg in ipairs(messages) do -%> -
<%=pcdata(msg)%>
-<%- end end -%> - -
- <% if self.title and #self.title > 0 then %> -

<%=self.title%>

- <% end %> - <% if self.description and #self.description > 0 then %> -
<%=self.description%>
- <% end %> - <% if self.tabbed then %> -
- <% for i, section in ipairs(self.children) do - tab = section.section or section.sectiontype %> -
> - <% section:render() %> -
- <% end %> -
- - <% if not self.save then -%> -
- <% for _, section in ipairs(self.children) do %> - <% if section.error and section.error[section.section] then -%> -
  • - <%:One or more invalid/required values on tab%>: <%=section.title or section.section or section.sectiontype%> -
- <%- end %> - <% end %> -
- <%- end %> - <% else %> - <%- self:render_children() %> - <% end %> -
-- cgit v1.2.3