From 344e9c1021fcea92dbcbdb10031dd29703196336 Mon Sep 17 00:00:00 2001 From: "Ramón M. Gómez" Date: Tue, 9 Mar 2021 20:16:51 +0100 Subject: #991: Add maintenace status to lab status legend. --- admin/WebConsole/idiomas/php/cat/estados_cat.php | 3 ++- admin/WebConsole/idiomas/php/eng/estados_eng.php | 3 ++- admin/WebConsole/idiomas/php/esp/estados_esp.php | 3 ++- admin/WebConsole/images/ordenador_MNT.png | Bin 0 -> 778 bytes admin/WebConsole/principal/aula.php | 6 +++--- 5 files changed, 9 insertions(+), 6 deletions(-) create mode 100644 admin/WebConsole/images/ordenador_MNT.png (limited to 'admin') 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 new file mode 100644 index 00000000..69da340e Binary files /dev/null and b/admin/WebConsole/images/ordenador_MNT.png differ 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 ' '; echo ' '; - foreach (Array ("BSY", "WINS", "LNXS", "OFF") as $status) { + foreach (Array ("BSY", "WINS", "LNXS", "VDI") as $status) { echo ' '.$status.'
'.str_replace(" ", "
", $TbMsg["STATUS_$status"]).'
'; } echo ' '; echo ' '; - foreach (Array ("VDI") as $status) { - echo ' '.$status.'
'.str_replace(" ", "
", $TbMsg["STATUS_$status"]).'
'; + foreach (Array ("OFF", "MNT") as $status) { + echo ' '.$status.'
'.str_replace(" ", "
", $TbMsg["STATUS_$status"]).'
'; } echo ' '; echo ''; -- cgit v1.2.3-18-g5258