Moved the Agents into their own repo. Kept the agent.pl just for reference

This commit is contained in:
Frank Harris 2025-09-11 13:27:32 -04:00
parent 22381be29a
commit 8680a02b13
18132 changed files with 0 additions and 2569420 deletions

View file

@ -1,26 +0,0 @@
.admin-buttons {
display: inline-block;
width: 160px;
height: 110px;
text-align: center;
border-radius: 4px;
padding: 5px;
margin: 0px 5px 5px 0px;
vertical-align: middle;
}
.admin-buttons div {
line-height: 16px;
max-height: 32px;
overflow: hidden;
}
.admin-buttons:before {
font-size: 48px;
}
.admin-buttons img,
.admin-buttons br
{
display: none;
}
.admin-buttons:hover {
background-position: 0 -90px !important;
}

View file

@ -1,50 +0,0 @@
$(document).ready(function(){
/* *** Administration Button - Removing all TD/TR *** */
$('.row > .main').prepend('<table class="administration-table table table-sm"><tbody><tr><td><div class="flex-container"></div></td></tr></table>');
$('.row > .main').prepend('<h2>'+$('.main h2:nth-of-type(1)').html()+'</h2>');
$('.row > .main .administration-table:nth-of-type(2) td:not(.administration-buttons-hmargin)').each(function() {
$('.flex-container').append($(this).html());
});
$('.row > .main h2:nth-of-type(2)').remove();
$('.row > .main .administration-table:nth-of-type(2)').remove();
$('.row > .main .administration-table [href^="?m=administration&p=iframe&external_link="]').addClass('btn-primary').addClass('admin-buttons');
$('.row > .main .administration-table [href^="?m=administration&p=iframe&external_link="]').wrapInner('<div></div>');
$('.row > .main button[name="restore"]').removeClass('btn-primary').addClass('btn-danger');
/* *** Buttons Order adding TR's *** */
var td = $('.row > .main > table:last-of-type td');
var width = $(window).width();
if(width >= 1025){
var cutter = 5;
}else if(width <= 1024 && width >= 769){
var cutter = 4;
}else if(width <= 768 && width >= 481){
var cutter = 3;
}else if(width <= 480 && width >= 321){
var cutter = 2;
}else if(width <= 320){
var cutter = 1;
}
td.each(function(i){
$(this).removeAttr('colspan');
if (i % cutter == 0) {
td.slice(i, i+cutter).wrapAll('<tr/>')
}
}).parent('tr').unwrap();
$('.row > .main > table:last-of-type tr').each(function(){
if($.trim($(this).html())=='') { $(this).remove(); }
});
var td_cnt = $('.row > .main > table:last-of-type tr:last-of-type td').length;
var col_diff = cutter - td_cnt + 1;
$('.row > .main > table:last-of-type tr:last-of-type td:last-of-type').attr('colspan', col_diff);
$('.row > .main > table:last-of-type form').remove();
$('.row > .main > table:last-of-type').wrap('<form method="POST" \>');
$('.row > .main .remove-button').replaceWith('<button type="submit" class="btn btn-xs btn-danger" class="remove-button" onclick="this.form.submit();"><i class="fa fa-trash" aria-hidden="true"></i></button>');
});

View file

@ -1,7 +0,0 @@
$(document).ready(function() {
$('table').addClass('table').addClass('table-sm').addClass('table-striped').removeAttr('style');
var inputs = $('input, textarea, select').not(':input[type=button], :input[type=submit], :input[type=reset], :input[type=radio], :input[type=checkbox], :input[type=image]');
$(inputs).addClass('form-control').removeAttr('style');
$('[name="remove_log"]').replaceWith('<button type="submit" class="btn btn-xs btn-danger" name="remove_log" onclick="this.form.submit();"><i class="fa fa-trash" aria-hidden="true"></i></button>');
});