Initial commit: CloudOps infrastructure platform

This commit is contained in:
root
2026-04-09 19:58:57 +02:00
commit 1166a52f26
7762 changed files with 839452 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
Mautic.messagesOnLoad = function(container) {
mQuery(container + ' .sortable-panel-wrapper .modal').each(function() {
// Move modals outside of the wrapper
mQuery(this).closest('.panel').append(mQuery(this));
});
};
Mautic.toggleChannelFormDisplay = function (el, channel) {
Mautic.toggleTabPublished(el);
if (mQuery(el).val() === "1" && mQuery(el).prop('checked')) {
mQuery(el).closest('.tab-pane').find('.message_channel_properties_' + channel).removeClass('hide')
} else {
mQuery(el).closest('.tab-pane').find('.message_channel_properties_' + channel).addClass('hide');
}
};
Mautic.cancelQueuedMessageEvent = function (channelId) {
Mautic.ajaxActionRequest('channel:cancelQueuedMessageEvent',
{
channelId: channelId
}, function (response) {
if (response.success) {
mQuery('#queued-message-'+channelId).addClass('disabled');
mQuery('#queued-status-'+channelId).html(Mautic.translate('mautic.message.queue.status.cancelled'));
}
}, false
);
};