mirror of
https://github.com/unraid/webgui.git
synced 2026-05-08 05:12:14 -05:00
@@ -47,19 +47,16 @@ var dfm_read = {};
|
||||
function dfm_footer(action, text) {
|
||||
switch (action) {
|
||||
case 'show':
|
||||
$('#countdown').show();
|
||||
$('#user-notice').show();
|
||||
break;
|
||||
case 'hide':
|
||||
$('#countdown').hide();
|
||||
$('#user-notice').hide();
|
||||
break;
|
||||
case 'write':
|
||||
if ($('#countdown').html() == '') $('#countdown').html('<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>');
|
||||
$('#user-notice').html(text);
|
||||
let icon = '<a class="hand" onclick="dfm_openDialog(true)" title="_(File Manager)_"><i class="icon-u-duplicate dfm"></i></a>';
|
||||
$('#user-notice').html(icon + text);
|
||||
break;
|
||||
case 'clear':
|
||||
$('#countdown').html('');
|
||||
$('#user-notice').html('');
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
Menu="Scheduler:1"
|
||||
Title="Parity Check"
|
||||
Tag="calendar"
|
||||
Cond="$disks['parity']['device'] || $disks['parity2']['device']"
|
||||
Cond="$disks['parity']['device'] || $disks['parity2']['device'] || count(array_filter(array_column($disks,'type'),function($type){return $type=='Data';}))"
|
||||
---
|
||||
<?PHP
|
||||
/* Copyright 2012-2025, Bergware International.
|
||||
|
||||
Reference in New Issue
Block a user