diff options
author | Simon Rettberg | 2017-06-20 19:18:57 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-06-20 19:18:57 +0200 |
commit | a8f5e30c35fd211bbddbf26401bdb368a228791c (patch) | |
tree | e94a80020be380cfdb240ff6db14c036652d07a0 /modules-available/locationinfo/api.inc.php | |
parent | [locationinfo] Couple minor tweks/fixes/comments for doorsign.html (diff) | |
download | slx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.tar.gz slx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.tar.xz slx-admin-a8f5e30c35fd211bbddbf26401bdb368a228791c.zip |
[locationinfo] Use styled DIVs instead of SVGs for PC icons
Diffstat (limited to 'modules-available/locationinfo/api.inc.php')
-rw-r--r-- | modules-available/locationinfo/api.inc.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules-available/locationinfo/api.inc.php b/modules-available/locationinfo/api.inc.php index ebea0ccb..74b9fc96 100644 --- a/modules-available/locationinfo/api.inc.php +++ b/modules-available/locationinfo/api.inc.php @@ -100,6 +100,7 @@ function appendMachineData(&$array, $idList = false, $withPosition = false) } } $pc['pcState'] = LocationInfo::getPcState($row); + //$pc['pcState'] = ['BROKEN', 'OFF', 'IDLE', 'OCCUPIED'][mt_rand(0,3)]; // Add the array to the machines list. $array[$row['locationid']]['machines'][] = $pc; |