diff options
author | Ramón M. Gómez <ramongomez@us.es> | 2021-03-09 20:16:51 +0100 |
---|---|---|
committer | Ramón M. Gómez <ramongomez@us.es> | 2021-03-09 20:16:51 +0100 |
commit | 344e9c1021fcea92dbcbdb10031dd29703196336 (patch) | |
tree | ddd0fc54fffe5974d373ee226d4ddb421c429527 /admin/WebConsole/principal | |
parent | 4a7356a3af3aea5f5f7fe81f6ff8679157d2b2f0 (diff) |
#991: Add maintenace status to lab status legend.
Diffstat (limited to 'admin/WebConsole/principal')
-rw-r--r-- | admin/WebConsole/principal/aula.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/admin/WebConsole/principal/aula.php b/admin/WebConsole/principal/aula.php index 4dda22cd..447a5727 100644 --- a/admin/WebConsole/principal/aula.php +++ b/admin/WebConsole/principal/aula.php @@ -358,13 +358,13 @@ function pintaordenadores(){ } echo ' </tr>'; echo ' <tr align="center" valign="top">'; - foreach (Array ("BSY", "WINS", "LNXS", "OFF") as $status) { + foreach (Array ("BSY", "WINS", "LNXS", "VDI") as $status) { echo ' <td><img src="../images/ordenador_'.$status.'.png" alt="'.$status.'" width="24" /><br /><font color="#003300" size="1" face="Arial, Helvetica, sans-serif">'.str_replace(" ", "<br>", $TbMsg["STATUS_$status"]).'</font></td>'; } echo ' </tr>'; echo ' <tr align="center" valign="top">'; - foreach (Array ("VDI") as $status) { - echo ' <td><img src="../images/ordenador_'.$status.'.png" alt="'.$status.'" width="24" /><br /><font color="#003300" size="1" face="Arial, Helvetica, sans-serif">'.str_replace(" ", "<br>", $TbMsg["STATUS_$status"]).'</font></td>'; + foreach (Array ("OFF", "MNT") as $status) { + echo ' <td><img src="../images/ordenador_'.$status.'.png" alt="'.$status.'" width="24" style="opacity: '.(1-0.5*($status=="MNT")).'" /><br /><font color="#003300" size="1" face="Arial, Helvetica, sans-serif">'.str_replace(" ", "<br>", $TbMsg["STATUS_$status"]).'</font></td>'; } echo ' </tr>'; echo '</table>'; |