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,4 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href="?m=user_games"]').addClass('btn btn-primary btn-xs');
|
||||
});
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href="?m=user_admin&p=show_groups"], .main [href="?m=user_admin"]').addClass('btn btn-sm btn-primary');
|
||||
|
||||
$('input[name="unassign"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
});
|
||||
|
|
@ -1,6 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=user_games"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
$('p > a').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
#deleteLink {
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main > p:nth-child(1)').replaceWith('\
|
||||
<div class="row">\
|
||||
<div class="col-12">\
|
||||
<div class="callout callout-warning">\
|
||||
<p>'+$('.main > p:nth-child(1)').html()+'</p>\
|
||||
</div>\
|
||||
</div>\
|
||||
</div>\
|
||||
');
|
||||
|
||||
|
||||
$('.main > p:nth-child(2)').replaceWith('<table class="table table-sm table-striped"><tr><td>'+$('.main > p:nth-child(2)').html()+'</td></table>');
|
||||
$('.main td').each(function()
|
||||
{
|
||||
$(this).html($(this).html().replace('|',''));
|
||||
});
|
||||
|
||||
$('.main [href$="&files=y"]').addClass('btn btn-sm btn-danger').prepend('<i class="fas fa-trash-alt mr-1"></i>');
|
||||
$('.main [href^="?m=user_games&p=del&y=y&home_id="]').addClass('btn btn-sm btn-danger');
|
||||
$('.main [href="?m=user_games"]').addClass('btn btn-sm btn-primary');
|
||||
});
|
||||
|
|
@ -1,22 +0,0 @@
|
|||
select[name="ip"],
|
||||
input[name="port"]
|
||||
{
|
||||
max-width: 200px;
|
||||
display: inline-block;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
|
||||
#cpu_select span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
td.left select,
|
||||
td.left input {
|
||||
display: inline-block;
|
||||
width: auto;
|
||||
margin-right: 1rem;
|
||||
}
|
||||
|
||||
td.right {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main p > a').addClass('btn btn-primary btn-sm');
|
||||
|
||||
$('.main [name="change_user_id_main"]').removeClass('btn-primary').addClass('btn-warning');
|
||||
$('.main [href*="&delete_ip&"]').addClass('btn btn-xs btn-danger');
|
||||
|
||||
$('.main form[action^="?m=user_games&p=edit&home_id="]').addClass('mb-1');
|
||||
|
||||
$('.main #mods').bind("DOMSubtreeModified",function()
|
||||
{
|
||||
$(this).find('table').addClass('table table-sm table-striped');
|
||||
$(this).find('select').addClass('form-control');
|
||||
$(this).find('input[type="text"]').addClass('form-control');
|
||||
$(this).find('[href$="&submit=delete_mod"]').addClass('btn btn-xs btn-danger');
|
||||
$(this).find('[href^="?m=user_games&p=install_cmds&home_id="]').addClass('btn btn-xs btn-primary');
|
||||
$(this).find('.set_options').addClass('btn btn-sm btn-primary');
|
||||
$(this).find('[type="submit"]').addClass('btn btn-sm btn-primary');
|
||||
$(this).find('[id^="mod_cfg_id_"] > td').find('br').remove();
|
||||
|
||||
$(this).find('[href$="&submit=delete_mod"]').each(function()
|
||||
{
|
||||
var thisValue = $(this).text();
|
||||
if(thisValue.includes('['))
|
||||
{
|
||||
$(this).text(thisValue.replace('[','').replace(']','').trim());
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('.main td.right').attr('rowspan', 2);
|
||||
$('.main td.info').addClass('text-sm text-muted').css('border-top', 'none');
|
||||
});
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=user_games&p=edit&home_id="]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
#searchType, #search {
|
||||
display: inline-block !important;
|
||||
width: auto !important;
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
$('.main [href^="?m=user_games&p="]').each(function() {
|
||||
var newContent = $(this).text().replace('[', '').replace(']', '');
|
||||
$(this).text(newContent);
|
||||
});
|
||||
$('.main .size').each(function() {
|
||||
var newSize = $(this).text().replace('[', '').replace(']', '')
|
||||
$(this).text(newSize);
|
||||
});
|
||||
$('.main .size').addClass('btn btn-xs btn-default');
|
||||
|
||||
$('.main [href="?m=user_games&p=add"]').prepend('<i class="fas fa-plus-square mr-1"></i>').addClass('btn btn-primary btn-sm');
|
||||
$('.main [href^="?m=user_games&p=del&home_id"]').prepend('<i class="fas fa-trash-alt mr-1"></i>').addClass('btn btn-danger btn-xs');
|
||||
$('.main [href^="?m=user_games&p=edit&home_id"]').prepend('<i class="fas fa-edit mr-1"></i>').addClass('btn btn-primary btn-xs');
|
||||
$('.main [href^="?m=user_games&p=clone&home_id"]').prepend('<i class="fas fa-clone mr-1"></i>').addClass('btn btn-primary btn-xs');
|
||||
|
||||
$('.main th:last-of-type').css('width', '150px');
|
||||
$('.main tr:last-of-type > td[colspan="2"]').removeAttr('colspan').attr('colspan', 3);
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue