Change animation to spinning "refresh"

This commit is contained in:
bergware
2018-03-19 10:00:03 +01:00
parent c73dcb52d5
commit 82f4c05422
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -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']) {