Some more modal styles

This commit is contained in:
M.Ravi 2017-09-28 23:31:29 +02:00
parent f60a2c3482
commit 4ce1ff073a

View file

@ -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');