added admin interface
This commit is contained in:
7
admin/assets/js/pages/ui/modals.js
Normal file
7
admin/assets/js/pages/ui/modals.js
Normal file
@ -0,0 +1,7 @@
|
||||
$(function () {
|
||||
$('.js-modal-buttons .btn').on('click', function () {
|
||||
var color = $(this).data('color');
|
||||
$('#mdModal .modal-content').removeAttr('class').addClass('modal-content modal-col-' + color);
|
||||
$('#mdModal').modal('show');
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user