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,62 +0,0 @@
|
|||
$(document).ready(function(){
|
||||
if(window.location.href.indexOf("home.php?m=ftp") != -1 ){
|
||||
$('iframe').attr('id', 'ftp_iframe');
|
||||
$('iframe').load(function() {
|
||||
$(this).contents().find("tr").removeAttr("onmouseover").removeAttr("onmouseout");
|
||||
$(this).contents().find("body").addClass('ftp_iframe');
|
||||
$(this).contents().find("div, input").removeAttr("style");
|
||||
$(this).contents().find("table").removeAttr("style").removeAttr("colspan").addClass('table').addClass('table-sm').addClass('table-striped');
|
||||
$(this).contents().find(".page > table > tbody > tr:nth-child(3)").remove();
|
||||
$(this).contents().find('b[style="color:red;"]').removeAttr('style').addClass('alert').addClass('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/MasterControlProgram/css/main.css">';
|
||||
var ftp_css = '<link rel="stylesheet" type="text/css" href="../../themes/MasterControlProgram/modules/ftp/main.css">';
|
||||
var bs = '<link rel="stylesheet" href="../../themes/MasterControlProgram/css/bootstrap.min.css">';
|
||||
var bs_t = '<link rel="stylesheet" href="../../themes/MasterControlProgram/css/bootstrap-theme.min.css">';
|
||||
var js = '<link rel="stylesheet" href="../../themes/MasterControlProgram/js/main.js">';
|
||||
$(this).contents().find("head").append(bs);
|
||||
//$(this).contents().find("head").append(bs_t);
|
||||
$(this).contents().find("head").append(js);
|
||||
$(this).contents().find("head").append(main_css);
|
||||
$(this).contents().find("head").append(ftp_css);
|
||||
|
||||
$(this).contents().find('button, input[type=button], input[type=submit], input[type=reset], .swfuploadbtn').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$(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').addClass('btn-xs').addClass('btn-primary');
|
||||
$(this).contents().find('[href^="javascript:submitBrowseForm(\'%2F\'"]').addClass('btn').addClass('btn-xs').addClass('btn-primary').prepend('<i class="fa fa-arrow-up" aria-hidden="true"></i> ');
|
||||
$(this).contents().find('[href^="javascript:submitBrowseForm"]:not(.btn)').addClass('label').addClass('label-default');
|
||||
$(this).contents().find('[onclick*="view"] > a').addClass('btn').addClass('btn-xs').addClass('btn-success').addClass('btn-block');
|
||||
$(this).contents().find('[onclick*="edit"] > a').addClass('btn').addClass('btn-xs').addClass('btn-warning').addClass('btn-block');
|
||||
$(this).contents().find('[href^="javascript:toggleElement(\'upload\')"]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
|
||||
$(this).contents().find('img[src$="folder.png"]').replaceWith('<i class="fa fa-folder-open-o" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="txt.png"]').replaceWith('<i class="fa fa-pencil-square-o" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="mime.png"], img[src$="exec.png"]').replaceWith('<i class="fa fa-cog" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="bookmark.png"]').replaceWith('<i class="fa fa-bookmark" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="info.png"]').replaceWith('<i class="fa fa-info-circle" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="exit.png"]').replaceWith('<i class="fa fa-sign-out" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="view_tree.png"]').replaceWith('<i class="fa fa-list-alt" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="document.png"]').replaceWith('<i class="fa fa-file-text-o" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="terminal.png"]').replaceWith('<i class="fa fa-terminal" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="colors.png"]').replaceWith('<i class="fa fa-file-image-o" aria-hidden="true"></i>');
|
||||
//$(this).contents().find('img[src$="misc.png"]').replaceWith('<i class="fa fa-cog" aria-hidden="true"></i>');
|
||||
$(this).contents().find('img[src$="misc.png"]').remove();
|
||||
$(this).contents().find('img[src$="back.png"]').replaceWith('<i class="fa fa-arrow-circle-o-left" aria-hidden="true"></i>');
|
||||
|
||||
$(this).contents().find('[accesskey="h"]').addClass('btn').addClass('btn-warning');
|
||||
$(this).contents().find('[accesskey="i"]:not(input)').addClass('btn').addClass('btn-info');
|
||||
$(this).contents().find('[accesskey="l"]').addClass('btn').addClass('btn-danger');
|
||||
$(this).contents().find('[accesskey="b"]').addClass('btn').addClass('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,26 +0,0 @@
|
|||
.collapsible a.collapsed,
|
||||
.collapsible a.expanded
|
||||
{
|
||||
background: none;
|
||||
}
|
||||
|
||||
.collapsible a.collapsed:before,
|
||||
.collapsible a.expanded:before
|
||||
{
|
||||
display: inline-block !important;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
font-family: FontAwesome;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.collapsible a.collapsed:before {
|
||||
content: "\f196";
|
||||
}
|
||||
.collapsible a.expanded:before {
|
||||
content: "\f147";
|
||||
}
|
||||
|
||||
#servermonitor td {
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
$(window).load(function(){
|
||||
$('.tablesorter-hasChildRow td.collapsed').html('<i class="fa fa-plus-square-o" aria-hidden="true"></i>');
|
||||
$('.tablesorter-hasChildRow td.collapsed').click(function(){
|
||||
$(this).html('<i class="fa fa-minus-square-o" aria-hidden="true"></i>');
|
||||
});
|
||||
$('.tablesorter-hasChildRow td.expanded').click(function(){
|
||||
$(this).html('<i class="fa fa-plus-square-o" aria-hidden="true"></i>');
|
||||
});
|
||||
});
|
||||
|
|
@ -1,43 +0,0 @@
|
|||
html,
|
||||
body {
|
||||
background: transparent !important;
|
||||
color: #fff;
|
||||
}
|
||||
body,
|
||||
.title {
|
||||
display: none;
|
||||
}
|
||||
td {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#StatusbarForm {
|
||||
margin-top: 10px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
i.fa.fa-folder-open-o {
|
||||
color: #ffe699;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding: 0px !important;
|
||||
margin: 0px !important;
|
||||
border-bottom: none !important;
|
||||
font-size: 24px;
|
||||
}
|
||||
|
||||
.table:not(.inner-table) {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.alert {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.table-striped>tbody>tr:nth-of-type(odd) {
|
||||
background-color: rgba(26, 28, 34, 0.2) !important;
|
||||
}
|
||||
.table-striped>tbody>tr:nth-of-type(even) {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue