mirror of
https://github.com/unraid/webgui.git
synced 2026-01-15 22:19:58 -06:00
Added warning on dashbaord when parity is invalid and no build in progress
This commit is contained in:
@@ -310,7 +310,7 @@ case 'parity':
|
||||
}
|
||||
echo "<span class='orange p0'><strong>".$mode." in progress... Completed: ".number_format(($var['mdResyncPos']/($var['mdResync']/100+1)),0)." %.</strong></span>";
|
||||
echo "<br><i class='fa fa-clock-o'></i> <em>Elapsed time: ".my_clock(floor((time()-$var['sbUpdated'])/60)).". Estimated finish: ".my_clock(round(((($var['mdResyncDt']*(($var['mdResync']-$var['mdResyncPos'])/($var['mdResyncDb']/100+1)))/100)/60),0))."</em>";
|
||||
} else {
|
||||
} elseif ($var['mdNumDisabled']==0) {
|
||||
extract(parse_plugin_cfg('dynamix', true));
|
||||
list($m,$h) = explode(' ', $parity['hour']);
|
||||
$time = time();
|
||||
@@ -378,6 +378,8 @@ case 'parity':
|
||||
echo "</strong><br><i class='fa fa-clock-o'></i> <em>Due in: ";
|
||||
echo my_clock(floor($t/60));
|
||||
echo "</em>";
|
||||
} else {
|
||||
echo "<i class='fa fa-warning'></i> Please start a parity build immediately";
|
||||
}
|
||||
break;
|
||||
case 'shares':
|
||||
|
||||
Reference in New Issue
Block a user