change cancel button
This commit is contained in:
@ -15,7 +15,7 @@ Editableform based on Twitter Bootstrap
|
||||
|
||||
//buttons
|
||||
$.fn.editableform.buttons = '<button type="submit" class="btn btn-primary editable-submit"><i class="icon-ok icon-white"></i></button>'+
|
||||
'<button type="button" class="btn editable-cancel"><i class="icon-ban-circle"></i></button>';
|
||||
'<button type="button" class="btn editable-cancel"><i class="icon-remove"></i></button>';
|
||||
|
||||
//error classes
|
||||
$.fn.editableform.errorGroupClass = 'error';
|
||||
|
@ -14,7 +14,7 @@ Editableform based on jQuery UI
|
||||
text: false
|
||||
}).removeAttr('title');
|
||||
this.$form.find('.editable-cancel').button({
|
||||
icons: { primary: "ui-icon-cancel" },
|
||||
icons: { primary: "ui-icon-closethick" },
|
||||
text: false
|
||||
}).removeAttr('title');
|
||||
|
||||
|
@ -47,11 +47,15 @@
|
||||
|
||||
.editable-error-block {
|
||||
max-width: 300px;
|
||||
padding-top: 3px;
|
||||
margin: 0;
|
||||
margin: 5px 0 0 0;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
/*add padding for jquery ui*/
|
||||
.editable-error-block.ui-state-error {
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.editable-error {
|
||||
color: red;
|
||||
}
|
||||
|
Reference in New Issue
Block a user