mirror of
https://github.com/unraid/webgui.git
synced 2026-03-11 21:38:50 -05:00
Add collapsable CPU load details in Dashboard
This commit is contained in:
@@ -503,10 +503,8 @@ function dropdown(menu) {
|
||||
$(select).change();
|
||||
}
|
||||
function toggle_CPU(init) {
|
||||
if ($.cookie('cpu')===undefined) {
|
||||
if (!init) $.cookie('cpu','close',{path:'/',expires:3650});
|
||||
} else {
|
||||
if (!init) $.removeCookie('cpu',{path:'/'});
|
||||
if (!init) {
|
||||
if ($.cookie('cpu')===undefined) $.cookie('cpu','close',{path:'/',expires:3650}); else $.removeCookie('cpu',{path:'/'});
|
||||
}
|
||||
if ($.cookie('cpu')===undefined) {
|
||||
$('.cpu_open').show();
|
||||
|
||||
Reference in New Issue
Block a user