mirror of
https://github.com/optim-enterprises-bv/control-pane.git
synced 2025-10-30 17:37:59 +00:00
dark theme: colorized menu icons
This commit is contained in:
@@ -1690,7 +1690,8 @@ body.overview div.smoothie-chart-tooltip {
|
||||
background-color:rgba(255,255,255,0.7);
|
||||
}
|
||||
|
||||
#jailslist td:nth-child(1), #jailslist td:nth-child(2) {
|
||||
#jailslist td:nth-child(1), #jailslist td:nth-child(2),
|
||||
#bhyveslist td:nth-child(1), #bhyveslist td:nth-child(2) {
|
||||
cursor:pointer;
|
||||
}
|
||||
|
||||
|
||||
@@ -420,3 +420,41 @@ header .top-right {
|
||||
border-bottom:1px solid rgba(255,255,255,0.2);
|
||||
}
|
||||
.summary_table tr td:first-child {
|
||||
padding-right:10px;
|
||||
}
|
||||
|
||||
|
||||
#menu .icon-chart-bar:before {
|
||||
color:rgba(255,100,100,0.7);
|
||||
}
|
||||
#menu .icon-server:before {
|
||||
color:rgba(100,255,100,0.7);
|
||||
}
|
||||
#menu .icon-cubes:before {
|
||||
color:rgba(100,100,255,0.7);
|
||||
}
|
||||
#menu .icon-th-list:before {
|
||||
color:rgba(100,255,255,0.7);
|
||||
}
|
||||
#menu .icon-plug:before {
|
||||
color:rgba(255,100,255,0.7);
|
||||
}
|
||||
#menu .icon-key:before {
|
||||
color:rgba(255,255,100,0.7);
|
||||
}
|
||||
#menu .icon-inbox:before {
|
||||
color:rgba(100,255,100,0.7);
|
||||
}
|
||||
#menu .icon-upload:before {
|
||||
color:rgba(255,100,100,0.7);
|
||||
}
|
||||
#menu .icon-database:before {
|
||||
color:rgba(100,255,100,0.7);
|
||||
}
|
||||
#menu .icon-edit:before {
|
||||
color:rgba(255,100,255,0.7);
|
||||
}
|
||||
#menu .icon-list-alt:before {
|
||||
color:rgba(255,255,255,0.7);
|
||||
}
|
||||
#menu .icon-wpforms:before {
|
||||
|
||||
@@ -1734,7 +1734,20 @@ var clonos={
|
||||
var aspl=$('div.main').hasClass('asplit');
|
||||
if(!aspl) $('div.main').addClass('asplit');
|
||||
// var e=$(tr).parents('div.main');if(e){$(e).toggleClass('asplit');}
|
||||
this.getSummaryInfo(trid);
|
||||
this.getSummaryInfo(trid,tblid);
|
||||
$('.sel',tbl).removeClass('sel');
|
||||
$(tr).addClass('sel');
|
||||
$('tbody',tbl).animate({scrollTop: ($(tr).offset().top - $('tbody tr:first-child',tbl).offset().top)},400);
|
||||
}
|
||||
}
|
||||
if(tblid=='bhyveslist')
|
||||
{
|
||||
if(td==$(tr).children()[0] || td==$(tr).children()[1])
|
||||
{
|
||||
var aspl=$('div.main').hasClass('asplit');
|
||||
if(!aspl) $('div.main').addClass('asplit');
|
||||
// var e=$(tr).parents('div.main');if(e){$(e).toggleClass('asplit');}
|
||||
this.getSummaryInfo(trid,tblid);
|
||||
$('.sel',tbl).removeClass('sel');
|
||||
$(tr).addClass('sel');
|
||||
$('tbody',tbl).animate({scrollTop: ($(tr).offset().top - $('tbody tr:first-child',tbl).offset().top)},400);
|
||||
@@ -3174,10 +3187,10 @@ var clonos={
|
||||
delete graphs.list[id];
|
||||
},
|
||||
|
||||
getSummaryInfo:function(jname)
|
||||
getSummaryInfo:function(jname,mode)
|
||||
{
|
||||
this.openedJailSummary=jname;
|
||||
var posts=[{'name':'jname','value':jname}];
|
||||
var posts=[{'name':'jname','value':jname},{'name':'mode','value':mode}];
|
||||
this.loadData('getSummaryInfo',$.proxy(this.onGetSummaryInfo,this),posts);
|
||||
},
|
||||
onGetSummaryInfo:function(data)
|
||||
|
||||
Reference in New Issue
Block a user