Moved the Agents into their own repo. Kept the agent.pl just for reference
This commit is contained in:
parent
22381be29a
commit
8680a02b13
18132 changed files with 0 additions and 2569420 deletions
|
|
@ -1,60 +0,0 @@
|
|||
.btn:not([name="update"]),
|
||||
.loading,
|
||||
b:not(:first-of-type){
|
||||
float: right;
|
||||
}
|
||||
b.label {
|
||||
font-size: 12px;
|
||||
font-weight: normal;
|
||||
padding: 5px;
|
||||
margin: 0px 5px;
|
||||
}
|
||||
.btn,
|
||||
.badge {
|
||||
margin: 0px 5px !important;
|
||||
}
|
||||
.uninstall,
|
||||
.install,
|
||||
.remove,
|
||||
.badge {
|
||||
min-width: 75px;
|
||||
}
|
||||
.content {
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
padding: 4px;
|
||||
}
|
||||
.content:nth-child(even) {
|
||||
background-color: rgba(26, 28, 34, 0.3) !important;
|
||||
}
|
||||
.badge {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
.fa {
|
||||
margin-left: 5px;
|
||||
}
|
||||
.dragbox-content input[type="checkbox"] {
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.extras .bloc {
|
||||
padding: 0px;
|
||||
float: left;
|
||||
width: 49%;
|
||||
border: none !important;
|
||||
}
|
||||
.extras .bloc:first-of-type {
|
||||
margin-right: 1%;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1200px) {
|
||||
.extras .bloc {
|
||||
float: none;
|
||||
width: 100%;
|
||||
margin: 0px;
|
||||
}
|
||||
}
|
||||
a.btn-xs {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
|
@ -1,58 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
$('[name="update"]').click(function(){
|
||||
$('body').append('<div class="loading-overlay"><img src="themes/MasterControlProgram/images/loader/dual_ring.svg"></div>');
|
||||
});
|
||||
|
||||
$('.dragbox-content').html(function(index, text) {
|
||||
return text.replace(/\ - /g, '');
|
||||
});
|
||||
|
||||
$('[href^="#uninstall_"]').addClass('btn').addClass('btn-danger').addClass('btn-xs').removeAttr('style');
|
||||
$('[href^="#remove_"]').addClass('btn').addClass('btn-danger').addClass('btn-xs').removeAttr('style');
|
||||
$('[href^="#install_"]').addClass('btn').addClass('btn-success').addClass('btn-xs').removeAttr('style');
|
||||
$('[href^="?m=extras&searchForUpdates="]').addClass('btn').addClass('btn-primary').addClass('btn-xs').removeAttr('style');
|
||||
|
||||
$('.main > h2').after('<div class="extras"></div>');
|
||||
|
||||
$('.dragbox-content').each(function(){
|
||||
var form_selector = $(this);
|
||||
$(form_selector).prepend('<br>');
|
||||
$(form_selector.find('br')).each(function(){
|
||||
var $set = $();
|
||||
var nxt = this.nextSibling;
|
||||
while(nxt) {
|
||||
if(!$(nxt).is('br')) {
|
||||
$set.push(nxt);
|
||||
nxt = nxt.nextSibling;
|
||||
} else break;
|
||||
}
|
||||
$set.wrapAll('<tr><td></td></tr>');
|
||||
});
|
||||
$(form_selector.find('br')).remove();
|
||||
$(form_selector.find('tr')).wrapAll('<table class="table table-sm table-striped" />');
|
||||
|
||||
});
|
||||
|
||||
|
||||
$('.dragbox').appendTo('.main .extras').removeAttr('style');
|
||||
|
||||
$('tr').each(function () {
|
||||
$(this).find('td').each(function () {
|
||||
if ($(this).text().trim() == "") {
|
||||
$(this).closest("tr").remove();
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
$('b[style*="green"]').addClass('label').addClass('label-success').css("color", "");
|
||||
$('b[style*="red"]').addClass('label').addClass('label-danger').css("color", "");
|
||||
$('b[style*="orange"]').addClass('label').addClass('label-warning').css("color", "");
|
||||
|
||||
|
||||
$('.search').click(function(){
|
||||
$(this).replaceWith('<a class="search btn btn-primary btn-xs" href="'+$(this).attr('href')+'" disabled>'+$(this).text()+' <i class="fa fa-refresh fa-spin fa-fw" aria-hidden="true"></i></a>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue