mirror of
https://github.com/unraid/webgui.git
synced 2026-04-22 10:08:25 -05:00
Change animation to spinning "refresh"
This commit is contained in:
@@ -41,7 +41,7 @@ function device_info(&$disk,$online) {
|
||||
$type = $disk['type']=='Flash' || $disk['type']=='New' ? $disk['type'] : 'Device';
|
||||
$action = strpos($disk['color'],'blink')===false ? 'down' : 'up';
|
||||
if ($var['fsState']=='Started' && $type!='Flash' && strpos($disk['status'],'_NP')===false) {
|
||||
$ctrl = "<i id='dev-$name' class='fa fa-sort-$action spacing' style='cursor:pointer' title='Click to spin $action device' onclick=\"toggle_state('$type','$name','$action')\"></i>";
|
||||
$ctrl = "<i id='dev-$name' class='fa fa-sort-$action fa-fw' style='cursor:pointer' title='Click to spin $action device' onclick=\"toggle_state('$type','$name','$action')\"></i>";
|
||||
} else
|
||||
$ctrl = '';
|
||||
switch ($disk['color']) {
|
||||
|
||||
Reference in New Issue
Block a user