From: Jo-Philipp Wich Date: Wed, 15 Feb 2012 15:13:27 +0000 (+0000) Subject: libs/web: use new button classes for tblsection template X-Git-Tag: 0.11.0~1107 X-Git-Url: http://git.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=13beaf8b3d041d6ae79facca3bddba95534683ec libs/web: use new button classes for tblsection template --- diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index eadfb99c68..d92d36aee8 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -94,15 +94,15 @@ end <%- if self.extedit or self.addremove then -%> <%- if self.extedit then -%> - onclick="window.location='<%=self.extedit:format(section)%>'" <%- elseif type(self.extedit) == "function" then %> onclick="window.location='<%=self:extedit(section)%>'" <%- end - %> alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> + %> alt="<%:Edit%>" title="<%:Edit%>" /> <%- end; if self.addremove then %> - + <%- end -%> <%- end -%>