summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/nsection.htm
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-11-03 20:49:31 +0100
committerJo-Philipp Wich <jo@mein.io>2019-11-03 20:49:31 +0100
commitd5dff8f9a5ca85d197cbb6037f95053bc55941e5 (patch)
treeeeb9271b96ba7b52bad777841ca4ebd452b1a2b0 /modules/luci-base/luasrc/view/cbi/nsection.htm
parent9e57fbb2c3f9c44cdf0a57e6fb9c1df32c84d52b (diff)
treewide: move server side CBI support to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi/nsection.htm')
-rw-r--r--modules/luci-base/luasrc/view/cbi/nsection.htm29
1 files changed, 0 insertions, 29 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/nsection.htm b/modules/luci-base/luasrc/view/cbi/nsection.htm
deleted file mode 100644
index 14232e3d94..0000000000
--- a/modules/luci-base/luasrc/view/cbi/nsection.htm
+++ /dev/null
@@ -1,29 +0,0 @@
-<% if self:cfgvalue(self.section) then section = self.section %>
- <div class="cbi-section">
- <% if self.title and #self.title > 0 then -%>
- <legend><%=self.title%></legend>
- <%- end %>
- <% if self.description and #self.description > 0 then -%>
- <div class="cbi-section-descr"><%=self.description%></div>
- <%- end %>
- <% if self.addremove then -%>
- <div class="cbi-section-remove right">
- <input type="submit" class="cbi-button" name="cbi.rns.<%=self.config%>.<%=section%>" value="<%:Delete%>" />
- </div>
- <%- end %>
- <div class="cbi-section-node<% if self.tabs then %> cbi-section-node-tabbed<% end %>" id="cbi-<%=self.config%>-<%=section%>">
- <%+cbi/ucisection%>
- </div>
- </div>
-<% elseif self.addremove then %>
- <% if self.template_addremove then include(self.template_addremove) else -%>
- <div class="cbi-section" id="cbi-<%=self.config%>-<%=self.section%>">
- <% if self.title and #self.title > 0 then -%>
- <legend><%=self.title%></legend>
- <%- end %>
- <div class="cbi-section-descr"><%=self.description%></div>
- <input type="submit" class="cbi-button cbi-button-add" name="cbi.cns.<%=self.config%>.<%=self.section%>" value="<%:Add%>" />
- </div>
- <%- end %>
-<% end %>
-<!-- /nsection -->