first commit

This commit is contained in:
2024-10-23 13:44:50 +02:00
commit b6107b8c75
7924 changed files with 1087672 additions and 0 deletions

29
admin/js/functions.js Normal file
View File

@@ -0,0 +1,29 @@
function confirm_delete_element( action ) {
$.alert({
title: 'Pytanie',
content: 'Na pewno chcesz usunąć wybrany element?',
type: 'orange',
closeIcon: true,
closeIconClass: 'fa fa-times',
typeAnimated: true,
animation: 'opacity',
columnClass: 'col-12 col-lg-8',
theme: 'material',
icon: 'fa fa-question',
buttons: {
cancel: {
text: 'Nie',
btnClass: 'btn-success',
action: function() {}
},
confirm: {
text: 'Tak',
btnClass: 'btn-danger',
keys: ['enter'],
action: function() {
action()
}
}
}
});
}