libs/web: use CSS class for sort buttons, drop inline style
This commit is contained in:
parent
8e44175a79
commit
8412034c3d
1 changed files with 2 additions and 2 deletions
|
@ -86,8 +86,8 @@ end
|
|||
|
||||
<%- if self.sortable then -%>
|
||||
<td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap">
|
||||
<input class="cbi-button cbi-button-add" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move up%>" title="<%:Move up%>" style="background-image:url(<%=resource%>/cbi/up.gif)" />
|
||||
<input class="cbi-button cbi-button-add" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move down%>" title="<%:Move down%>" style="background-image:url(<%=resource%>/cbi/down.gif)" />
|
||||
<input class="cbi-button cbi-button-up" type="button" value="" onclick="return cbi_row_swap(this, true, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move up%>" title="<%:Move up%>" />
|
||||
<input class="cbi-button cbi-button-down" type="button" value="" onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" alt="<%:Move down%>" title="<%:Move down%>" />
|
||||
</td>
|
||||
<%- end -%>
|
||||
|
||||
|
|
Loading…
Reference in a new issue