Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/main_file/public/assets/js/pages/ drwxrwxrwx | |
| Viewing file: Select action/file-type: 'use strict';
document.addEventListener("DOMContentLoaded", function () {
document.querySelector("#btn-default").addEventListener('click', function () {
notifier.show('Hello!', 'I am a default notification.', '', '', 0);
});
document.querySelector("#btn-info").addEventListener('click', function () {
notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '', 0);
});
document.querySelector("#btn-success").addEventListener('click', function () {
notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '', 0);
});
document.querySelector("#btn-warning").addEventListener('click', function () {
notifier.show('Warning!', 'The data presented here can be change.', 'warning', '', 0);
});
document.querySelector("#btn-danger").addEventListener('click', function () {
notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '', 0);
});
document.querySelector("#btn-default-i").addEventListener('click', function () {
notifier.show('Default!', 'I am a default notification.', '', '../assets/images/notification/clock-48.png', 0);
});
document.querySelector("#btn-info-i").addEventListener('click', function () {
notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 0);
});
document.querySelector("#btn-success-i").addEventListener('click', function () {
notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '../assets/images/notification/ok-48.png', 0);
});
document.querySelector("#btn-warning-i").addEventListener('click', function () {
notifier.show('Warning!', 'The data presented here can be change.', 'warning', '../assets/images/notification/medium_priority-48.png', 0);
});
document.querySelector("#btn-danger-i").addEventListener('click', function () {
notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '../assets/images/notification/high_priority-48.png', 0);
});
document.querySelector("#btn-default-ac").addEventListener('click', function () {
notifier.show('Default!', 'I am a default notification.', '', '../assets/images/notification/clock-48.png', 4000);
});
document.querySelector("#btn-info-ac").addEventListener('click', function () {
notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 4000);
});
document.querySelector("#btn-success-ac").addEventListener('click', function () {
notifier.show('Well Done!', 'You just submit your resume successfuly.', 'success', '../assets/images/notification/ok-48.png', 4000);
});
document.querySelector("#btn-warning-ac").addEventListener('click', function () {
notifier.show('Warning!', 'The data presented here can be change.', 'warning', '../assets/images/notification/medium_priority-48.png', 4000);
});
document.querySelector("#btn-danger-ac").addEventListener('click', function () {
notifier.show('Sorry!', 'Could not complete your transaction.', 'danger', '../assets/images/notification/high_priority-48.png', 4000);
});
var notificationId;
var showNotification = function () {
notificationId = notifier.show('Reminder!', 'You have a meeting at 10:30 AM.', 'info', '../assets/images/notification/survey-48.png', 4000);
};
var hideNotification = function () {
notifier.hide(notificationId);
};
document.querySelector('#btn-nt-show').addEventListener('click', showNotification);
document.querySelector('#btn-nt-hide').addEventListener('click', hideNotification);
}); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0043 ]-- |