From 22e4a2420cfac5c61cf3a28f8efe7f604e9d822a Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Fri, 13 Jul 2018 09:37:08 +0200 Subject: luci-base: tweak tblsection markup Signed-off-by: Jo-Philipp Wich --- modules/luci-base/luasrc/view/cbi/tblsection.htm | 30 +++++++++++++----------- 1 file changed, 16 insertions(+), 14 deletions(-) (limited to 'modules/luci-base/luasrc/view') diff --git a/modules/luci-base/luasrc/view/cbi/tblsection.htm b/modules/luci-base/luasrc/view/cbi/tblsection.htm index ab1392204..c6e4d7e9a 100644 --- a/modules/luci-base/luasrc/view/cbi/tblsection.htm +++ b/modules/luci-base/luasrc/view/cbi/tblsection.htm @@ -80,20 +80,22 @@ local titlename = ifattr(not self.anonymous or self.sectiontitle, "data-title", <%- if self.sortable or self.extedit or self.addremove then -%>
- <%- if self.sortable then -%> - - - <% end; if self.extedit then -%> - onclick="location.href='<%=self.extedit:format(section)%>'" - <%- elseif type(self.extedit) == "function" then - %> onclick="location.href='<%=self:extedit(section)%>'" - <%- end - %> alt="<%:Edit%>" title="<%:Edit%>" /> - <% end; if self.addremove then %> - - <%- end -%> +
+ <%- if self.sortable then -%> + + + <% end; if self.extedit then -%> + onclick="location.href='<%=self.extedit:format(section)%>'" + <%- elseif type(self.extedit) == "function" then + %> onclick="location.href='<%=self:extedit(section)%>'" + <%- end + %> alt="<%:Edit%>" title="<%:Edit%>" /> + <% end; if self.addremove then %> + + <%- end -%> +
<%- end -%> -- cgit v1.2.3