BEGIN
==mnt==
M /dev/sda2 / ext4
M /dev/loop1 /snap/core18/2999 squashfs
M /dev/loop9 /snap/core22/2411 squashfs
M /dev/loop12 /snap/core24/1643 squashfs
M /dev/loop13 /snap/core20/2866 squashfs
M /dev/loop4 /snap/core26/409 squashfs
M /dev/loop5 /snap/certbot/5781 squashfs
M /dev/loop18 /snap/certbot-dns-cloudflare/5426 squashfs
M /dev/loop17 /snap/lxd/40424 squashfs
M /dev/loop6 /snap/core26/462 squashfs
M /dev/loop10 /snap/snapd/27710 squashfs
M /dev/loop19 /snap/core22/2437 squashfs
M /dev/loop3 /snap/certbot-dns-cloudflare/5538 squashfs
M /dev/loop20 /snap/certbot/5893 squashfs
M nsfs /run/snapd/ns/certbot-dns-cloudflare.mnt nsfs
left 15
==gdpr==
cy","userHasAcceptedCookies",30),window.location.reload()}function e(o){t(o),n("GDPRPrivacy","userHasDeclinedCookies"),i(bfGDPR__configObject.nonprivacyCookieNames),localStorage.clear(),window.location.reload()}function n(t,o,e){if(e){var n=new Date;n.setTime(n.getTime()+24*e*60*60*1e3);var i="; expires="+n.toGMTString()}else var i="";document.cookie=t+"="+o+i+"; path=/"}function i(t){t.replace(/\s+/g,"").split(",").map(function(t){n(t,"",-1)})}var a;if(document.cookie.split(";").filter(function(t){return-1!==t.indexOf("GDPRPrivacy")}).length){var c=function(t){for(var o=t+"=",e=document.cookie.split(";"),n=0;n');
this.$body.append(this.$elm);
remove = function(event, modal) { modal.elm.remove(); };
this.showSpinner();
el.trigger($.modal.AJAX_SEND);
$.get(target).done(function(html) {
if (!$.modal.isActive()) return;
el.trigger($.modal.AJAX_SUCCESS);
var current = getCurrent();
current.$elm.empty().append(html).on($.modal.CLOSE, remove);
current.hideSpinner();
current.open();
el.trigger($.modal.AJAX_COMPLETE);
}).fail(function() {
el.trigger($.modal.AJAX_FAIL);
var current = getCurrent();
current.hideSpinner();
modals.pop(); // remove expected modal from the list
el.trigger($.modal.AJAX_COMPLETE);
});
}
} else {
this.$elm = el;
this.anchor = el;
this.$body.append(this.$elm);
this.open();
}
};
$.modal.prototype = {
constructor: $.modal,
open: function() {
var m = this;
this.block();
this.anchor.blur();
if(this.options.doFade) {
setTimeout(function() {
m.show();
}, this.options.fadeDuration * this.options.fadeDelay);
} else {
this.show();
}
$(document).off('keydown.modal').on('keydown.modal', function(event) {
var current = getCurrent();
if (event.which === 27 && current.options.escapeClose) current.close();
});
if (this.options.clickClose)
this.$blocker.click(function(e) {
if (e.target === this)
$.modal.close();
});
},
close: function() {
modals.pop();
this.unblock();
this.hide();
if (!$.modal.isActive())
$(document).off('keydown.modal');
},
block: function() {
this.$elm.trigger($.modal.BEFORE_BLOCK, [this._ctx()]);
this.$body.css('overflow','hidden');
this.$html.css('overflow','hidden');
this.$blocker = $('').appendTo(this.$body);
selectCurrent();
if(this.options.doFade) {
this.$blocker.css('opacity',0).animate({opacity: 1}, this.options.fadeDuration);
}
this.$elm.trigger($.modal.BLOCK, [this._ctx()]);
},
unblock: function(now) {
if (!now && this.options.doFade)
this.$blocker.fadeOut(this.options.fadeDuration, this.unblock.bind(this,true));
else {
this.$blocker.children().appendTo(this.$body);
this.$blocker.remove();
this.$blocker = null;
selectCurrent();
if (!$.modal.isActive())
this.$body.css('overflow','');
this.$html.css('overflow','');
}
},
show: function() {
this.$elm.trigger($.modal.BEFORE_OPEN, [this._ctx()]);
if (this.options.showClose) {
this.closeButton = $('' + this.options.closeText + '');
this.$elm.append(this.closeButton);
}
this.$elm.addClass(this.options.modalClass).appendTo(this.$blocker);
if(this.options.doFade) {
this.$elm.css({opacity: 0, display: 'inline-block'}).animate({opacity: 1}, this.options.fadeDuration);
} else {
this.$elm.css('display', 'inline-block');
}
this.$elm.trigger($.modal.OPEN, [this._ctx()]);
},
hide: function() {
this.$elm.trigger($.modal.BEFORE_CLOSE, [this._ctx()]);
if (this.closeButton) this.closeButton.remove();
var _this = this;
if(this.options.doFade) {
this.$elm.fadeOut(this.options.fadeDuration, function () {
_this.$elm.trigger($.modal.AFTER_CLOSE, [_this._ctx()]);
});
} else {
this.$elm.hide(0, function () {
_this.$elm.trigger($.modal.AFTER_CLOSE, [_this._ctx()]);
});
}
this.$elm.trigger($.modal.CLOSE, [this._ctx()]);
},
showSpinner: function() {
if (!this.options.showSpinner) return;
this.spinner = this.spinner || $('')
.append(this.options.spinnerHtml);
this.$body.append(this.spinner);
this.spinner.show();
},
hideSpinner: function() {
if (this.spinner) this.spinner.remove();
},
//Return context for custom events
_ctx: function() {
return { elm: this.$elm, $elm: this.$elm, $blocker: this.$blocker, options: this.options, $anchor: this.anchor };
}
};
$.modal.close = function(event) {
if (!$.modal.isActive()) return;
if (event) event.preventDefault();
var current = getCurrent();
current.close();
return current.$elm;
};
// Returns if there currently is an active modal
$.modal.isActive = function () {
return modals.length > 0;
};
$.modal.getCurrent = getCurrent;
$.modal.defaults = {
closeExisting: true,
escapeClose: true,
clickClose: true,
closeText: 'Close',
closeClass: '',
modalClass: "modal",
blockerClass: "jquery-modal",
spinnerHtml: '',
showSpinner: true,
showClose: true,
fadeDuration: null, // Number of milliseconds the fade animation takes.
fadeDelay: 1.0 // Point during the overlay's fade-in that the modal begins to fade in (.5 = 50%, 1.5 = 150%, etc.)
};
// Event constants
$.modal.BEFORE_BLOCK = 'modal:before-block';
$.modal.BLOCK = 'modal:block';
$.modal.BEFORE_OPEN = 'modal:before-open';
$.modal.OPEN = 'modal:open';
$.modal.BEFORE_CLOSE = 'modal:before-close';
$.modal.CLOSE = 'modal:close';
$.modal.AFTER_CLOSE = 'modal:after-close';
$.modal.AJAX_SEND = 'modal:ajax:send';
$.modal.AJAX_SUCCESS = 'modal:ajax:success';
$.modal.AJAX_FAIL = 'modal:ajax:fail';
$.modal.AJAX_COMPLETE = 'modal:ajax:complete';
$.fn.modal = function(options){
if (this.length === 1) {
new $.modal(this, options);
}
return this;
};
// Automatically bind links with rel="modal:close" to, well, close the modal.
$(document).on('click.modal', 'a[rel~="modal:close"]', $.modal.close);
$(document).on('click.modal', 'a[rel~="modal:open"]', function(event) {
event.preventDefault();
$(this).modal();
});
}));
document.addEventListener('DOMContentLoaded', () => {
// all modals
$('a.modal-click, .modal-click > a, .modal-click a').each(function(modal){
var _this = $(this),
id = _this.attr('href');
if(id){
_this.click(function(event){
event.preventDefault();
console.log('yyy ', id, id+'-modal');
jQuery(''+id+'-modal').modal({
fadeDuration: 1000,
fadeDelay: 0.50,
modalClass: "greyer",
blockerClass: "modal-blue-ink",
});
});
}
});
// all modals
});