Commit 769d74e1 authored by cfoe's avatar cfoe
Browse files

added icoAction button-class to reduce style="" usage in template files

parent e2266c20
......@@ -850,6 +850,8 @@ button.icons16 { height: 20px; width: 20px; padding: 0; background-repeat: no-re
.icons16.icoDbAdmin { background-image: url("../icons/x16/database.png"); }
.icons16.icoLoginAs { background-image: url("../icons/x16/user_go.png"); }
.icons16.icoWebmailer { background-image: url("../icons/x16/mails_arrow.png"); }
.icons16.icoPDF { background-image: url("icons/x16/pdficon_small.png"); }
.icons16.icoAction { background-image: url("icons/x16/arrow.png"); }
#ajaxloader {
text-align:center;
......
......@@ -49,7 +49,7 @@
<td class="tbl_col_ip_address"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ip_address"}</a></td>
<td class="tbl_col_buttons">
<div class="buttons icons16">
<a class="icons16" href="#" onClick="loadContent('vm/openvz_action.php?id={tmpl_var name='id'}')" style="background-image: url('themes/default/icons/x16/arrow.png');"><span>&nbsp;</span></a>
<a class="icons16 icoAction" href="javascript: loadContent('vm/openvz_action.php?id={tmpl_var name='id'}');"><span>Action</span></a>
<a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_vm_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</div>
</td>
......
......@@ -388,6 +388,8 @@
.icons16.icoDbAdmin { background-image: url("../../icons/x16/database.png"); }
.icons16.icoLoginAs { background-image: url("../../icons/x16/user_go.png"); }
.icons16.icoWebmailer { background-image: url("../../icons/x16/mails_arrow.png"); }
.icons16.icoPDF { background-image: url("icons/x16/pdficon_small.png"); }
.icons16.icoAction { background-image: url("icons/x16/arrow.png"); }
#ajaxloader {
text-align:center;
......
......@@ -49,7 +49,7 @@
<td class="tbl_col_ip_address"><a href="#" onClick="loadContent('vm/openvz_vm_edit.php?id={tmpl_var name='id'}');">{tmpl_var name="ip_address"}</a></td>
<td class="tbl_col_buttons">
<div class="buttons icons16">
<a class="icons16" href="#" onClick="loadContent('vm/openvz_action.php?id={tmpl_var name='id'}')" style="background-image: url('themes/default/icons/x16/arrow.png');"><span>&nbsp;</span></a>
<a class="icons16 icoAction" href="javascript: loadContent('vm/openvz_action.php?id={tmpl_var name='id'}');"><span>Action</span></a>
<a class="icons16 icoDelete" href="javascript: del_record('vm/openvz_vm_del.php?id={tmpl_var name='id'}&phpsessid={tmpl_var name='phpsessid'}','{tmpl_var name='delete_confirmation'}');"><span>{tmpl_var name='delete_txt'}</span></a>
</div>
</td>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment