diff options
author | Patrick Grimm <patrick@lunatiki.de> | 2012-02-12 22:50:48 +0000 |
---|---|---|
committer | Patrick Grimm <patrick@lunatiki.de> | 2012-02-12 22:50:48 +0000 |
commit | 9305afaf0d5d8ef2adc9addddcffdcf3d5502a2c (patch) | |
tree | a83f7cf3d71064537a7e7b9117871b0185334a8f /libs/web/luasrc/view/cbi/tblsection.htm | |
parent | dd3f7d202266f6721bfd5f058b4e37950e9ff4e7 (diff) |
libs/web: replace <a href> by <input type=button> for better css style in tables
Diffstat (limited to 'libs/web/luasrc/view/cbi/tblsection.htm')
-rw-r--r-- | libs/web/luasrc/view/cbi/tblsection.htm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libs/web/luasrc/view/cbi/tblsection.htm b/libs/web/luasrc/view/cbi/tblsection.htm index 5f6381f058..ab4249afcf 100644 --- a/libs/web/luasrc/view/cbi/tblsection.htm +++ b/libs/web/luasrc/view/cbi/tblsection.htm @@ -86,23 +86,23 @@ end <%- if self.sortable then -%> <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> - <a href="#" onclick="return cbi_row_swap(this, true, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" title="<%:Move up%>"><img src="<%=resource%>/cbi/up.gif" alt="<%:Move up%>" /></a> - <a href="#" onclick="return cbi_row_swap(this, false, 'cbi.sts.<%=self.config%>.<%=self.sectiontype%>')" title="<%:Move down%>"><img src="<%=resource%>/cbi/down.gif" alt="<%:Move down%>" /></a> + <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)" /> </td> <%- end -%> <%- if self.extedit or self.addremove then -%> <td class="cbi-section-table-cell" style="padding:3px; white-space:nowrap"> <%- if self.extedit then -%> - <a href=" + <input class="cbi-button cbi-button-add" type="button" value="<%:Edit%>" onclick="window.location=' <%- if type(self.extedit) == "string" then -%> <%=self.extedit:format(section)%> <%- elseif type(self.extedit) == "function" then -%> <%=self:extedit(section)%> <%- end -%> - " title="<%:Edit%>"><img style="border: none" src="<%=resource%>/cbi/edit.gif" alt="<%:Edit%>" /></a> + '" alt="<%:Edit%>" title="<%:Edit%>" style="text-align: center;background-image:url(<%=resource%>/cbi/edit.gif)" /> <%- end; if self.addremove then %> - <input type="image" value="<%:Delete%>" onclick="this.form.cbi_state='del-section'; return true" name="cbi.rts.<%=self.config%>.<%=k%>" alt="<%:Delete%>" title="<%:Delete%>" src="<%=resource%>/cbi/remove.gif" /> + <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)" /> <%- end -%> </td> <%- end -%> |