Some more modal styles
This commit is contained in:
parent
f60a2c3482
commit
4ce1ff073a
1 changed files with 6 additions and 0 deletions
|
@ -86,6 +86,12 @@ $(document).ready(function() {
|
||||||
url: create_vm_form.attr('action'),
|
url: create_vm_form.attr('action'),
|
||||||
type: 'POST',
|
type: 'POST',
|
||||||
data: create_vm_form.serialize(),
|
data: create_vm_form.serialize(),
|
||||||
|
init: function(){
|
||||||
|
ok_btn = $('#createvm-modal-done-btn');
|
||||||
|
close_btn = $('#createvm-modal-close-btn');
|
||||||
|
ok_btn.addClass('btn btn-success btn-ok btn-wide hide');
|
||||||
|
close_btn.addClass('btn btn-danger btn-ok btn-wide hide');
|
||||||
|
},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
fa_icon = $('.modal-icon > .fa');
|
fa_icon = $('.modal-icon > .fa');
|
||||||
modal_btn = $('#createvm-modal-done-btn');
|
modal_btn = $('#createvm-modal-done-btn');
|
||||||
|
|
Loading…
Reference in a new issue