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 | |
parent | 4a7356a3af3aea5f5f7fe81f6ff8679157d2b2f0 (diff) |
#991: Add maintenace status to lab status legend.
Diffstat (limited to 'admin/WebConsole')
-rw-r--r-- | admin/WebConsole/idiomas/php/cat/estados_cat.php | 3 | ||||
-rw-r--r-- | admin/WebConsole/idiomas/php/eng/estados_eng.php | 3 | ||||
-rw-r--r-- | admin/WebConsole/idiomas/php/esp/estados_esp.php | 3 | ||||
-rw-r--r-- | admin/WebConsole/images/ordenador_MNT.png | bin | 0 -> 778 bytes | |||
-rw-r--r-- | admin/WebConsole/principal/aula.php | 6 |
5 files changed, 9 insertions, 6 deletions
diff --git a/admin/WebConsole/idiomas/php/cat/estados_cat.php b/admin/WebConsole/idiomas/php/cat/estados_cat.php index e82751d0..119d6346 100644 --- a/admin/WebConsole/idiomas/php/cat/estados_cat.php +++ b/admin/WebConsole/idiomas/php/cat/estados_cat.php @@ -11,8 +11,9 @@ $TbMsg["STATUS_INI"]="Iniciant"; $TbMsg["STATUS_OFF"]="Apagat"; $TbMsg["STATUS_OPG"]="OpenGnsys"; $TbMsg["STATUS_LNX"]="GNU/Linux"; -$TbMsg["STATUS_WXP"]="Windows"; +$TbMsg["STATUS_VDI"]="Manteniment"; $TbMsg["STATUS_VDI"]="Virtual"; +$TbMsg["STATUS_WXP"]="Windows"; // Estats nou agent OGAgent. $TbMsg["STATUS_LNXS"]="Sessió GNU/Linux"; $TbMsg["STATUS_OSX"]="macOS"; diff --git a/admin/WebConsole/idiomas/php/eng/estados_eng.php b/admin/WebConsole/idiomas/php/eng/estados_eng.php index 6609b5b8..c5f2ed7b 100644 --- a/admin/WebConsole/idiomas/php/eng/estados_eng.php +++ b/admin/WebConsole/idiomas/php/eng/estados_eng.php @@ -11,8 +11,9 @@ $TbMsg["STATUS_INI"]="Initializing"; $TbMsg["STATUS_OFF"]="Off"; $TbMsg["STATUS_OPG"]="OpenGnsys"; $TbMsg["STATUS_LNX"]="GNU/Linux"; -$TbMsg["STATUS_WXP"]="Windows"; +$TbMsg["STATUS_MNT"]="Maintenance"; $TbMsg["STATUS_VDI"]="Virtual"; +$TbMsg["STATUS_WXP"]="Windows"; // New OGAgent states. $TbMsg["STATUS_LNXS"]="GNU/Linux session"; $TbMsg["STATUS_OSX"]="MacOS"; diff --git a/admin/WebConsole/idiomas/php/esp/estados_esp.php b/admin/WebConsole/idiomas/php/esp/estados_esp.php index e98c70c8..b1fce40f 100644 --- a/admin/WebConsole/idiomas/php/esp/estados_esp.php +++ b/admin/WebConsole/idiomas/php/esp/estados_esp.php @@ -11,8 +11,9 @@ $TbMsg["STATUS_INI"]="Iniciando"; $TbMsg["STATUS_OFF"]="Apagado"; $TbMsg["STATUS_OPG"]="OpenGnsys"; $TbMsg["STATUS_LNX"]="GNU/Linux"; -$TbMsg["STATUS_WXP"]="Windows"; +$TbMsg["STATUS_MNT"]="Mantenimiento"; $TbMsg["STATUS_VDI"]="Virtual"; +$TbMsg["STATUS_WXP"]="Windows"; // Estados nuevo agente OGAgent. $TbMsg["STATUS_LNXS"]="Sesión GNU/Linux"; $TbMsg["STATUS_OSX"]="macOS"; diff --git a/admin/WebConsole/images/ordenador_MNT.png b/admin/WebConsole/images/ordenador_MNT.png Binary files differnew file mode 100644 index 00000000..69da340e --- /dev/null +++ b/admin/WebConsole/images/ordenador_MNT.png 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>'; |