force sync from /var/www/html/panel: 2025-09-08T20:36:30Z
This commit is contained in:
commit
4f717c9ee8
18119 changed files with 2566034 additions and 0 deletions
3
ControlPanel/themes/MasterControlProgram/modules/TS3Admin/TS3Admin.css
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/TS3Admin/TS3Admin.css
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
td > a {
|
||||
float: right;
|
||||
}
|
||||
25
ControlPanel/themes/MasterControlProgram/modules/TS3Admin/TS3Admin.js
Executable file
25
ControlPanel/themes/MasterControlProgram/modules/TS3Admin/TS3Admin.js
Executable file
|
|
@ -0,0 +1,25 @@
|
|||
$(document).ready(function() {
|
||||
$('img[src$="edit.png"]').replaceWith('<i class="fa fa-pencil-square-o" aria-hidden="true"></i>');
|
||||
$('img[src$="refresh.png"]').replaceWith('<i class="fa fa-refresh" aria-hidden="true"></i>');
|
||||
|
||||
$('[name="stopvServer"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
$('.edit, .main [href^="home.php?m=TS3Admin"], .main [href*="home.php?m=TS3Admin&token"], .main [href="home.php?m=TS3Admin&liveview"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
|
||||
$('.propHeadline').parent('td').each(function(){
|
||||
$(this).replaceWith('<th colspan="'+$(this).attr('colspan')+'">'+$(this).html()+'</th>');
|
||||
});
|
||||
$('.table .table0').each(function(){
|
||||
$(this).replaceWith('<th>'+$(this).html()+'</th>');
|
||||
});
|
||||
|
||||
$('#serverview').css('padding','5px').wrap('<table class="table table-sm table-striped">');
|
||||
$('#serverstatus').parent('td').children('a').addClass('label').addClass('label-primary').addClass('label-size');
|
||||
|
||||
$('#clearLink').parent('div').each(function(){
|
||||
$(this).find('img').remove();
|
||||
$(this).html($(this).html().replace('|',''));
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/addonsmanager/addons.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/addonsmanager/addons.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function(){
|
||||
$('.main').addClass('main-content').parent().attr('id', 'content');
|
||||
});
|
||||
|
|
@ -0,0 +1,43 @@
|
|||
.main [href*="&addon_type="]
|
||||
{
|
||||
width: 150px;
|
||||
height: 90px;
|
||||
border-radius: 4px;
|
||||
margin: 2px;
|
||||
font-size: 12px;
|
||||
float: left;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.main [href*="&addon_type="] span {
|
||||
line-height: 14px;
|
||||
max-height: 28px;
|
||||
}
|
||||
.main [href*="&addon_type="]:hover
|
||||
{
|
||||
cursor: pointer !important;
|
||||
background-position: 0 -90px !important;
|
||||
}
|
||||
.main [href*="&addon_type="]:before
|
||||
{
|
||||
display: block;
|
||||
font-size: 40px;
|
||||
content: "\f192";
|
||||
}
|
||||
.main div.addons {
|
||||
padding: 8px;
|
||||
border: 1px solid #22252f;
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.main [href*="&addon_type=plugin"]:before {
|
||||
content: "\f12e";
|
||||
}
|
||||
.main [href*="&addon_type=config"]:before {
|
||||
content: "\f121";
|
||||
}
|
||||
.main [href*="&addon_type=mappack"]:before {
|
||||
content: "\f278";
|
||||
}
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function(){
|
||||
$('.main > table').before('<div class="addons"></div>');
|
||||
$('.main td').contents().appendTo('.addons');
|
||||
$('.main > table').remove();
|
||||
$('.main [href*="&addon_type="]').addClass('btn-primary').wrapInner('<span>');
|
||||
});
|
||||
26
ControlPanel/themes/MasterControlProgram/modules/administration/main.css
Executable file
26
ControlPanel/themes/MasterControlProgram/modules/administration/main.css
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
.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;
|
||||
}
|
||||
50
ControlPanel/themes/MasterControlProgram/modules/administration/main.js
Executable file
50
ControlPanel/themes/MasterControlProgram/modules/administration/main.js
Executable file
|
|
@ -0,0 +1,50 @@
|
|||
$(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>');
|
||||
});
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
$(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>');
|
||||
});
|
||||
49
ControlPanel/themes/MasterControlProgram/modules/circular/circular.css
Executable file
49
ControlPanel/themes/MasterControlProgram/modules/circular/circular.css
Executable file
|
|
@ -0,0 +1,49 @@
|
|||
.ql-editor,
|
||||
.ql-toolbar.ql-snow,
|
||||
.ql-snow .ql-picker,
|
||||
.ql-formats,
|
||||
.ql-picker-options {
|
||||
color: #fff !important;
|
||||
background-color: rgba(26, 28, 34, 0.4);
|
||||
}
|
||||
.ql-picker-options {
|
||||
background-color: rgba(26, 28, 34, 0.8) !important;
|
||||
}
|
||||
|
||||
.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label:hover,
|
||||
.ql-snow.ql-toolbar button:hover,
|
||||
.ql-snow .ql-toolbar button:hover {
|
||||
border: 1px solid rgba(255, 255, 255, 0.6) !important;
|
||||
}
|
||||
|
||||
.ql-snow .ql-stroke {
|
||||
stroke: rgba(255, 255, 255, 1) !important;
|
||||
}
|
||||
|
||||
.ql-snow.ql-toolbar button:hover,
|
||||
.ql-snow .ql-toolbar button:hover,
|
||||
.ql-snow.ql-toolbar button:focus,
|
||||
.ql-snow .ql-toolbar button:focus,
|
||||
.ql-snow.ql-toolbar button.ql-active,
|
||||
.ql-snow .ql-toolbar button.ql-active,
|
||||
.ql-snow.ql-toolbar .ql-picker-label:hover,
|
||||
.ql-snow .ql-toolbar .ql-picker-label:hover,
|
||||
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
|
||||
.ql-snow .ql-toolbar .ql-picker-label.ql-active,
|
||||
.ql-snow.ql-toolbar .ql-picker-item:hover,
|
||||
.ql-snow .ql-toolbar .ql-picker-item:hover,
|
||||
.ql-snow.ql-toolbar .ql-picker-item.ql-selected,
|
||||
.ql-snow .ql-toolbar .ql-picker-item.ql-selected {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.ql-editor h1,
|
||||
.ql-editor h2,
|
||||
.ql-editor h3 {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.ql-toolbar.ql-snow,
|
||||
.ql-container.ql-snow {
|
||||
border: 1px solid #22252f !important;
|
||||
}
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
$(document).ready(function() {
|
||||
$('[href$="&delete"]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
|
||||
if(window.location.href.indexOf("home.php?m=config_games&xml_config_creator=Create+XML+Configs") != -1 ){
|
||||
$('iframe').attr('id', 'xcc_iframe');
|
||||
$('iframe').load(function() {
|
||||
$(this).contents().find("body").addClass('xcc_iframe');
|
||||
var main_css = '<link rel="stylesheet" type="text/css" href="../../themes/MasterControlProgram/css/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">';
|
||||
var xml_css = '<link rel="stylesheet" type="text/css" href="../../themes/MasterControlProgram/modules/config_games/main.css">';
|
||||
$(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(xml_css);
|
||||
|
||||
$(this).contents().find("table").removeAttr("style").removeAttr("colspan").addClass('table').addClass('table-sm').addClass('table-striped');
|
||||
$(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');
|
||||
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
9
ControlPanel/themes/MasterControlProgram/modules/config_games/main.css
Executable file
9
ControlPanel/themes/MasterControlProgram/modules/config_games/main.css
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
html,
|
||||
body {
|
||||
background: transparent !important;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
td {
|
||||
font-size: 14px;
|
||||
}
|
||||
7
ControlPanel/themes/MasterControlProgram/modules/cron/cron.css
Executable file
7
ControlPanel/themes/MasterControlProgram/modules/cron/cron.css
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
td[style="width: 35px;"] {
|
||||
width: 70px !important;
|
||||
}
|
||||
.log td {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
8
ControlPanel/themes/MasterControlProgram/modules/cron/cron.js
Executable file
8
ControlPanel/themes/MasterControlProgram/modules/cron/cron.js
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=administration&p=main"], [href="javascript:history.go(-1)"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main > .log').wrap('<div class="table-responsive"/>');
|
||||
$('.main > table').wrap('<div class="table-responsive"/>');
|
||||
|
||||
$('.hundred td[colspan="6"]').attr('colspan',8);
|
||||
$('.hundred th:last-of-type').attr('colspan',2);
|
||||
});
|
||||
23
ControlPanel/themes/MasterControlProgram/modules/cron/user_cron.css
Executable file
23
ControlPanel/themes/MasterControlProgram/modules/cron/user_cron.css
Executable file
|
|
@ -0,0 +1,23 @@
|
|||
.log .table:first-of-type {
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
.log .table:first-of-type form {
|
||||
margin: 0px;
|
||||
}
|
||||
.log .table:first-of-type td {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
.log td {
|
||||
color: #fff !important;
|
||||
}
|
||||
.log b table {
|
||||
width: 100%;
|
||||
}
|
||||
.log b table td:not(:last-of-type){
|
||||
width: 60px !important;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input.form-control {
|
||||
width: 46px;
|
||||
}
|
||||
7
ControlPanel/themes/MasterControlProgram/modules/cron/user_cron.js
Executable file
7
ControlPanel/themes/MasterControlProgram/modules/cron/user_cron.js
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=administration&p=main"], [href="javascript:history.go(-1)"], .main [href="home.php?m=cron&p=cron"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('input[name="removeJob"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
$('.main > .log, .main > form, .main > table').wrap('<div class="table-responsive"/>');
|
||||
$('.main th:last-child').attr('colspan', 2);
|
||||
});
|
||||
247
ControlPanel/themes/MasterControlProgram/modules/dashboard/dashboard.css
Executable file
247
ControlPanel/themes/MasterControlProgram/modules/dashboard/dashboard.css
Executable file
|
|
@ -0,0 +1,247 @@
|
|||
b {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
.progress {
|
||||
background: none !important;
|
||||
height: auto !important;
|
||||
display: block;
|
||||
margin-bottom: 0px !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.progress-bar {
|
||||
width: 100% !important;
|
||||
background: none !important;
|
||||
-webkit-box-shadow: none !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
.progress-bar > canvas
|
||||
{
|
||||
height: 60px !important;
|
||||
width: 60px !important;
|
||||
}
|
||||
.load-container {
|
||||
margin-bottom: 5px;
|
||||
display: inline-block;
|
||||
margin: 0px 5px 5px;
|
||||
}
|
||||
#refreshed-0 > #column4:nth-child(2) .load-container {
|
||||
display: inline-block;
|
||||
width: 24%;
|
||||
}
|
||||
.load-container b {
|
||||
display: block;
|
||||
}
|
||||
|
||||
h0 {
|
||||
clear: both;
|
||||
display: inline-block;
|
||||
font-size: 1.5rem;
|
||||
background-color: rgba(25,151,198,0.5);
|
||||
padding: 10px;
|
||||
margin: 40px 0px 20px;
|
||||
width: 100%;
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
.one_fourth {
|
||||
width: 25%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.one_two {
|
||||
width: 50%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.one_fourth#column3 {
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
.main .column {
|
||||
padding-left: 0px !important;
|
||||
min-height: 150px;
|
||||
}
|
||||
|
||||
.column .placeholder {
|
||||
background-color: rgba(26, 28, 34, 0.4);
|
||||
border: 2px dotted rgba(26, 28, 34, 0.8);
|
||||
height: 100px !important;
|
||||
border-radius: 5px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.column .placeholder:after {
|
||||
content: "\f047";
|
||||
color: rgba(255, 255, 255, 0.3);
|
||||
text-transform: uppercase;
|
||||
display: block;
|
||||
text-align: center;
|
||||
line-height: 90px;
|
||||
font-family: "FontAwesome";
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 991px){
|
||||
#column4 {
|
||||
float: none !important;
|
||||
width: 100% !important;
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
.col-md-3,
|
||||
.col-md-6,
|
||||
.column.ui-sortable
|
||||
{
|
||||
padding-left: 0px !important;
|
||||
padding-right: 0px !important;
|
||||
}
|
||||
#refreshed-0 > #column4:first-of-type {
|
||||
margin-left: 0px !important;
|
||||
}
|
||||
}
|
||||
|
||||
.bloc {
|
||||
background-color: rgba(26, 28, 34, 0.3);
|
||||
border-radius: 4px;
|
||||
border: 1px solid rgba(35, 40, 46, 0.8);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
#column4 .bloc {
|
||||
min-height: 130px;
|
||||
}
|
||||
|
||||
@media only screen and (min-width: 992px){
|
||||
#column4 > .dragbox,
|
||||
#column4 > .bloc {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
}
|
||||
.dragbox {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.dragbox-content {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
[id^="refreshed-"] .dragbox-content {
|
||||
text-align: center;
|
||||
}
|
||||
[id^="refreshed-"] pre {
|
||||
text-align: left;
|
||||
}
|
||||
.dragbox h4 .configure {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
float: right;
|
||||
opacity: 0.8;
|
||||
}
|
||||
.dragbox h4 .configure:before {
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f063";
|
||||
}
|
||||
|
||||
.dragbox > .ui-sortable:hover,
|
||||
.dragbox > .ui-sortable-handle:hover
|
||||
{
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.online_servers {
|
||||
color: #1997c6;
|
||||
border-spacing: 0px 3px;
|
||||
border-collapse: separate;
|
||||
background: transparent;
|
||||
}
|
||||
.online_servers .name img {
|
||||
margin-right: 4px;
|
||||
}
|
||||
.online_servers td {
|
||||
border-radius: 4px;
|
||||
padding: 3px 10px !important;
|
||||
border-top: none !important;
|
||||
}
|
||||
.online_servers a
|
||||
{
|
||||
color: #fff;
|
||||
}
|
||||
.online_servers a:hover
|
||||
{
|
||||
color: rgba(255, 255, 255, 0.6);
|
||||
}
|
||||
.online_servers [id^=refreshed]
|
||||
{
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.online_servers [id^=refreshed] div
|
||||
{
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.online_servers div
|
||||
{
|
||||
display: inline-block;
|
||||
}
|
||||
.online_servers #gamelink
|
||||
{
|
||||
float: right;
|
||||
}
|
||||
|
||||
|
||||
/* *** SYSTEM UPTIME *** */
|
||||
#refreshed-0 > #column4:nth-child(1){
|
||||
}
|
||||
|
||||
/* *** CPU USAGE *** */
|
||||
#refreshed-0 > #column4:nth-child(2){
|
||||
}
|
||||
|
||||
/* *** RAM USAGE *** */
|
||||
#refreshed-0 > #column4:nth-child(3){
|
||||
}
|
||||
|
||||
/* *** STORAGE SPACE *** */
|
||||
#refreshed-0 > #column4:nth-child(4){
|
||||
}
|
||||
|
||||
#item5 img,
|
||||
#item1 img,
|
||||
#item4 img {
|
||||
display: none;
|
||||
}
|
||||
#item5 > div:before,
|
||||
#item1 > div:before,
|
||||
#item4 > div:before {
|
||||
display: inline-block;
|
||||
font-family: "FontAwesome";
|
||||
font-size: 36px;
|
||||
float: right;
|
||||
height: 36px;
|
||||
margin: 0px 0px 5px 5px;
|
||||
}
|
||||
#item5 > div:before {
|
||||
content: "\f29c";
|
||||
}
|
||||
#item1 > div:before {
|
||||
content: "\f108";
|
||||
}
|
||||
#item4 > div:before {
|
||||
content: "\f15c";
|
||||
}
|
||||
.online_servers img {
|
||||
display: none;
|
||||
}
|
||||
.online_servers .name a:before {
|
||||
display: inline-block !important;
|
||||
margin-right: 5px;
|
||||
font-size: 75%;
|
||||
content: "\f002";
|
||||
}
|
||||
.currently-online > tbody > tr:first-of-type > td {
|
||||
font-weight: 400 !important;
|
||||
text-transform: uppercase !important;
|
||||
background-color: rgba(26, 28, 34, 0.5);
|
||||
}
|
||||
.online_servers + .pagination {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
126
ControlPanel/themes/MasterControlProgram/modules/dashboard/dashboard.js
Executable file
126
ControlPanel/themes/MasterControlProgram/modules/dashboard/dashboard.js
Executable file
|
|
@ -0,0 +1,126 @@
|
|||
$(document).ready(function() {
|
||||
if($('h0').length>1){
|
||||
$('h0:first').css('margin-top', '5px').css('margin-bottom', '0px');
|
||||
}
|
||||
|
||||
$('.online_servers td').each(function(){
|
||||
$(this).addClass('btn-primary').html($(this).children());
|
||||
});
|
||||
|
||||
$('.one_fourth').addClass('col-xs-12').addClass('col-md-3');
|
||||
$('.one_two').addClass('col-xs-12').addClass('col-md-6');
|
||||
|
||||
$('.dragbox-content img').remove();
|
||||
$('.bloc > div > br').remove();
|
||||
|
||||
// Call Radial Indicator and Init Mod Function
|
||||
var url = "themes/MasterControlProgram/js/radialIndicator.js";
|
||||
$.getScript( url, function() {
|
||||
animateProgressBars();
|
||||
});
|
||||
|
||||
// Remove not wanted Tags in Containers every time when DOM is modified
|
||||
$('[id^=refreshed-]').bind("DOMSubtreeModified",function(){
|
||||
$('.currently-online').addClass('table').addClass('table-striped');
|
||||
$('.currently-online td').attr('style','');
|
||||
$('[id^=refreshed-] > br').remove();
|
||||
$('[id^=refreshed-] .load-container > br').remove();
|
||||
$('.dragbox-content .load-container > br').remove();
|
||||
$(".dragbox-content .load-container").each(function(){
|
||||
if($(this).find('.progress-wrap').length < 1){
|
||||
$(this).find('.progress').wrapAll('<div class="progress-wrap"></div>');
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
// Dashboard Row Config
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "themes/MasterControlProgram/conf/sbs.conf",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
beforeSend: function( xhr ) {
|
||||
xhr.overrideMimeType('application/json');
|
||||
},
|
||||
success: function(json) {
|
||||
if(json['dashboard_rows']=="full_rows"){
|
||||
$('.main .column').removeClassStartingWith('col-md').css("padding-right", "0px");
|
||||
}
|
||||
if(json['dashboard_rows']=="remove_one"){
|
||||
$('.main .column').removeClassStartingWith('col-md').addClass('col-md-6');
|
||||
$('.main #column3').css("padding-right", "0px");
|
||||
$('.main #column1').css("display", "none");
|
||||
}
|
||||
if(json['dashboard_rows']=="remove_one_two"){
|
||||
$('.main .column').removeClassStartingWith('col-md');
|
||||
$('.main #column3').css("padding-right", "0px");
|
||||
$('.main #column1, .main #column2').css("display", "none");
|
||||
}
|
||||
if(json['dashboard_rows']=="remove_one_three"){
|
||||
$('.main .column').removeClassStartingWith('col-md');
|
||||
$('.main #column2').css("padding-right", "0px");
|
||||
$('.main #column1, .main #column3').css("display", "none");
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
function animateProgressBars(){
|
||||
// Init Radial Indicator for each Progress Bar
|
||||
$(".progress").addClass('inline-block');
|
||||
$(".progress-bar").each(function() {
|
||||
if($(this).children().length < 1){
|
||||
var value = $(this).attr("data");
|
||||
$(this).radialIndicator({
|
||||
barColor: '#1997c6',
|
||||
percentage: true,
|
||||
roundCorner: true,
|
||||
initValue: value
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
// Replace all <b> Tags with a Container in Server Status Section
|
||||
$('.progress').each(function(){
|
||||
var dragbox = $(this).parents('.dragbox-content').first();
|
||||
$(dragbox).children('b').each(function() {
|
||||
$('<cutter></cutter>').insertBefore(this);
|
||||
});
|
||||
$(dragbox).find('cutter').each(function() {
|
||||
var $set = $();
|
||||
var nxt = this.nextSibling;
|
||||
while (nxt) {
|
||||
if (!$(nxt).is('cutter')) {
|
||||
$set.push(nxt);
|
||||
nxt = nxt.nextSibling;
|
||||
} else break;
|
||||
}
|
||||
$set.wrapAll('<div class="load-container"/>');
|
||||
});
|
||||
$(dragbox).find('cutter').remove();
|
||||
});
|
||||
|
||||
/* *** Only Storage *** */
|
||||
$('#column4:nth-child(4) > .dragbox > .load-container').addClass('storage');
|
||||
$('.storage br:first-of-type').replaceWith(' / ');
|
||||
|
||||
/* *** Only CPU Cutting *** */
|
||||
$('#column4:nth-child(2) > .dragbox > .load-container').addClass('cpu_load');
|
||||
$('.cpu_load br').remove();
|
||||
$('.cpu_load').each(function() {
|
||||
var this_b = $(this).children('b');
|
||||
if($(this_b).text().indexOf(':') >= 0){
|
||||
$(this_b).text($(this_b).html().split(':')[0]);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
$.fn.removeClassStartingWith = function (filter) {
|
||||
$(this).removeClass(function (index, className) {
|
||||
return (className.match(new RegExp("\\S*" + filter + "\\S*", 'g')) || []).join(' ')
|
||||
});
|
||||
return this;
|
||||
};
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/dsi/list_dsi.css
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/dsi/list_dsi.css
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
td {
|
||||
padding: 5px !important;
|
||||
}
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function(){
|
||||
$('.main [href^="?m=gamemanager&p=game_monitor"], .main [href^="?m=editconfigfiles"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function(){
|
||||
$('.main [href^="?m=editconfigfiles"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
});
|
||||
|
||||
60
ControlPanel/themes/MasterControlProgram/modules/extras/extras.css
Executable file
60
ControlPanel/themes/MasterControlProgram/modules/extras/extras.css
Executable file
|
|
@ -0,0 +1,60 @@
|
|||
.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;
|
||||
}
|
||||
58
ControlPanel/themes/MasterControlProgram/modules/extras/extras.js
Executable file
58
ControlPanel/themes/MasterControlProgram/modules/extras/extras.js
Executable file
|
|
@ -0,0 +1,58 @@
|
|||
$(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>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
72
ControlPanel/themes/MasterControlProgram/modules/faq/faq.css
Executable file
72
ControlPanel/themes/MasterControlProgram/modules/faq/faq.css
Executable file
|
|
@ -0,0 +1,72 @@
|
|||
.main .footer {
|
||||
font-size: 80%;
|
||||
margin-top: 50px;
|
||||
}
|
||||
|
||||
.main > .footer > div:nth-child(1) {
|
||||
display: inline-block !important;
|
||||
}
|
||||
|
||||
.main > .footer > .credits {
|
||||
display: inline-block !important;
|
||||
margin-left: 20px;
|
||||
}
|
||||
|
||||
.main .maincategory,
|
||||
.main .category
|
||||
{
|
||||
text-transform: uppercase;
|
||||
padding-bottom: 10px;
|
||||
font-size: 24px;
|
||||
font-weight: 300;
|
||||
margin-top: 20px;
|
||||
}
|
||||
.main .maincategory > img,
|
||||
.main .category >img {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
|
||||
li.faqblock {
|
||||
list-style: none;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.accordion-toggle,
|
||||
.accordion-content
|
||||
{
|
||||
background-color: rgba(26, 28, 34, 0.4);
|
||||
padding: 2px 5px;
|
||||
border: 1px solid rgba(35, 40, 46, 0.8);
|
||||
border-bottom: 0px;
|
||||
}
|
||||
.accordion-content {
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
border-bottom: 1px solid rgba(35, 40, 46, 0.8);
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.accordion-toggle:hover {
|
||||
cursor: pointer;
|
||||
padding-left: 7px;
|
||||
}
|
||||
|
||||
.syntaxhighlighter {
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.search {
|
||||
width: calc(100% - 60px) !important;
|
||||
display: inline-block !important;
|
||||
}
|
||||
#count {
|
||||
font-size: 80%;
|
||||
display: inline-block;
|
||||
width: 45px;
|
||||
text-align: right;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.label {
|
||||
font-size: 95% !important;
|
||||
text-shadow: 1px 1px 1px rgba(150, 150, 150, 1);
|
||||
}
|
||||
6
ControlPanel/themes/MasterControlProgram/modules/faq/faq.js
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/faq/faq.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('li.faqblock > a').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.accordion-content').each(function(){
|
||||
$(this).css('display','none');
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=fast_download"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('input[name="delete"], input[name="stop_fastdl"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
|
||||
var form_selector = $('.main > form:nth-child(5)');
|
||||
$(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" />');
|
||||
|
||||
|
||||
});
|
||||
11
ControlPanel/themes/MasterControlProgram/modules/fast_download/fd_user.css
Executable file
11
ControlPanel/themes/MasterControlProgram/modules/fast_download/fd_user.css
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
form > b
|
||||
{
|
||||
padding: 2px 10px !important;
|
||||
margin-bottom: 5px;
|
||||
display: inline-block;
|
||||
background-color: rgba(67, 72, 87, 0.5) !important;
|
||||
color: #fff !important;
|
||||
border-radius: 3px;
|
||||
border: none !important;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('b').removeAttr('style');
|
||||
$('input[name="delete"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
});
|
||||
54
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp.css
Executable file
54
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp.css
Executable file
|
|
@ -0,0 +1,54 @@
|
|||
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;
|
||||
}
|
||||
62
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp.js
Executable file
62
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp.js
Executable file
|
|
@ -0,0 +1,62 @@
|
|||
$(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');
|
||||
});
|
||||
}
|
||||
});
|
||||
26
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp_admin.css
Executable file
26
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp_admin.css
Executable file
|
|
@ -0,0 +1,26 @@
|
|||
.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;
|
||||
}
|
||||
9
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp_admin.js
Executable file
9
ControlPanel/themes/MasterControlProgram/modules/ftp/ftp_admin.js
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
$(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>');
|
||||
});
|
||||
});
|
||||
43
ControlPanel/themes/MasterControlProgram/modules/ftp/main.css
Executable file
43
ControlPanel/themes/MasterControlProgram/modules/ftp/main.css
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
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;
|
||||
}
|
||||
256
ControlPanel/themes/MasterControlProgram/modules/gamemanager/game_monitor.css
Executable file
256
ControlPanel/themes/MasterControlProgram/modules/gamemanager/game_monitor.css
Executable file
|
|
@ -0,0 +1,256 @@
|
|||
.monitorbutton,
|
||||
#server_icon
|
||||
{
|
||||
width: 150px;
|
||||
border-radius: 4px;
|
||||
margin: 2px;
|
||||
font-size: 12px;
|
||||
float: left;
|
||||
}
|
||||
.expand-child #server_icon {
|
||||
width: auto;
|
||||
}
|
||||
.monitorbutton
|
||||
{
|
||||
height: 90px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
.monitorbutton:last-of-type {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.monitorbutton span {
|
||||
line-height: 14px;
|
||||
max-height: 28px;
|
||||
}
|
||||
.monitorbutton.size {
|
||||
font-size: 12px !important;
|
||||
}
|
||||
.monitorbutton:hover,
|
||||
#server_icon:hover
|
||||
{
|
||||
cursor: pointer !important;
|
||||
}
|
||||
.monitorbutton:hover {
|
||||
background-position: 0 -90px !important;
|
||||
}
|
||||
.monitorbutton img {
|
||||
display: none;
|
||||
}
|
||||
.monitorButtonContainer form {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
#server_icon {
|
||||
line-height: 0.5 !important;
|
||||
padding: 0px 5px;
|
||||
}
|
||||
#server_icon div {
|
||||
display: inline-block;
|
||||
}
|
||||
#server_icon input {
|
||||
vertical-align: middle;
|
||||
margin-top: 0px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
#server_icon img {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
.srvctrl td {
|
||||
padding: 5px 0px;
|
||||
}
|
||||
.srvctrl a:before {
|
||||
display: block;
|
||||
font-size: 64px;
|
||||
margin-bottom: -10px;
|
||||
margin-top: -10px;
|
||||
}
|
||||
.srvctrl b {
|
||||
font-weight: normal !important;
|
||||
}
|
||||
#servermonitor .monitor-1 {
|
||||
float: left;
|
||||
width: calc(100% - 230px);
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
#servermonitor .monitor-1 > div {
|
||||
float: left;
|
||||
}
|
||||
#servermonitor .server-info {
|
||||
width: calc(100% - 180px);
|
||||
}
|
||||
#servermonitor .map-icon {
|
||||
margin-right: 10px;
|
||||
}
|
||||
#servermonitor .monitor-2 {
|
||||
float: right;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl {
|
||||
width: auto;
|
||||
border-radius: 5px;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td:first-of-type {
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td:last-of-type {
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
#servermonitor .monitor-3 {
|
||||
clear: both;
|
||||
}
|
||||
#servermonitor .monitor-3 table {
|
||||
width: 100%;
|
||||
}
|
||||
#servermonitor .monitor-3 > div {
|
||||
padding: 10px 0px;
|
||||
background-color: rgba(26, 28, 34, 0.3) !important;
|
||||
border: 1px solid rgba(40, 42, 49, 1) !important;
|
||||
}
|
||||
.mapicon {
|
||||
border-radius: 4px;
|
||||
margin-bottom: 5px;
|
||||
padding: 0px;
|
||||
border: 1px solid #22252f;
|
||||
}
|
||||
.owner .form-control {
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
#servermonitor .monitor-2 .srvctrl img,
|
||||
#servermonitor .monitor-2 .srvctrl br {
|
||||
display: none;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl a {
|
||||
display: inline-block;
|
||||
color: #fff;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td {
|
||||
width: 100px;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td:first-of-type a:before {
|
||||
content: "\f144";
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td:last-of-type a:before {
|
||||
content: "\f28d";
|
||||
}
|
||||
|
||||
#servermonitor .monitor-2 .srvctrl td:first-of-type a:hover:before {
|
||||
color: #5cb85c;
|
||||
// color: #3e8f3e;
|
||||
}
|
||||
#servermonitor .monitor-2 .srvctrl td:last-of-type a:hover:before {
|
||||
color: #d9534f;
|
||||
// color: #b92c28;
|
||||
}
|
||||
|
||||
.ts3_viewer b {
|
||||
font-weight: normal;
|
||||
}
|
||||
.ts3_viewer {
|
||||
border: 0px !important;
|
||||
background: transparent;
|
||||
margin: 0px 10px;
|
||||
width: auto !important;
|
||||
}
|
||||
|
||||
tr.maintr td:last-child {
|
||||
padding: 3px 8px 3px;
|
||||
}
|
||||
@media screen and (min-width: 767px){
|
||||
tr.maintr td:last-child {
|
||||
width: 330px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 766px){
|
||||
.table-responsive>.table {
|
||||
max-width: 800px;
|
||||
}
|
||||
}
|
||||
|
||||
#server_icon[class^="action-start"] {
|
||||
background-image: -webkit-linear-gradient(top, #5cb85c 0, #419641 100%);
|
||||
background-image: -o-linear-gradient(top, #5cb85c 0, #419641 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #5cb85c), to(#419641));
|
||||
background-image: linear-gradient(to bottom, #5cb85c 0, #419641 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5cb85c', endColorstr='#ff419641', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #3e8f3e;
|
||||
}
|
||||
#server_icon[class^="action-start"]:hover {
|
||||
background-color: #419641;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
.header > #action-start {
|
||||
color: #5cb85c;
|
||||
}
|
||||
.header > #action-stop {
|
||||
color: #d9534f;
|
||||
}
|
||||
.header > #action-restart {
|
||||
color: #f0ad4e;
|
||||
}
|
||||
.header > .fa:hover {
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
#server_icon[class^="action-stop"] {
|
||||
background-image: -webkit-linear-gradient(top, #d9534f 0, #c12e2a 100%);
|
||||
background-image: -o-linear-gradient(top, #d9534f 0, #c12e2a 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #d9534f), to(#c12e2a));
|
||||
background-image: linear-gradient(to bottom, #d9534f 0, #c12e2a 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9534f', endColorstr='#ffc12e2a', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #b92c28;
|
||||
}
|
||||
#server_icon[class^="action-stop"]:hover {
|
||||
background-color: #c12e2a;
|
||||
}
|
||||
|
||||
#server_icon[class^="action-restart"] {
|
||||
background-image: -webkit-linear-gradient(top, #f0ad4e 0, #eb9316 100%);
|
||||
background-image: -o-linear-gradient(top, #f0ad4e 0, #eb9316 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #f0ad4e), to(#eb9316));
|
||||
background-image: linear-gradient(to bottom, #f0ad4e 0, #eb9316 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0ad4e', endColorstr='#ffeb9316', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #e38d13;
|
||||
}
|
||||
#server_icon[class^="action-restart"]:hover {
|
||||
background-color: #eb9316;
|
||||
background-position: 0 -15px;
|
||||
}
|
||||
|
||||
.main select.form-control {
|
||||
width: auto;
|
||||
display: inline;
|
||||
}
|
||||
.table-responsive {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
@media (max-width: 992px) {
|
||||
#servermonitor .monitor-1,
|
||||
#servermonitor .monitor-1 > div,
|
||||
#servermonitor .monitor-2
|
||||
{
|
||||
float: none !important;
|
||||
}
|
||||
#servermonitor td:nth-child(4) b {
|
||||
word-break: break-all;
|
||||
}
|
||||
}
|
||||
.ts3_viewer img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin-left: 2px;
|
||||
}
|
||||
81
ControlPanel/themes/MasterControlProgram/modules/gamemanager/game_monitor.js
Executable file
81
ControlPanel/themes/MasterControlProgram/modules/gamemanager/game_monitor.js
Executable file
File diff suppressed because one or more lines are too long
6
ControlPanel/themes/MasterControlProgram/modules/gamemanager/log.css
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/gamemanager/log.css
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
td {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
.form-group {
|
||||
margin-bottom: 0px !important;
|
||||
}
|
||||
4
ControlPanel/themes/MasterControlProgram/modules/gamemanager/log.js
Executable file
4
ControlPanel/themes/MasterControlProgram/modules/gamemanager/log.js
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=gamemanager&p=game_monitor&home_id-mod_id-ip-port="]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
|
||||
});
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('[name="del_rcon_preset"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
});
|
||||
10
ControlPanel/themes/MasterControlProgram/modules/lgsl_with_img_mod/lgsl.js
Executable file
10
ControlPanel/themes/MasterControlProgram/modules/lgsl_with_img_mod/lgsl.js
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="http://www.greycube.com"], .main [href="http://cgx24.com/"]').attr('target', '_blank').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main br').remove();
|
||||
$('.main [href="?m=lgsl_with_img_mod&p=lgsl"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
|
||||
$('img[src$="icon_details.gif"]').replaceWith('<i class="fa fa-search" aria-hidden="true"></i>');
|
||||
$('.main [href^="?m=lgsl_with_img_mod&p=lgsl&s="]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
|
||||
$('.main [title="GAME LINK"] > a').addClass('label').addClass('label-primary').addClass('label-size');
|
||||
});
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="http://www.greycube.com/help/readme/lgsl/"]').attr('target', '_blank').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main [href^="?m=lgsl_with_img_mod&p=lgsl&s="]').addClass('btn').addClass('btn-xs').addClass('btn-warning');
|
||||
|
||||
var first_table = $('.main > form > div > table:nth-child(1)');
|
||||
$(first_table).prepend('<thead>').find('tr:first-of-type').appendTo($(first_table).find('thead'));
|
||||
$(first_table).find('thead td').each(function(){
|
||||
$(this).html($(this).html().replace('[ ','').replace(' ]','')).replaceWith('<th>'+$(this).html()+'</th>');
|
||||
});
|
||||
});
|
||||
|
||||
7
ControlPanel/themes/MasterControlProgram/modules/litefm/home_id.css
Executable file
7
ControlPanel/themes/MasterControlProgram/modules/litefm/home_id.css
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
a:before {
|
||||
display: none;
|
||||
}
|
||||
.form-group {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
101
ControlPanel/themes/MasterControlProgram/modules/litefm/litefm.css
Executable file
101
ControlPanel/themes/MasterControlProgram/modules/litefm/litefm.css
Executable file
|
|
@ -0,0 +1,101 @@
|
|||
.viewitem {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
.file-operations {
|
||||
display: inline-block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.operations-button
|
||||
{
|
||||
display: inline-block;
|
||||
margin-right: 5px;
|
||||
}
|
||||
.operations-button:before {
|
||||
font-family: FontAwesome;
|
||||
display: inline-block;
|
||||
margin-right: 2px;
|
||||
}
|
||||
.operations-button img {
|
||||
display: none;
|
||||
}
|
||||
.operations-button div {
|
||||
display: inline-block;
|
||||
}
|
||||
a[href^="?m=litefm&home_id="] {
|
||||
margin-right: 5px;
|
||||
}
|
||||
i.fa.fa-folder-open-o {
|
||||
color: #ffe699;
|
||||
}
|
||||
#remove:before {
|
||||
content: "\f1f8";
|
||||
}
|
||||
#rename:before {
|
||||
content: "\f044";
|
||||
}
|
||||
#move:before {
|
||||
content: "\f047";
|
||||
}
|
||||
#copy:before {
|
||||
content: "\f24d";
|
||||
}
|
||||
#compress:before {
|
||||
content: "\f1c6";
|
||||
}
|
||||
#uncompress:before {
|
||||
content: "\f1c6";
|
||||
}
|
||||
#create_file:before {
|
||||
content: "\f044";
|
||||
}
|
||||
#create_folder:before {
|
||||
content: "\f114";
|
||||
}
|
||||
#upload:not(form):before {
|
||||
content: "\f093";
|
||||
}
|
||||
|
||||
|
||||
.progress {
|
||||
height: auto !important;
|
||||
}
|
||||
#upload [name="upload"] {
|
||||
padding: 5px 10px;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
border: 1px solid transparent;
|
||||
background-image: -webkit-linear-gradient(top, #1997c6 0, #126e90 100%);
|
||||
background-image: -o-linear-gradient(top, #1997c6 0, #126e90 100%);
|
||||
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #1997c6), to(#126e90));
|
||||
background-image: linear-gradient(to bottom, #1997c6 0, #126e90 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1997c6', endColorstr='#ff126e90', GradientType=0);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
|
||||
background-repeat: repeat-x;
|
||||
border-color: #116787;
|
||||
margin-top: 10px;
|
||||
}
|
||||
.ui-dialog-titlebar-close {
|
||||
border-radius: 3px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
[id^="fileid"] {
|
||||
position: relative;
|
||||
}
|
||||
[id^="progress"] {
|
||||
height: 5px !important;
|
||||
border: none !important;
|
||||
border-radius: 2px;
|
||||
width: 96% !important;
|
||||
}
|
||||
[id^="progress"] > div {
|
||||
background: #1997c6 !important;
|
||||
height: 5px !important;
|
||||
border-radius: 2px !important;
|
||||
-webkit-transition: width 0.2s ease-in-out;
|
||||
-moz-transition: width 0.2s ease-in-out;
|
||||
-o-transition: width 0.2s ease-in-out;
|
||||
transition: width 0.2s ease-in-out;
|
||||
}
|
||||
21
ControlPanel/themes/MasterControlProgram/modules/litefm/litefm.js
Executable file
21
ControlPanel/themes/MasterControlProgram/modules/litefm/litefm.js
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
$(document).ready(function() {
|
||||
$('.operations-button').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
$('.main [href^="?m=gamemanager&p=game_monitor&home_id="]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
$('img[src="images/folder.png"]').replaceWith('<i class="fa fa-folder-open-o" aria-hidden="true"></i>');
|
||||
$('img[src="images/txt.png"]').replaceWith('<i class="fa fa-pencil-square-o" aria-hidden="true"></i>');
|
||||
$('img[src="images/exec.png"]').replaceWith('<i class="fa fa-cog" aria-hidden="true"></i>');
|
||||
|
||||
$('.unlocked').children('span').addClass('btn').addClass('btn-xs').addClass('btn-danger').css('min-width','80px');
|
||||
$('.locked').children('span').addClass('btn').addClass('btn-xs').addClass('btn-success').css('min-width','80px');
|
||||
|
||||
$('[href*="&item="], [href^="javascript:downloadFile"]').addClass('label').addClass('label-default');
|
||||
$('[href$="&p=read_file"]').removeClass('label').removeClass('label-default').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
|
||||
/* *** Long Name Fix *** */
|
||||
$('td > h3').each(function(){
|
||||
$(this).parent('td').attr('style', 'max-width:400px');
|
||||
$(this).attr('title', $(this).text()).attr('style', 'overflow:hidden;text-overflow:ellipsis;display:inline-block;white-space:nowrap;max-width:100%;');
|
||||
});
|
||||
});
|
||||
|
||||
4
ControlPanel/themes/MasterControlProgram/modules/mysql/edit.js
Executable file
4
ControlPanel/themes/MasterControlProgram/modules/mysql/edit.js
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=mysql&p=mysql_admin"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
|
||||
});
|
||||
9
ControlPanel/themes/MasterControlProgram/modules/mysql/mysql_admin.js
Executable file
9
ControlPanel/themes/MasterControlProgram/modules/mysql/mysql_admin.js
Executable file
|
|
@ -0,0 +1,9 @@
|
|||
$(document).ready(function() {
|
||||
$('#servermonitor [href$="&delete"], #servermonitor [href$="&remove_db').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
$('#servermonitor [href$="&edit"], #servermonitor [href$="&assign"], #servermonitor [href$="&edit_db_settings"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
|
||||
$('#servermonitor .success').addClass('label').addClass('label-success').removeClass('success');
|
||||
$('#servermonitor .failure').addClass('label').addClass('label-danger').removeClass('failure');
|
||||
|
||||
});
|
||||
|
||||
524
ControlPanel/themes/MasterControlProgram/modules/news/admin_news.css
Executable file
524
ControlPanel/themes/MasterControlProgram/modules/news/admin_news.css
Executable file
|
|
@ -0,0 +1,524 @@
|
|||
.pull-right {
|
||||
float: right!important
|
||||
}
|
||||
.pull-left {
|
||||
float: left!important
|
||||
}
|
||||
.no-float {
|
||||
float: none!important
|
||||
}
|
||||
.adm_btn {
|
||||
display: inline-block;
|
||||
width: 220px;
|
||||
height: 60px;
|
||||
line-height: 60px;
|
||||
text-decoration: none !important;
|
||||
background: #fff;
|
||||
border-radius: 4px;
|
||||
margin: 5px;
|
||||
border-bottom: 6px solid;
|
||||
font-family: arial;
|
||||
}
|
||||
.adm_btn > img {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
height: 24px;
|
||||
margin: 17px 15px 0px 10px;
|
||||
}
|
||||
.adm_btn.add {
|
||||
border-color: #27c24c;
|
||||
}
|
||||
.adm_btn.add:hover {
|
||||
background-color: #27c24c;
|
||||
color: #000 !important;
|
||||
}
|
||||
.adm_btn.opt {
|
||||
border-color: #ff902b;
|
||||
}
|
||||
.adm_btn.opt:hover {
|
||||
background-color: #ff902b;
|
||||
color: #000 !important;
|
||||
}
|
||||
.adm_btn.perm {
|
||||
border-color: #f05050;
|
||||
}
|
||||
.adm_btn.perm:hover {
|
||||
background-color: #f05050;
|
||||
color: #000 !important;
|
||||
}
|
||||
.news-btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 6px 16px;
|
||||
font-size: 14px;
|
||||
line-height: 1.52857143;
|
||||
border-radius: 4px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none
|
||||
}
|
||||
.news-btn.active.focus,
|
||||
.news-btn.active:focus,
|
||||
.news-btn.focus,
|
||||
.news-btn:active.focus,
|
||||
.news-btn:active:focus,
|
||||
.news-btn:focus {
|
||||
outline: dotted thin;
|
||||
outline: -webkit-focus-ring-color auto 5px;
|
||||
outline-offset: -2px
|
||||
}
|
||||
.news-btn.focus,
|
||||
.news-btn:focus,
|
||||
.news-btn:hover {
|
||||
text-decoration: none
|
||||
}
|
||||
.news-btn.active,
|
||||
.news-btn:active {
|
||||
outline: 0;
|
||||
background-image: none;
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
|
||||
}
|
||||
.news-btn-default {
|
||||
background-color: #fff;
|
||||
border-color: #ccc
|
||||
}
|
||||
.news-btn-default.active,
|
||||
.news-btn-default.active.focus,
|
||||
.news-btn-default.active:focus,
|
||||
.news-btn-default.active:hover,
|
||||
.news-btn-default.focus,
|
||||
.news-btn-default:active,
|
||||
.news-btn-default:active.focus,
|
||||
.news-btn-default:active:focus,
|
||||
.news-btn-default:active:hover,
|
||||
.news-btn-default:focus,
|
||||
.news-btn-default:hover,
|
||||
.open>.dropdown-toggle.news-btn-default,
|
||||
.open>.dropdown-toggle.news-btn-default.focus,
|
||||
.open>.dropdown-toggle.news-btn-default:focus,
|
||||
.open>.dropdown-toggle.news-btn-default:hover {
|
||||
background-color: #f5f5f5;
|
||||
border-color: #eaeaea
|
||||
}
|
||||
.news-btn-block {
|
||||
display: block;
|
||||
width: 100%
|
||||
}
|
||||
.news-btn-block+.news-btn-block {
|
||||
margin-top: 5px
|
||||
}
|
||||
.goback {
|
||||
min-height: 35px;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.img-responsive,
|
||||
.thumbnail a>img,
|
||||
.thumbnail>img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.news-row {
|
||||
width: 100%
|
||||
}
|
||||
.eight-tenth {
|
||||
width: 83%;
|
||||
}
|
||||
.one-quarter {
|
||||
width: 25%;
|
||||
margin-left:10px;
|
||||
}
|
||||
.one-sixth {
|
||||
width: 16%;
|
||||
}
|
||||
.clearfix:after,
|
||||
.clearfix:before,
|
||||
.news-row:after,
|
||||
.news-row:before {
|
||||
content: " ";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.panel-body:after,
|
||||
.news-row:after {
|
||||
clear: both
|
||||
}
|
||||
.drag_img {
|
||||
float:left;
|
||||
height:140px;
|
||||
margin:10px;
|
||||
background:rgba(26, 28, 34, 0.2);
|
||||
border:1px solid #22252f;
|
||||
border-radius:4px;
|
||||
padding: 5px;
|
||||
}
|
||||
.drag_img > br {
|
||||
display: none;
|
||||
}
|
||||
.drag_img > .btn {
|
||||
position: absolute;
|
||||
right: 10px;
|
||||
top: 10px;
|
||||
}
|
||||
.no-margin {
|
||||
margin:0;
|
||||
}
|
||||
.fixed-height{
|
||||
min-height: 85px;
|
||||
}
|
||||
.db-wrap {
|
||||
background:#ffffff;
|
||||
border-radius: 4px;
|
||||
border:1px solid #e4eaec;
|
||||
min-height:35px;
|
||||
padding: 15px;
|
||||
padding-top:18px;
|
||||
margin-bottom:15px;
|
||||
position:relative;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
.table-wrap {
|
||||
background:#fefefe;
|
||||
position:relative;
|
||||
padding-top:5px;
|
||||
padding-left:15px;
|
||||
padding-right:15px;
|
||||
border-color:#e5e5e5 #eee #eee;
|
||||
border-style:solid;
|
||||
border-width:1px 0;
|
||||
-webkit-box-shadow:inset 0 3px 6px rgba(0,0,0,.05);
|
||||
box-shadow:inset 0 3px 6px rgba(0,0,0,.05);
|
||||
border-radius:5px;
|
||||
}
|
||||
.table-wrap:after {
|
||||
position:absolute;
|
||||
top:15px;left:15px;
|
||||
font-size:12px;
|
||||
font-weight:700;
|
||||
color:#959595;
|
||||
text-transform:uppercase;
|
||||
letter-spacing:1px;
|
||||
}
|
||||
.table-responsive {
|
||||
overflow-x: auto;
|
||||
min-height: .01%
|
||||
}
|
||||
.table-hover>tbody>tr:hover,
|
||||
.table-striped>tbody>tr:nth-of-type(odd) {
|
||||
background-color: #fafbfc
|
||||
}
|
||||
table {
|
||||
background-color: transparent
|
||||
}
|
||||
caption {
|
||||
padding-top: 8px;
|
||||
padding-bottom: 8px;
|
||||
color: #909fa7;
|
||||
text-align: left
|
||||
}
|
||||
th {
|
||||
text-align: left
|
||||
}
|
||||
.table {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
margin-bottom: 21px
|
||||
}
|
||||
.table>tbody>tr>td,
|
||||
.table>tbody>tr>th,
|
||||
.table>tfoot>tr>td,
|
||||
.table>tfoot>tr>th,
|
||||
.table>thead>tr>td,
|
||||
.table>thead>tr>th {
|
||||
padding: 8px;
|
||||
line-height: 1.52857143;
|
||||
vertical-align: middle !important;
|
||||
border-top: 1px solid #eee
|
||||
text-align: center;
|
||||
}
|
||||
.table>thead>tr>th {
|
||||
vertical-align: bottom;
|
||||
border-bottom: 2px solid #eee
|
||||
}
|
||||
.table>caption+thead>tr:first-child>td,
|
||||
.table>caption+thead>tr:first-child>th,
|
||||
.table>colgroup+thead>tr:first-child>td,
|
||||
.table>colgroup+thead>tr:first-child>th,
|
||||
.table>thead:first-child>tr:first-child>td,
|
||||
.table>thead:first-child>tr:first-child>th {
|
||||
border-top: 0
|
||||
}
|
||||
.table>tbody+tbody {
|
||||
border-top: 2px solid #eee
|
||||
}
|
||||
.table .table {
|
||||
background-color: #f5f7fa
|
||||
}
|
||||
.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
|
||||
padding: 8px;
|
||||
line-height: 1.52857143;
|
||||
vertical-align: top;
|
||||
border-top: 1px solid #eee;
|
||||
text-align: center; /* center horizontally */
|
||||
vertical-align: middle; /* center vertically */
|
||||
}
|
||||
.table>tbody>tr.active>td,
|
||||
.table>tbody>tr.active>th,
|
||||
.table>tbody>tr>td.active,
|
||||
.table>tbody>tr>th.active,
|
||||
.table>tfoot>tr.active>td,
|
||||
.table>tfoot>tr.active>th,
|
||||
.table>tfoot>tr>td.active,
|
||||
.table>tfoot>tr>th.active,
|
||||
.table>thead>tr.active>td,
|
||||
.table>thead>tr.active>th,
|
||||
.table>thead>tr>td.active,
|
||||
.table>thead>tr>th.active {
|
||||
background-color: #fafbfc
|
||||
}
|
||||
td, th {
|
||||
padding: 0;
|
||||
}
|
||||
img {
|
||||
vertical-align: middle;
|
||||
}
|
||||
.ajax-upload-dragdrop {
|
||||
border: 2px dotted #A5A5C7;
|
||||
width: 75%;
|
||||
text-align: left;
|
||||
vertical-align: middle;
|
||||
padding: 10px 10px 10px 10px;
|
||||
}
|
||||
.ajax-file-upload-statusbar {
|
||||
|
||||
margin-top: 10px;
|
||||
width: 420px;
|
||||
margin-right: 10px;
|
||||
margin: 5px;
|
||||
-moz-border-radius: 4px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
padding: 5px 5px 5px 5px
|
||||
}
|
||||
.ajax-file-upload-filename {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 5px 5px 10px;
|
||||
color: #807579
|
||||
}
|
||||
.ajax-file-upload-progress {
|
||||
margin: 0 10px 5px 10px;
|
||||
position: relative;
|
||||
width: 250px;
|
||||
border: 1px solid #ddd;
|
||||
padding: 1px;
|
||||
border-radius: 3px;
|
||||
display: inline-block
|
||||
}
|
||||
.ajax-file-upload-bar {
|
||||
background-color: #2e80c2;
|
||||
width: 0;
|
||||
height: 20px;
|
||||
border-radius: 3px;
|
||||
color:#FFFFFF;
|
||||
}
|
||||
.ajax-file-upload-percent {
|
||||
position: absolute;
|
||||
display: inline-block;
|
||||
top: 3px;
|
||||
left: 48%
|
||||
}
|
||||
.ajax-file-upload
|
||||
{
|
||||
background:#0171b1;
|
||||
border: none;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
-khtml-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
color: #ffffff;
|
||||
display: inline-block;
|
||||
padding: 7px 25px;
|
||||
}
|
||||
.ajax-file-upload:hover {
|
||||
background: #0D6292;
|
||||
cursor: pointer;
|
||||
}
|
||||
.img-wrap {
|
||||
padding: 10px;
|
||||
border: 1px solid #cccccc;
|
||||
background: #ffffff;
|
||||
margin-bottom: 20px;
|
||||
margin-right: 20px;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
-khtml-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
float: left;
|
||||
}
|
||||
.admin-preview-thumbnail {
|
||||
float: left;
|
||||
width: 50px;
|
||||
margin-right: 10px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
#largeImage
|
||||
{
|
||||
position: absolute;
|
||||
padding: 8px;
|
||||
background-color: #e3e3e3;
|
||||
border: 1px solid #bfbfbf;
|
||||
}
|
||||
.img-responsive,
|
||||
.thumbnail a>img,
|
||||
.thumbnail>img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto
|
||||
}
|
||||
.news-form-control {
|
||||
display: block;
|
||||
width: 96%;
|
||||
height: 30px;
|
||||
padding: 5px 0px 5px 10px;
|
||||
font-size: 14px;
|
||||
line-height: 1.52857143;
|
||||
color: #3a3f51;
|
||||
background-color: #fff;
|
||||
background-image: none;
|
||||
border: 1px solid #dde6e9;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
|
||||
-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
}
|
||||
.news-form-control-mce {
|
||||
min-height: 350px;
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
}
|
||||
.form-field {
|
||||
border:1px solid #aaaaaa;
|
||||
-moz-border-radius: 2px;
|
||||
-webkit-border-radius: 2px;
|
||||
-khtml-border-radius: 2px;
|
||||
border-radius: 2px;
|
||||
height:28px;
|
||||
min-width:200px;
|
||||
font-size:14px;
|
||||
}
|
||||
fieldset {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
border: 0;
|
||||
min-width: 0;
|
||||
}
|
||||
ol, ul {
|
||||
margin-top: 0;
|
||||
margin-bottom: 10.5px;
|
||||
padding: 0;
|
||||
}
|
||||
label {
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
font-weight: 700;
|
||||
}
|
||||
form#main fieldset {
|
||||
border: none;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
form#main fieldset:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
form#main legend {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
form#main fieldset {
|
||||
border: none;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
form#main fieldset:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
form#main legend {
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
form#main ol li {
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
form#main {
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
}
|
||||
form#main ol li
|
||||
{
|
||||
background: #f4f4f4;
|
||||
border-color: #cccccc;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
line-height: 30px;
|
||||
list-style: none;
|
||||
padding: 5px 10px;
|
||||
margin-bottom: 5px;
|
||||
-moz-border-radius: 5px;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
form#main ol ol li
|
||||
{
|
||||
background: none;
|
||||
border: none;
|
||||
float: left;
|
||||
}
|
||||
form#main label {
|
||||
float: left;
|
||||
width: 30%;
|
||||
}
|
||||
form#main input:not([type=radio]):not([type=checkbox]),
|
||||
form#main select,
|
||||
form#main textarea {
|
||||
width: 65%;
|
||||
}
|
||||
|
||||
form#main input[type=radio]
|
||||
{
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
h3 {
|
||||
border-bottom: none !important;
|
||||
text-transform: none !important;
|
||||
}
|
||||
.nicEdit-panelContain,
|
||||
.nicEdit-pane
|
||||
{
|
||||
color: #000;
|
||||
}
|
||||
.autoheight {
|
||||
height: auto !important;
|
||||
}
|
||||
48
ControlPanel/themes/MasterControlProgram/modules/news/admin_news.js
Executable file
48
ControlPanel/themes/MasterControlProgram/modules/news/admin_news.js
Executable file
|
|
@ -0,0 +1,48 @@
|
|||
$(document).ready(function() {
|
||||
$('.table-wrap').removeClass('table-wrap');
|
||||
$('.news-btn, [href="?m=news&p=admin_news&page=permissions"], .underline-link').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
$('#description').addClass('form-control');
|
||||
|
||||
$(window).load(function () {
|
||||
$('.nicEdit-main').css('outline', 'none').parent('div').addClass('form-control').addClass('autoheight').css('padding', '2px');
|
||||
});
|
||||
|
||||
create_button('.news-row [href$="&page=permissions"]', 'btn-danger');
|
||||
create_button('.news-row [href$="&page=settings"]', 'btn-warning');
|
||||
create_button('.news-row [href$="&page=add"]', 'btn-success');
|
||||
|
||||
/* *** Replace UL / LI with Table *** */
|
||||
var ul = $(".main ol");
|
||||
$(ul).each(function(){
|
||||
var li = $(this).find("li");
|
||||
var tul = $(this);
|
||||
$(li).each(function(){
|
||||
$(this).replaceWith('<tr><td>'+$(this).html()+'</td></tr>');
|
||||
});
|
||||
$(tul).replaceWith('<table>'+$(tul).html()+'</table>');
|
||||
});
|
||||
|
||||
$('[href^="home.php?m=news&p=admin_news&page=edit&id="]').each(function(){
|
||||
$(this).replaceWith('<a href="'+$(this).attr('href')+'"><i class="fa fa-pencil-square-o" aria-hidden="true"></i></a>');
|
||||
});
|
||||
|
||||
$('img[src="modules/news/images/cancel.gif"]').parent('a').each(function(){
|
||||
$(this).replaceWith('<a href="'+$(this).attr('href')+'" class="btn btn-sm btn-danger pull-right">'+$(this).find('img').attr('alt')+'</a>');
|
||||
});
|
||||
|
||||
$('.success').removeClass('success').addClass('label').addClass('label-success');
|
||||
$('.failure').removeClass('failure').addClass('label').addClass('label-danger');
|
||||
|
||||
$('.nicEdit-main').addClass('form-control');
|
||||
|
||||
$('.main [href^="home.php?m=news&p=admin_news&page=edit&id="]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
|
||||
|
||||
function create_button(elem, clss){
|
||||
$(elem).each(function(){
|
||||
$(this).replaceWith('<a href="'+$(this).attr('href')+'" class="btn btn-sm '+clss+' pull-right">'+$(this).text()+'</a>');
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
163
ControlPanel/themes/MasterControlProgram/modules/news/news.css
Executable file
163
ControlPanel/themes/MasterControlProgram/modules/news/news.css
Executable file
|
|
@ -0,0 +1,163 @@
|
|||
.panel {
|
||||
margin-bottom: 21px;
|
||||
background-color: #fff;
|
||||
border: 1px solid transparent;
|
||||
-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
|
||||
box-shadow: 0 1px 1px rgba(0, 0, 0, .05)
|
||||
}
|
||||
.panel-body {
|
||||
padding: 15px
|
||||
}
|
||||
.panel-heading {
|
||||
padding: 10px 15px;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
.panel-title {
|
||||
color: #fff !important;
|
||||
border-bottom: none;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
.panel-default {
|
||||
border-color: #cccccc
|
||||
}
|
||||
.panel-default>.panel-heading {
|
||||
color: #444;
|
||||
background-color: #fff;
|
||||
border-color: #cfdbe2
|
||||
}
|
||||
.pull-right {
|
||||
float: right!important
|
||||
}
|
||||
.pull-left {
|
||||
float: left!important
|
||||
}
|
||||
.searchmod {
|
||||
padding: 5px;
|
||||
border: 1px solid #ccc;
|
||||
-webkit-border-radius: 5px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
.news-btn {
|
||||
display: inline-block;
|
||||
margin-bottom: 0;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
touch-action: manipulation;
|
||||
cursor: pointer;
|
||||
background-image: none;
|
||||
border: 1px solid transparent;
|
||||
white-space: nowrap;
|
||||
padding: 6px 16px;
|
||||
font-size: 14px;
|
||||
line-height: 1.52857143;
|
||||
border-radius: 4px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none
|
||||
}
|
||||
.news-btn.active.focus,
|
||||
.news-btn.active:focus,
|
||||
.news-btn.focus,
|
||||
.news-btn:active.focus,
|
||||
.news-btn:active:focus,
|
||||
.news-btn:focus {
|
||||
outline: dotted thin;
|
||||
outline: -webkit-focus-ring-color auto 5px;
|
||||
outline-offset: -2px
|
||||
}
|
||||
.news-btn.focus,
|
||||
.news-btn:focus,
|
||||
.news-btn:hover {
|
||||
text-decoration: none
|
||||
}
|
||||
.news-btn.active,
|
||||
.news-btn:active {
|
||||
outline: 0;
|
||||
background-image: none;
|
||||
-webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
|
||||
box-shadow: inset 0 3px 5px rgba(0, 0, 0, .125)
|
||||
}
|
||||
.news-btn-default {
|
||||
background-color: #fff;
|
||||
border-color: #ccc
|
||||
}
|
||||
.news-btn-default.active,
|
||||
.news-btn-default.active.focus,
|
||||
.news-btn-default.active:focus,
|
||||
.news-btn-default.active:hover,
|
||||
.news-btn-default.focus,
|
||||
.news-btn-default:active,
|
||||
.news-btn-default:active.focus,
|
||||
.news-btn-default:active:focus,
|
||||
.news-btn-default:active:hover,
|
||||
.news-btn-default:focus,
|
||||
.news-btn-default:hover,
|
||||
.open>.dropdown-toggle.news-btn-default,
|
||||
.open>.dropdown-toggle.news-btn-default.focus,
|
||||
.open>.dropdown-toggle.news-btn-default:focus,
|
||||
.open>.dropdown-toggle.news-btn-default:hover {
|
||||
background-color: #f5f5f5;
|
||||
border-color: #eaeaea
|
||||
}
|
||||
.news-btn-block {
|
||||
display: block;
|
||||
width: 100%
|
||||
}
|
||||
.news-btn-block+.news-btn-block {
|
||||
margin-top: 5px
|
||||
}
|
||||
.img-bottom {
|
||||
text-align: center; /* center horizontally */
|
||||
vertical-align: middle; /* center vertically */
|
||||
}
|
||||
.final-image {
|
||||
padding-top: 10px;
|
||||
max-width:100%;
|
||||
-moz-border-radius: 3px;
|
||||
-webkit-border-radius: 3px;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.img-responsive,
|
||||
.thumbnail a>img,
|
||||
.thumbnail>img {
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.thumbnail-detail {
|
||||
padding: 5px;
|
||||
}
|
||||
.news-row {
|
||||
width: 100%;
|
||||
}
|
||||
.news-auto {
|
||||
width: auto;
|
||||
overflow:hidden;
|
||||
padding: 5px 0px;
|
||||
}
|
||||
.news-half {
|
||||
width: 50%;
|
||||
}
|
||||
.news-one-third {
|
||||
width: 33%;
|
||||
margin: 0px 0px 15px 15px;
|
||||
}
|
||||
.news-img {
|
||||
max-width: 250px;
|
||||
padding: 5px 20px 20px 5px;
|
||||
}
|
||||
.clearfix:after,
|
||||
.clearfix:before,
|
||||
.news-row:after,
|
||||
.news-row:before {
|
||||
content: " ";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
.panel-body:after,
|
||||
.news-row:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
12
ControlPanel/themes/MasterControlProgram/modules/news/news.js
Executable file
12
ControlPanel/themes/MasterControlProgram/modules/news/news.js
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
$(document).ready(function() {
|
||||
$('.news-btn').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
$('.pagination b').parent('a').parent('li').addClass('active');
|
||||
|
||||
$('h3 > .failure').parent('h3').each(function(){
|
||||
var thtml = $(this).html();
|
||||
$(thtml).appendTo('.main');
|
||||
$(this).remove();
|
||||
});
|
||||
|
||||
});
|
||||
4
ControlPanel/themes/MasterControlProgram/modules/rcon/rcon.css
Executable file
4
ControlPanel/themes/MasterControlProgram/modules/rcon/rcon.css
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
.main > form > table:first-of-type {
|
||||
margin-bottom: 0px;
|
||||
margin-top: 5px;
|
||||
}
|
||||
60
ControlPanel/themes/MasterControlProgram/modules/register/form.js
Executable file
60
ControlPanel/themes/MasterControlProgram/modules/register/form.js
Executable file
|
|
@ -0,0 +1,60 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
$(window).load(function () {
|
||||
if ($('.g-recaptcha').length > 0) {
|
||||
var recaptcha_pubkey = $('.g-recaptcha').attr('data-sitekey');
|
||||
var recaptcha = "<div class='text-center' style='margin-bottom: 10px;'><script src='//www.google.com/recaptcha/api.js'></script><div style='display: inline-block;' class='g-recaptcha' data-sitekey='"+recaptcha_pubkey+"' data-theme='dark'></div></div>";
|
||||
}else{
|
||||
var recaptcha = "";
|
||||
}
|
||||
var title = $('.main h2').text();
|
||||
var user = $('[name="loginForm"] label[for="login_name"]').text().replace(':', '');
|
||||
var pass = $('[name="loginForm"] label[for="users_passwd"]').text().replace(':', '');
|
||||
var vpass = $('[name="loginForm"] label[for="users_cpasswd"]').text().replace(':', '');
|
||||
var fname = $('[name="loginForm"] label[for="users_fname"]').text().replace(':', '');
|
||||
var lname = $('[name="loginForm"] label[for="users_lname"]').text().replace(':', '');
|
||||
var email = $('[name="loginForm"] label[for="users_email"]').text().replace(':', '');
|
||||
|
||||
var sbtn = $('input[type="submit"]').val();
|
||||
var rval = $('input[name="users_comment"]').val();
|
||||
var errout = "";
|
||||
|
||||
if($('.main > table').length > 0)
|
||||
{
|
||||
var errt = [];
|
||||
$(".main > table tr").each(function ()
|
||||
{
|
||||
var tdtxt = $(this).find('td').text();
|
||||
if(!tdtxt.includes('<img'))
|
||||
{
|
||||
errt.push(tdtxt);
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
if(errt)
|
||||
{
|
||||
var errout = '<div class="alert alert-danger" role="alert"><ul><li>'+errt.join("</li><li>")+'</li></ul></div>';
|
||||
}
|
||||
|
||||
var new_form = '\
|
||||
<div class="login-container">\
|
||||
<h3>'+title+'</h3>\
|
||||
'+errout+'\
|
||||
<form action="?m=register&p=exec" name="loginForm" method="post" class="form-group">\
|
||||
<input type="text" id="login_name" name="login_name" class="form-control" placeholder="'+user+'">\
|
||||
<input id="users_passwd" type="password" name="users_passwd" class="form-control" placeholder="'+pass+'">\
|
||||
<input id="users_cpasswd" type="password" name="users_cpasswd" class="form-control" placeholder="'+vpass+'">\
|
||||
<input type="text" id="users_fname" name="users_fname" class="form-control" placeholder="'+fname+'">\
|
||||
<input type="text" id="users_lname" name="users_lname" class="form-control" placeholder="'+lname+'">\
|
||||
<input type="text" id="users_email" name="users_email" class="form-control" placeholder="'+email+'">\
|
||||
<input type="hidden" name="users_comment" value="'+rval+'" class="form-control">\
|
||||
'+recaptcha+'\
|
||||
<button type="submit" name="Submit" value="'+sbtn+'" class="btn btn-primary btn-block btn-sm">'+sbtn+'</button>\
|
||||
</form>\
|
||||
</div>';
|
||||
|
||||
$('.main').empty().html(new_form);
|
||||
});
|
||||
|
||||
});
|
||||
|
|
@ -0,0 +1,3 @@
|
|||
[name="home_cfg_id"] {
|
||||
margin-top: 20px;
|
||||
}
|
||||
6
ControlPanel/themes/MasterControlProgram/modules/server/arrange_ports.js
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/server/arrange_ports.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=server&p=edit&rhost_id"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
|
||||
|
||||
$('[name="delete_range"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
});
|
||||
6
ControlPanel/themes/MasterControlProgram/modules/server/edit.js
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/server/edit.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main [href$="&delete&y=y"]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
|
||||
$('[name="remove_ip"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
});
|
||||
8
ControlPanel/themes/MasterControlProgram/modules/server/firewall.js
Executable file
8
ControlPanel/themes/MasterControlProgram/modules/server/firewall.js
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('input[name="reset_firewall"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
$('.main [href$="ch_fw_status=disable"]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
$('.main [href$="ch_fw_status=enable"]').addClass('btn').addClass('btn-sm').addClass('btn-success');
|
||||
|
||||
});
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/server/log.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/server/log.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=server"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
14
ControlPanel/themes/MasterControlProgram/modules/server/server.js
Executable file
14
ControlPanel/themes/MasterControlProgram/modules/server/server.js
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
$(document).ready(function() {
|
||||
$('#servermonitor [href$="&delete"]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
$('#servermonitor [href$="&edit"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
$('#servermonitor [href^="?m=server&p=reboot"]').addClass('btn').addClass('btn-xs').addClass('btn-warning');
|
||||
$('#servermonitor [href^="?m=server&p=restart"]').addClass('btn').addClass('btn-xs').addClass('btn-warning');
|
||||
$('#servermonitor [href^="?m=server&p=log"], #servermonitor [href^="?m=server&p=firewall"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
|
||||
$('#servermonitor .success').addClass('label').addClass('label-success').removeClass('success');
|
||||
$('#servermonitor .failure').addClass('label').addClass('label-danger').removeClass('failure');
|
||||
|
||||
$('#servermonitor img[src="images/magnifglass.png"]').each(function(){
|
||||
$(this).replaceWith('<span data-toggle="tooltip" class="image-tooltip" title="<img src=\''+$(this).attr('data-url')+'\' />"><i class="fa fa-search" aria-hidden="true"></i></span>');
|
||||
});
|
||||
});
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/settings/themes.css
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/settings/themes.css
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
td {
|
||||
vertical-align: middle !important;
|
||||
}
|
||||
140
ControlPanel/themes/MasterControlProgram/modules/settings/themes.js
Executable file
140
ControlPanel/themes/MasterControlProgram/modules/settings/themes.js
Executable file
|
|
@ -0,0 +1,140 @@
|
|||
$(document).ready(function() {
|
||||
|
||||
$.ajaxSetup({ cache: false });
|
||||
|
||||
$('form[action="?m=settings&p=themes"] tr:nth-child(4),form[action="?m=settings&p=themes"] tr:nth-child(5)').addClass('hide');
|
||||
$('form[action="?m=settings&p=themes"]').attr('enctype','multipart/form-data');
|
||||
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "themes/MasterControlProgram/conf/sbs.conf",
|
||||
contentType: "application/json; charset=utf-8",
|
||||
dataType: "json",
|
||||
beforeSend: function( xhr ) {
|
||||
xhr.overrideMimeType('application/json');
|
||||
},
|
||||
success: function(json) {
|
||||
|
||||
//console.log(JSON.stringify(json));
|
||||
|
||||
var theme_styles = {'Light':'light', 'Dark':'dark'}
|
||||
var add_row = '<tr><td align="right"><label for="style_tab">Theme Style:</label></td><td align="left"><select id="style_tab" name="style_tab" class="form-control">';
|
||||
for (var key in theme_styles) {
|
||||
if(theme_styles[key]==json['style']){
|
||||
add_row += '<option value="'+theme_styles[key]+'" selected>'+key+'</option>';
|
||||
}else{
|
||||
add_row += '<option value="'+theme_styles[key]+'">'+key+'</option>';
|
||||
}
|
||||
}
|
||||
add_row += '</td><td><i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="Changes the Theme Style"></i></td></tr>';
|
||||
$('form[action="?m=settings&p=themes"] tr:last').after(add_row);
|
||||
|
||||
var theme_background = {'Light Blur':'light', 'Dark Clean':'dark', 'Fire':'fire', 'Vietnam (by omano)':'vietnam', 'Dream':'dream', 'Light Dream':'light_dream', 'BF3: The Russian':'bf3_the_russian'}
|
||||
var add_row = '<tr><td align="right"><label for="style_tab">Theme Background: <a class="label label-primary" id="bg_preview" data-toggle="tooltip" data-original-title="<img src=\'themes/MasterControlProgram/images/bg/'+json['background']+'.jpg\' width=\'180px\' \>">Preview</a></label></td><td align="left"><select id="style_bg" name="style_bg" class="form-control">';
|
||||
for (var key in theme_background) {
|
||||
if(theme_background[key]==json['background']){
|
||||
add_row += '<option value="'+theme_background[key]+'" selected>'+key+'</option>';
|
||||
}else{
|
||||
add_row += '<option value="'+theme_background[key]+'">'+key+'</option>';
|
||||
}
|
||||
}
|
||||
add_row += '</td><td><i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="Changes the Theme Background"></i></td></tr>';
|
||||
$('form[action="?m=settings&p=themes"] tr:last').after(add_row);
|
||||
|
||||
var paces = {'Center Bar':'center-bar', 'Corner Indicator':'corner-indicator', 'Flash':'flash', 'Loading Bar':'loading-bar'};
|
||||
var add_row = '<tr><td align="right"><label for="style_loader">Pace Loader</label></td><td align="left"><select id="style_loader" name="style_loader" class="form-control">';
|
||||
for (var key in paces) {
|
||||
if(paces[key]==json['pace']){
|
||||
add_row += '<option value="'+paces[key]+'" selected>'+key+'</option>';
|
||||
}else{
|
||||
add_row += '<option value="'+paces[key]+'">'+key+'</option>';
|
||||
}
|
||||
}
|
||||
add_row += '</td><td><i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="Changes the Pace Load Indicator"></i></td></tr>';
|
||||
|
||||
$('form[action="?m=settings&p=themes"] tr:last').after(add_row);
|
||||
|
||||
if(json['custom_bg']=='no'){
|
||||
var custom_bg_info = '<div class="label label-danger show">BG not set</div>';
|
||||
}else{
|
||||
var custom_bg_info = '<div class="label label-success show">BG set <a class="btn btn-xs btn-danger" id="del_custom_bg"><i class="fa fa-trash" aria-hidden="true"></i></a></div>';
|
||||
}
|
||||
|
||||
var upload_input = '\
|
||||
<div class="input-group">\
|
||||
<label class="input-group-btn">\
|
||||
<span class="btn btn-primary">\
|
||||
Browse... <input type="file" style="display: none;" name="bg_file" id="bg_file">\
|
||||
</span>\
|
||||
</label>\
|
||||
<input type="text" class="form-control" readonly="">\
|
||||
</div>';
|
||||
$('form[action="?m=settings&p=themes"] tr:last').after('<tr><td align="right"><label for="custom_bg">Custom BG:'+custom_bg_info+'</label></td><td align="left">'+upload_input+'</td><td><i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="Changes the Theme Background to a Custom Image. The Image will be Fixed to 100%/100%!"></i></td></tr>');
|
||||
|
||||
var dashboard_rows = {'Default':'default', 'Full size Rows':'full_rows', 'Remove First Row (moved Objects into this Row will be hidden)':'remove_one', 'Remove First & Second Row (moved Objects into this Rows will be hidden)':'remove_one_two', 'Remove First & Third Row (moved Objects into this Rows will be hidden)':'remove_one_three'}
|
||||
var add_row = '<tr><td align="right"><label for="style_tab">Dashboard Rows:</label></td><td align="left"><select id="dashboard_rows" name="dashboard_rows" class="form-control">';
|
||||
for (var key in dashboard_rows) {
|
||||
if(dashboard_rows[key]==json['dashboard_rows']){
|
||||
add_row += '<option value="'+dashboard_rows[key]+'" selected>'+key+'</option>';
|
||||
}else{
|
||||
add_row += '<option value="'+dashboard_rows[key]+'">'+key+'</option>';
|
||||
}
|
||||
}
|
||||
add_row += '</td><td><i class="fa fa-question-circle-o" aria-hidden="true" data-toggle="tooltip" data-placement="left" title="Changes the Row Style of Game Monitor, Online Servers and Support Boxes at Dashboard"></i></td></tr>';
|
||||
$('form[action="?m=settings&p=themes"] tr:last').after(add_row);
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
$('form[action="?m=settings&p=themes"]').submit(function(){
|
||||
var formData = new FormData($(this)[0]);
|
||||
$.ajax({
|
||||
url: 'themes/MasterControlProgram/conf/sbs_conf.php',
|
||||
type: 'POST',
|
||||
data: formData,
|
||||
async: false,
|
||||
success: function (data) {
|
||||
console.log(data);
|
||||
},
|
||||
cache: false,
|
||||
contentType: false,
|
||||
processData: false
|
||||
});
|
||||
|
||||
// return false;
|
||||
});
|
||||
|
||||
$('#del_custom_bg').click(function(){
|
||||
if(confirm('Are you sure you want to remove the Background Image?')){
|
||||
$.get('themes/MasterControlProgram/conf/sbs_conf.php',
|
||||
{del_custom_bg:'yes'},
|
||||
function(data){
|
||||
console.log(data);
|
||||
}
|
||||
);
|
||||
location.reload();
|
||||
}
|
||||
});
|
||||
|
||||
$('#style_bg').change(function(){
|
||||
$('#bg_preview').attr("data-original-title", "<img src='themes/MasterControlProgram/images/bg/"+$(this).val()+".jpg' width='180px'>");
|
||||
});
|
||||
});
|
||||
|
||||
function get_active_loader() {
|
||||
var result = null;
|
||||
const regex = /url\("pace_(.*).css"\);/g;
|
||||
$.ajax({
|
||||
url: "themes/MasterControlProgram/css/pace.css",
|
||||
type: 'get',
|
||||
dataType: 'html',
|
||||
async: false,
|
||||
success: function(data) {
|
||||
result = regex.exec(data);
|
||||
}
|
||||
});
|
||||
return result[1];
|
||||
};
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main > style').remove();
|
||||
$('.main > h4').each(function(){
|
||||
$(this).replaceWith('<div class="alert alert-info">'+$(this).text()+'</div>');
|
||||
});
|
||||
});
|
||||
6
ControlPanel/themes/MasterControlProgram/modules/simple-billing/shop.css
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/simple-billing/shop.css
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
.main [href="?m=simple-billing&p=cart"] > img {
|
||||
display: none;
|
||||
}
|
||||
.main [href="?m=simple-billing&p=cart"] .fa {
|
||||
margin-right: 5px;
|
||||
}
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/simple-billing/shop.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/simple-billing/shop.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=simple-billing&p=cart"]').addClass('btn').addClass('btn-sm').addClass('btn-primary').prepend('<i class="fa fa-shopping-cart" aria-hidden="true"></i>');
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main > p:first-of-type').css("background-color", "").css("color", "");
|
||||
$('p > [href="?m=register&p=form"], p > [href="index.php"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main > style:nth-child(2)').remove();
|
||||
});
|
||||
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
#scrolling_checkbox,
|
||||
#uninstall_scrolling_checkbox
|
||||
{
|
||||
min-height: 120px;
|
||||
overflow-y: scroll;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: none;
|
||||
padding: 0px;
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
$(document).ready(function(){
|
||||
$('.main [href^="?m=steam_workshop&p=uninstall"]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
$('.main [href="?m=steam_workshop&p=main"]').addClass('btn').addClass('btn-xs').addClass('btn-success');
|
||||
$('.main [name="install"]').removeClass('btn-primary').addClass('btn-success');
|
||||
$('.main [name="remove_mods"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
$('.main [href^="?m=steam_workshop&p=main&home_id-mod_id-ip-port="]').addClass('btn').addClass('btn-primary');
|
||||
});
|
||||
5
ControlPanel/themes/MasterControlProgram/modules/subusers/submanage.js
Executable file
5
ControlPanel/themes/MasterControlProgram/modules/subusers/submanage.js
Executable file
|
|
@ -0,0 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=subusers&p=add"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main [href="?m=subusers&p=del"]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
});
|
||||
|
||||
20
ControlPanel/themes/MasterControlProgram/modules/support/support.js
Executable file
20
ControlPanel/themes/MasterControlProgram/modules/support/support.js
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
$(document).ready(function() {
|
||||
$('.contactForm').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" />');
|
||||
});
|
||||
|
||||
});
|
||||
16
ControlPanel/themes/MasterControlProgram/modules/tickets/submitticket.js
Executable file
16
ControlPanel/themes/MasterControlProgram/modules/tickets/submitticket.js
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
$(document).ready(function() {
|
||||
var counter = 0;
|
||||
$('form > .ticket_elementDiv').each(function(){
|
||||
$(this).removeClass('ticket_elementDiv').addClass('input-group');
|
||||
|
||||
$(this).find('label').replaceWith('<span class="input-group-addon" id="addon'+counter+'">'+$(this).find('label').text()+'</span>');
|
||||
$(this).find('input').attr('aria-describedby','addon'+counter);
|
||||
|
||||
counter = counter+1;
|
||||
});
|
||||
|
||||
$('.attachment_header').each(function(){
|
||||
$(this).replaceWith('<h3>'+$(this).html()+'</h3>');
|
||||
});
|
||||
|
||||
});
|
||||
211
ControlPanel/themes/MasterControlProgram/modules/tickets/tickets.css
Executable file
211
ControlPanel/themes/MasterControlProgram/modules/tickets/tickets.css
Executable file
|
|
@ -0,0 +1,211 @@
|
|||
#jsErrorBox { display: none; margin-bottom: 24px; }
|
||||
|
||||
.ticketOptionLinks {
|
||||
border-bottom: none;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.ticketErrorList {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.ticket_reply {
|
||||
margin: 10px 0;
|
||||
padding: 0;
|
||||
border: 1px solid #22252f;
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
width: 92%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ticket_reply .date {
|
||||
float: right;
|
||||
padding: 8px 10px;
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
.ticket_reply .user,
|
||||
.ticket_reply .admin {
|
||||
padding: 5px 10px;
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
border-bottom: 1px solid #22252f;
|
||||
}
|
||||
|
||||
.ticket_reply.admin {
|
||||
margin-right: 20px;
|
||||
float: right;
|
||||
border-top-left-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
|
||||
.ticket_reply.user {
|
||||
margin-left: 20px;
|
||||
float: left;
|
||||
border-top-right-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
border-bottom-right-radius: 5px;
|
||||
}
|
||||
|
||||
.ticket_reply:before {
|
||||
width: 0;
|
||||
height: 0;
|
||||
content: "";
|
||||
top: -1px;
|
||||
position: absolute;
|
||||
border-style: solid;
|
||||
border-color: rgba(26, 28, 34, 0.6) transparent;
|
||||
display: inline-block;
|
||||
|
||||
}
|
||||
|
||||
.ticket_reply.admin:before {
|
||||
right: -13px;
|
||||
border-width: 13px 13px 0 0;
|
||||
}
|
||||
|
||||
.ticket_reply.user:before {
|
||||
left: -13px;
|
||||
border-width: 13px 0 0 13px;
|
||||
}
|
||||
|
||||
.ticket_reply_notice > div {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket_footer {
|
||||
padding: 5px 10px 0px;
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
border-top: 1px solid #22252f;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.ticket_reply .user .name {
|
||||
display: block;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
.ticket_reply .admin .name {
|
||||
display: block;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
.ticket_reply .user .type {
|
||||
display: block;
|
||||
font-weight: 400;
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
.ticket_reply .admin .type {
|
||||
display: block;
|
||||
font-weight: 700;
|
||||
font-size: .8em;
|
||||
|
||||
background: -moz-linear-gradient(left, rgba(135,2,4,0.5) 0%, rgba(135,2,4,0) 14%, rgba(135,2,4,0) 100%);
|
||||
background: -webkit-linear-gradient(left, rgba(135,2,4,0.5) 0%,rgba(135,2,4,0) 14%,rgba(135,2,4,0) 100%);
|
||||
background: linear-gradient(to right, rgba(135,2,4,0.5) 0%,rgba(135,2,4,0) 14%,rgba(135,2,4,0) 100%);
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#80870204', endColorstr='#00870204',GradientType=1);
|
||||
}
|
||||
|
||||
.ticket_reply .message {
|
||||
padding: 12px 15px;
|
||||
}
|
||||
|
||||
.ticket_reply .ticket_footer {
|
||||
font-size: .8em;
|
||||
}
|
||||
|
||||
.attachment_add {
|
||||
float: right;
|
||||
}
|
||||
|
||||
div.stars {
|
||||
width: 270px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
input.star {
|
||||
display: none;
|
||||
}
|
||||
|
||||
label.star {
|
||||
float: right;
|
||||
color: #ccc;
|
||||
transition: all .2s;
|
||||
font-size: 16px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
input.star:checked ~ label.star:before {
|
||||
content: '\2605';
|
||||
color: #FFD700;
|
||||
transition: all .25s;
|
||||
}
|
||||
|
||||
input.star-5:checked ~ label.star:before {
|
||||
}
|
||||
|
||||
input.star-1:checked ~ label.star:before {
|
||||
}
|
||||
|
||||
label.star:hover {
|
||||
color: #FFD700;
|
||||
transform: rotate(-15deg) scale(1.3);
|
||||
}
|
||||
|
||||
label.star:before {
|
||||
content: '\2605';
|
||||
}
|
||||
|
||||
.attachment_container { width: 100%; margin-top: 6px; }
|
||||
|
||||
.attachment_add { float: right; }
|
||||
|
||||
.attachment_add button:disabled { cursor: not-allowed; }
|
||||
|
||||
.attachment_inputs {
|
||||
float: left;
|
||||
width: 80%;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.attachmentHeader {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.attachment_info {
|
||||
clear: both;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.ticket_footer .left, .ticket_footer .center, .ticket_footer .right {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ticket_footer .left {
|
||||
//float: left;
|
||||
}
|
||||
|
||||
.ticket_footer .right {
|
||||
float: right;
|
||||
}
|
||||
.ticket_ReplyBox.status_ticket_closed {
|
||||
display: none;
|
||||
}
|
||||
.ticket_ReplyBox {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #9fa1a9;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.input-group-addon {
|
||||
background-color: rgba(26, 28, 34, 0.6) !important;
|
||||
min-width: 100px;
|
||||
}
|
||||
.attachment_inputs {
|
||||
margin: 10px 0px;
|
||||
}
|
||||
16
ControlPanel/themes/MasterControlProgram/modules/tickets/tickets.js
Executable file
16
ControlPanel/themes/MasterControlProgram/modules/tickets/tickets.js
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
$(document).ready(function() {
|
||||
$('[href="?m=tickets&p=submitticket"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
$('.no_tickets').removeClass('no_tickets').addClass('alert').addClass('alert-danger');
|
||||
|
||||
$('.ticket_admin_response > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-warning label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
$('.ticket_customer_response > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-info label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
$('.ticket_closed > td:nth-child(2)').each(function(){
|
||||
$(this).replaceWith('<td><span class="label label-danger label-size">'+$(this).html()+'</span></td>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
32
ControlPanel/themes/MasterControlProgram/modules/tickets/viewticket.js
Executable file
32
ControlPanel/themes/MasterControlProgram/modules/tickets/viewticket.js
Executable file
|
|
@ -0,0 +1,32 @@
|
|||
$(document).ready(function() {
|
||||
$('.no_ticket_replies, .ticket_closed').removeClass('no_ticket_replies').addClass('alert').addClass('alert-danger');
|
||||
$('[name="ticket_close"]').removeClass('btn-primary').addClass('btn-danger');
|
||||
|
||||
$('.ticket_reply_notice').addClass('btn').addClass('btn-primary');
|
||||
$('.downloadAttachmentLink').addClass('label').addClass('label-default');
|
||||
|
||||
$('.divTableCell').each(function(){
|
||||
$(this).replaceWith('<td>'+$(this).html()+'</td>');
|
||||
});
|
||||
$('.divTableRow').each(function(){
|
||||
$(this).replaceWith('<tr>'+$(this).html()+'</tr>');
|
||||
});
|
||||
$('.divTableBody').each(function(){
|
||||
$(this).replaceWith('<tbody>'+$(this).html()+'</tbody>');
|
||||
});
|
||||
$('.divTable').each(function(){
|
||||
$(this).replaceWith('<table>'+$(this).html()+'</table>');
|
||||
});
|
||||
|
||||
$('.attachment_header').each(function(){
|
||||
$(this).replaceWith('<div class="attachment_header"><h3>'+$(this).html()+'</h3></div>');
|
||||
});
|
||||
|
||||
$('.ticketErrorHolder').addClass('alert').addClass('alert-danger');
|
||||
});
|
||||
|
||||
$(window).load(function(){
|
||||
$('#errorHeader').replaceWith(function(){
|
||||
return $("<strong />", {html: $(this).html()});
|
||||
});
|
||||
});
|
||||
4
ControlPanel/themes/MasterControlProgram/modules/update/blacklist.css
Executable file
4
ControlPanel/themes/MasterControlProgram/modules/update/blacklist.css
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
i.fa.fa-folder-open-o {
|
||||
color: #ffe699;
|
||||
}
|
||||
|
||||
8
ControlPanel/themes/MasterControlProgram/modules/update/blacklist.js
Executable file
8
ControlPanel/themes/MasterControlProgram/modules/update/blacklist.js
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=update"]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
|
||||
$('img[src="images/folder.png"]').replaceWith('<i class="fa fa-folder-open-o" aria-hidden="true"></i>');
|
||||
$('img[src="images/txt.png"]').replaceWith('<i class="fa fa-pencil-square-o" aria-hidden="true"></i>');
|
||||
|
||||
});
|
||||
|
||||
4
ControlPanel/themes/MasterControlProgram/modules/update/update.css
Executable file
4
ControlPanel/themes/MasterControlProgram/modules/update/update.css
Executable file
|
|
@ -0,0 +1,4 @@
|
|||
.label.label-primary {
|
||||
font-size: 94%;
|
||||
padding-bottom: 3px;
|
||||
}
|
||||
8
ControlPanel/themes/MasterControlProgram/modules/update/update.js
Executable file
8
ControlPanel/themes/MasterControlProgram/modules/update/update.js
Executable file
|
|
@ -0,0 +1,8 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=update&p=blacklist"], .main [href*="commits"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main [href*="commit"]:not([href*="commits"])').addClass('label').addClass('label-primary');
|
||||
|
||||
$('.main ul > br').remove();
|
||||
$('.main ul').addClass('list-group');
|
||||
$('.main li').addClass('list-group-item');
|
||||
});
|
||||
0
ControlPanel/themes/MasterControlProgram/modules/update/updating.css
Executable file
0
ControlPanel/themes/MasterControlProgram/modules/update/updating.css
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/user_admin/del.js
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/user_admin/del.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main p:first-of-type').addClass('alert').addClass('alert-danger');
|
||||
$('.main [href$="&y=y"]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
$('.main [href="?m=user_admin"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
|
||||
10
ControlPanel/themes/MasterControlProgram/modules/user_admin/edit_user.css
Executable file
10
ControlPanel/themes/MasterControlProgram/modules/user_admin/edit_user.css
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
select[name="days"],
|
||||
select[name="month"],
|
||||
select[name="years"],
|
||||
select[name="hours"],
|
||||
select[name="minutes"]
|
||||
{
|
||||
max-width: 70px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
10
ControlPanel/themes/MasterControlProgram/modules/user_admin/show_groups.css
Executable file
10
ControlPanel/themes/MasterControlProgram/modules/user_admin/show_groups.css
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
.main li,
|
||||
.main ul
|
||||
{
|
||||
list-style: none;
|
||||
padding-left: 0px;
|
||||
}
|
||||
|
||||
.left {
|
||||
text-align: left;
|
||||
}
|
||||
19
ControlPanel/themes/MasterControlProgram/modules/user_admin/show_groups.js
Executable file
19
ControlPanel/themes/MasterControlProgram/modules/user_admin/show_groups.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
$(document).ready(function() {
|
||||
$('[href^="?m=user_games&p=assign&group_id="]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
$('[href^="?m=user_admin&p=del_group&group_id="]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
|
||||
$('[href^="?m=user_admin&p=del_from_group&group_id="]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
|
||||
/* *** Replace UL / LI with Table *** */
|
||||
var ul = $(".main ul");
|
||||
$(ul).each(function(){
|
||||
var li = $(this).find("li");
|
||||
var tul = $(this);
|
||||
$(li).each(function(){
|
||||
$(this).replaceWith('<tr><td>'+$(this).html()+'</td></tr>');
|
||||
});
|
||||
$(tul).replaceWith('<table>'+$(tul).html()+'</table>');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
17
ControlPanel/themes/MasterControlProgram/modules/user_admin/user_admin.css
Executable file
17
ControlPanel/themes/MasterControlProgram/modules/user_admin/user_admin.css
Executable file
|
|
@ -0,0 +1,17 @@
|
|||
.subusersShowHide:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
.subuser td {
|
||||
border-top: 1px solid rgba(34, 37, 47, 1) !important;
|
||||
}
|
||||
.subuser > td:first-of-type,
|
||||
.subuser > td:last-of-type {
|
||||
padding: 8px 20px;
|
||||
}
|
||||
|
||||
.tr0 {
|
||||
background-color: rgba(26, 28, 34, 0.2) !important;
|
||||
}
|
||||
.tr1 {
|
||||
background-color: transparent !important;
|
||||
}
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=user_admin&p=add"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$('.main [href^="?m=user_games&p=assign&user_id="], .main [href^="?m=user_admin&p=edit_user&user_id="]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
$('.main [href^="?m=user_admin&p=del&user_id="]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
|
||||
$('.main style').remove();
|
||||
|
||||
});
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/user_games/add.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/user_games/add.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function(){
|
||||
$('.main [href="?m=user_games"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
});
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/user_games/assign.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/user_games/assign.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=user_admin&p=show_groups"], .main [href="?m=user_admin"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
6
ControlPanel/themes/MasterControlProgram/modules/user_games/clone.js
Executable file
6
ControlPanel/themes/MasterControlProgram/modules/user_games/clone.js
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href="?m=user_games"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
$(document).ready(function() {
|
||||
$('p > a').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/user_games/del.css
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/user_games/del.css
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
#deleteLink {
|
||||
margin-right: 20px;
|
||||
}
|
||||
11
ControlPanel/themes/MasterControlProgram/modules/user_games/del.js
Executable file
11
ControlPanel/themes/MasterControlProgram/modules/user_games/del.js
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
$(document).ready(function(){
|
||||
$('.main > p:nth-child(1)').replaceWith('<div class="alert alert-warning" role="alert">'+$('.main > p:nth-child(1)').html()+'</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"], .main [href^="?m=user_games&p=del&y=y&home_id="]').addClass('btn').addClass('btn-sm').addClass('btn-danger');
|
||||
$('.main [href="?m=user_games"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
});
|
||||
11
ControlPanel/themes/MasterControlProgram/modules/user_games/edit.css
Executable file
11
ControlPanel/themes/MasterControlProgram/modules/user_games/edit.css
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
select[name="ip"],
|
||||
input[name="port"]
|
||||
{
|
||||
max-width: 200px;
|
||||
display: inline-block;
|
||||
margin: 0px 10px;
|
||||
}
|
||||
|
||||
#cpu_select span {
|
||||
margin-right: 10px;
|
||||
}
|
||||
18
ControlPanel/themes/MasterControlProgram/modules/user_games/edit.js
Executable file
18
ControlPanel/themes/MasterControlProgram/modules/user_games/edit.js
Executable file
|
|
@ -0,0 +1,18 @@
|
|||
$(document).ready(function() {
|
||||
$('p > a').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
$('[name="change_user_id_main"]').removeClass('btn-primary').addClass('btn-warning');
|
||||
$('[href*="&delete_ip&"]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
|
||||
$('#mods').bind("DOMSubtreeModified",function(){
|
||||
$(this).find('table').addClass('table').addClass('table-sm').addClass('table-striped');
|
||||
$(this).find('select').addClass('form-control');
|
||||
$(this).find('input[type="text"]').addClass('form-control');
|
||||
$(this).find('[href$="&submit=delete_mod"]').addClass('btn').addClass('btn-xs').addClass('btn-danger');
|
||||
$(this).find('[href^="?m=user_games&p=install_cmds&home_id="]').addClass('btn').addClass('btn-xs').addClass('btn-primary');
|
||||
$(this).find('.set_options').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$(this).find('input[type="submit"]').addClass('btn').addClass('btn-sm').addClass('btn-primary');
|
||||
$(this).find('[id^="mod_cfg_id_"] > td').find('br').remove();
|
||||
|
||||
});
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
$(document).ready(function() {
|
||||
$('.main [href^="?m=user_games&p=edit&home_id="]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
|
||||
});
|
||||
|
|
@ -0,0 +1,4 @@
|
|||
#searchType {
|
||||
display: inline-block !important;
|
||||
width: auto !important;
|
||||
}
|
||||
19
ControlPanel/themes/MasterControlProgram/modules/user_games/user_games.js
Executable file
19
ControlPanel/themes/MasterControlProgram/modules/user_games/user_games.js
Executable file
|
|
@ -0,0 +1,19 @@
|
|||
$(document).ready(function() {
|
||||
$('[href="?m=user_games&p=add"]').addClass('btn').addClass('btn-primary').addClass('btn-sm');
|
||||
$('[href^="?m=user_games&p=del&home_id"]').addClass('btn').addClass('btn-danger').addClass('btn-xs');
|
||||
$('[href^="?m=user_games&p=edit&home_id"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
$('[href^="?m=user_games&p=clone&home_id"]').addClass('btn').addClass('btn-primary').addClass('btn-xs');
|
||||
|
||||
$('[href^="?m=user_games&p="]').each(function() {
|
||||
var newContent = $(this).text().replace('[', '').replace(']', '');
|
||||
$(this).text(newContent);
|
||||
});
|
||||
$('.size').each(function() {
|
||||
var newSize = $(this).text().replace('[', '').replace(']', '')
|
||||
$(this).text(newSize);
|
||||
});
|
||||
$('.size').addClass('btn').addClass('btn-xs').addClass('btn-default');
|
||||
|
||||
$('th:last-of-type').css('width', '150px');
|
||||
$('tr:last-of-type > td[colspan="2"]').removeAttr('colspan').attr('colspan', 3);
|
||||
});
|
||||
58
ControlPanel/themes/MasterControlProgram/modules/util/util.css
Executable file
58
ControlPanel/themes/MasterControlProgram/modules/util/util.css
Executable file
|
|
@ -0,0 +1,58 @@
|
|||
.ui-widget.ui-widget-content {
|
||||
border: none !important;
|
||||
}
|
||||
.ui-widget-content,
|
||||
.ui-widget-header
|
||||
{
|
||||
background: transparent !important;
|
||||
color: inherit !important;
|
||||
border: none !important;
|
||||
}
|
||||
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
|
||||
border: 1px solid rgba(25, 151, 198, 1) !important;
|
||||
background: rgba(25, 151, 198, 1) !important;
|
||||
}
|
||||
|
||||
#agent,
|
||||
#gameserver_id
|
||||
{
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 34px;
|
||||
padding: 6px 12px;
|
||||
font-size: 14px;
|
||||
line-height: 1.42857143;
|
||||
color: #fff;
|
||||
background-color: rgba(26, 28, 34, 0.4);
|
||||
background-image: none;
|
||||
border: 1px solid #2a2e3a;
|
||||
border-radius: 4px;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
|
||||
-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
|
||||
-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
|
||||
}
|
||||
|
||||
.ui-tabs .ui-tabs-panel {
|
||||
border: 1px solid #22252f !important;
|
||||
background-color: rgba(26, 28, 34, 0.2) !important;
|
||||
}
|
||||
|
||||
.ui-tabs .ui-tabs-nav li.ui-tabs-active {
|
||||
margin-bottom: 0px;
|
||||
padding-bottom: 0px;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li:not(.ui-tabs-active) {
|
||||
background-color: rgba(26, 28, 34, 0.2);
|
||||
border-color: rgb(35, 40, 46);
|
||||
margin-top: 3px;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li:not(.ui-tabs-active):hover {
|
||||
background-color: #1997c6;
|
||||
border-color: #1997c6;
|
||||
}
|
||||
.ui-tabs .ui-tabs-nav li:not(.ui-tabs-active) a,
|
||||
.ui-tabs .ui-tabs-nav li:not(.ui-tabs-active):hover a {
|
||||
color: #fff;
|
||||
}
|
||||
3
ControlPanel/themes/MasterControlProgram/modules/util/util.js
Executable file
3
ControlPanel/themes/MasterControlProgram/modules/util/util.js
Executable file
|
|
@ -0,0 +1,3 @@
|
|||
$(document).ready(function() {
|
||||
$('link[href="modules/util/util.css"]').remove();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue