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,54 +0,0 @@
|
|||
iframe {
|
||||
border: none !important;
|
||||
background: transparent !important;
|
||||
}
|
||||
.ftp_iframe {
|
||||
background: transparent !important;
|
||||
}
|
||||
.ftp_iframe #LoginForm div {
|
||||
display: block !important;
|
||||
}
|
||||
|
||||
.ftp_iframe #LoginForm > div > div:first-child {
|
||||
padding: 6px 10px 0px;
|
||||
color: #fff;
|
||||
margin: 0 auto;
|
||||
height: 31px;
|
||||
background: #4875B3;
|
||||
padding-top: 10px;
|
||||
text-align: center;
|
||||
font-family: Roboto;
|
||||
font-weight: 300;
|
||||
font-size: 15px;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
}
|
||||
|
||||
.ftp_iframe #LoginForm > div > div:nth-child(2) {
|
||||
padding: 6px 6px 0px;
|
||||
}
|
||||
|
||||
.ftp_iframe .page table {
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ftp_iframe .page table table {
|
||||
width: 400px;
|
||||
margin: auto;
|
||||
}
|
||||
|
||||
.ftp_iframe #wrapper {
|
||||
border-left: none;
|
||||
padding: 20px;
|
||||
}
|
||||
|
||||
.ftp_iframe #header,
|
||||
.ftp_iframe #page-title
|
||||
{
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
select[name="home_id"] {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
|
@ -1,68 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
if(window.location.href.indexOf("home.php?m=ftp") != -1 )
|
||||
{
|
||||
$('iframe').attr('id', 'ftp_iframe').css('background-color', '');
|
||||
$('iframe').load(function()
|
||||
{
|
||||
$(this).contents().find("tr").removeAttr("onmouseover").removeAttr("onmouseout");
|
||||
$(this).contents().find("body").addClass('ftp_iframe dark-mode');
|
||||
$(this).contents().find("div, input").removeAttr("style");
|
||||
$(this).contents().find("table").removeAttr("style").removeAttr("colspan").addClass('table table-sm table-striped');
|
||||
$(this).contents().find(".page > table > tbody > tr:nth-child(3)").remove();
|
||||
$(this).contents().find('b[style="color:red;"]').removeAttr('style').addClass('alert alert-danger');
|
||||
$(this).contents().find('.table .table').addClass('inner-table');
|
||||
|
||||
$(this).contents().find('link').remove();
|
||||
|
||||
var main_css = '<link rel="stylesheet" type="text/css" href="../../themes/AdminLTE/dist/css/main.css">';
|
||||
var ftp_css = '<link rel="stylesheet" type="text/css" href="../../themes/AdminLTE/modules/ftp/main.css">';
|
||||
var fa_css = '<link rel="stylesheet" type="text/css" href="../../themes/AdminLTE/plugins/fontawesome-free/css/all.min.css">';
|
||||
var bs = '<link rel="stylesheet" href="../../themes/AdminLTE/dist/css/adminlte.css">';
|
||||
var js = '<link rel="stylesheet" href="../../themes/AdminLTE/dist/js/main.js">';
|
||||
|
||||
$(this).contents().find("head").append(bs);
|
||||
$(this).contents().find("head").append(js);
|
||||
$(this).contents().find("head").append(main_css);
|
||||
$(this).contents().find("head").append(ftp_css);
|
||||
$(this).contents().find("head").append(fa_css);
|
||||
|
||||
$(this).contents().find('button, input[type=button], [type=submit], input[type=reset], .swfuploadbtn').addClass('btn btn-sm btn-primary mb-1');
|
||||
$(this).contents().find('textarea, select, input[type=text]').addClass('form-control').removeAttr('style');
|
||||
$(this).contents().find('form').addClass('form-group');
|
||||
|
||||
$(this).contents().find('.browse_rows_heading a').removeAttr('style').addClass('btn btn-xs btn-primary');
|
||||
$(this).contents().find('[href^="javascript:submitBrowseForm(\'%2F\'"]').addClass('btn btn-xs btn-primary').prepend('<i class="fa fa-arrow-up"></i> ');
|
||||
$(this).contents().find('[href^="javascript:submitBrowseForm"]:not(.btn)').addClass('badge badge-default');
|
||||
$(this).contents().find('[onclick*="view"] > a').addClass('btn btn-xs btn-success');
|
||||
$(this).contents().find('[onclick*="edit"] > a').addClass('btn btn-xs btn-warning');
|
||||
$(this).contents().find('[href^="javascript:toggleElement(\'upload\')"]').addClass('btn btn-xs btn-danger');
|
||||
|
||||
$(this).contents().find('img[src$="folder.png"]').replaceWith('<i class="fa fa-folder-open"></i>');
|
||||
$(this).contents().find('img[src$="txt.png"]').replaceWith('<i class="fa fa-pencil-square"></i>');
|
||||
$(this).contents().find('img[src$="mime.png"], img[src$="exec.png"]').replaceWith('<i class="fa fa-cog"></i>');
|
||||
$(this).contents().find('img[src$="bookmark.png"]').replaceWith('<i class="fa fa-bookmark"></i>');
|
||||
$(this).contents().find('img[src$="info.png"]').replaceWith('<i class="fa fa-info-circle"></i>');
|
||||
$(this).contents().find('img[src$="exit.png"]').replaceWith('<i class="fas fa-sign-out-alt"></i>');
|
||||
$(this).contents().find('img[src$="view_tree.png"]').replaceWith('<i class="fa fa-list-alt"></i>');
|
||||
$(this).contents().find('img[src$="mime.png"]').replaceWith('<i class="fas fa-file"></i>');
|
||||
$(this).contents().find('img[src$="tgz.png"]').replaceWith('<i class="fas fa-file-archive"></i>');
|
||||
$(this).contents().find('img[src$="document.png"]').replaceWith('<i class="fas fa-file-alt"></i>');
|
||||
$(this).contents().find('img[src$="terminal.png"]').replaceWith('<i class="fa fa-terminal"></i>');
|
||||
$(this).contents().find('img[src$="colors.png"]').replaceWith('<i class="fa fa-file-image"></i>');
|
||||
$(this).contents().find('img[src$="misc.png"]').remove();
|
||||
$(this).contents().find('img[src$="back.png"]').replaceWith('<i class="fa fa-arrow-circle-left"></i>');
|
||||
|
||||
$(this).contents().find('[accesskey="h"]').addClass('btn btn-warning');
|
||||
$(this).contents().find('[accesskey="i"]:not(input)').addClass('btn btn-info');
|
||||
$(this).contents().find('[accesskey="l"]').addClass('btn btn-danger');
|
||||
$(this).contents().find('[accesskey="b"]').addClass('btn btn-primary');
|
||||
|
||||
$('iframe').contents().find('table h1').each(function(){
|
||||
$(this).parent('td').replaceWith('<th>'+$(this).parent('td').html()+'</th>');
|
||||
});
|
||||
|
||||
$('iframe').contents().find("body").css('display', 'block');
|
||||
});
|
||||
}
|
||||
});
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
$(document).ready(function()
|
||||
{
|
||||
// ftp account table to div conversion
|
||||
$('.main > form').prepend('<div class="row addacc mb-2"></div>');
|
||||
$('.main > form > table tr:first-child > td').each(function()
|
||||
{
|
||||
$('.main .addacc').append('<div class="col-12 col-lg-3 col-md-6">'+$(this).html()+'</div>');
|
||||
});
|
||||
$('.main .addacc').append('<div class="col-12 mt-1">'+$('.main > form > table tr:last-child > td').html()+'</div>');
|
||||
$('.main > form > table').remove();
|
||||
|
||||
$('.main b').removeAttr('style');
|
||||
});
|
||||
|
||||
$(window).load(function()
|
||||
{
|
||||
$('.tablesorter-hasChildRow td.collapsed').html('<i class="fa fa-plus-square"</i>');
|
||||
|
||||
$('.tablesorter-hasChildRow td.collapsible').click(function()
|
||||
{
|
||||
if($(this).hasClass('collapsed'))
|
||||
{
|
||||
$(this).html('<i class="fa fa-plus-square"></i>');
|
||||
}else
|
||||
{
|
||||
$(this).html('<i class="fa fa-minus-square"</i>');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
html,
|
||||
body,
|
||||
.dark-mode {
|
||||
background: transparent !important;
|
||||
}
|
||||
|
||||
#StatusbarForm {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
i.fa.fa-folder-open {
|
||||
color: #ffe699;
|
||||
}
|
||||
|
||||
h1 {
|
||||
font-size: 1.8rem;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue