summaryrefslogtreecommitdiffhomepage
path: root/libs/web/luasrc/view
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2012-02-15 15:13:27 +0000
committerJo-Philipp Wich <jow@openwrt.org>2012-02-15 15:13:27 +0000
commit13beaf8b3d041d6ae79facca3bddba95534683ec (patch)
tree287830d9160cb54d63c5d45966c36a7e65482e4c /libs/web/luasrc/view
parent47b51b54e8bf5d40dee04e85c46551e49e575ddd (diff)
libs/web: use new button classes for tblsection template
Diffstat (limited to 'libs/web/luasrc/view')
-rw-r--r--libs/web/luasrc/view/cbi/tblsection.htm6
1 files changed, 3 insertions, 3 deletions
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 -%>
<td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
<%- if self.extedit then -%>
- <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>"
+ <input class="cbi-button cbi-button-edit" type="button" value="<%:Edit%>"
<%- if type(self.extedit) == "string" 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 %>
- <input class="cbi-button cbi-button-add" type="button" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" style="text-align: center;background-image:url(<%=resource%>/cbi/remove.gif)" />
+ <input class="cbi-button cbi-button-remove" type="button" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" />
<%- end -%>
</td>
<%- end -%>