/var/www/vhosts/ihelp.ro/httpdocs/plugins/AdminLTE/webroot/js
NameSizeModeActions
pages/-0755rm
admin.js23270644editdlrm
adminlte.js775160644editdlrm
adminlte.js.map1322780644editdlrm
adminlte.min.js354830644editdlrm
adminlte.min.js.map982220644editdlrm
custom.js.delete8560644editdlrm
demo.js135890644editdlrm
Edit: /var/www/vhosts/ihelp.ro/httpdocs/plugins/AdminLTE/webroot/js/admin.js (2327B)
$(function () { console.log('start admin') $('.sponsor-img').change(function () { if (this.files && this.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#imagePreview').attr('src', e.target.result); }; reader.readAsDataURL(this.files[0]); } }) $('.banner-img').change(function () { if (this.files && this.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#bannerImg').attr('src', e.target.result); }; reader.readAsDataURL(this.files[0]); } }) // Daterangepicker // reset filters $('.btn-reset').on('click', function () { location.href = location.protocol + '//' + location.host + location.pathname }) if ($(".btn-copy").length) { var clipboard = new ClipboardJS(".btn-copy"); clipboard.on("success", function (e) { $(e.trigger) .tooltip({ animation: "fade", placement: "bottom", trigger: "click", title: "Copied!", }) .click(); setTimeout(function () { $(e.trigger).tooltip("hide"); }, 2000); e.clearSelection(); }); clipboard.on("error", function (e) { $(e.trigger).tooltip({ animation: "fade", placement: "bottom", trigger: "click", title: "Not copied.", }); setTimeout(function () { $(e.trigger).tooltip("hide"); }, 2000); e.clearSelection(); }); } //Initialize Select2 Elements $(".select-with-search").select2({ minimumResultsForSearch: 5, dropdownAutoWidth: true }); //Date range picker $(".datepicker-range-filter").daterangepicker({ startDate: moment().subtract(1, "year"), locale: { format: "DD MMM YYYY", }, }); /* https://air-datepicker.com/ */ // v 2.2.3 http://t1m0n.name/air-datepicker/docs/ $('.date-picker').datepicker({ dateFormat: 'yyyy-mm-dd' }); });