From 756b483456158227cca9a52ae1b0bd82ec5dc5bd Mon Sep 17 00:00:00 2001 From: Javier Sánchez Parra Date: Thu, 25 Jun 2020 11:06:42 +0200 Subject: #980 Add Virtual status Since version 1.2.0, OpenGnsys supports ogVDI hypervisor OS. This commit a new status which indicates that clients are running ogVDI --- admin/WebConsole/comandos/includes/FiltradoAmbito.php | 10 ++++++++++ admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php | 7 +++++++ 2 files changed, 17 insertions(+) (limited to 'admin/WebConsole/comandos/includes') diff --git a/admin/WebConsole/comandos/includes/FiltradoAmbito.php b/admin/WebConsole/comandos/includes/FiltradoAmbito.php index 42ca61e7..7ea5dfbe 100644 --- a/admin/WebConsole/comandos/includes/FiltradoAmbito.php +++ b/admin/WebConsole/comandos/includes/FiltradoAmbito.php @@ -191,6 +191,9 @@ function RecorriendoOrdenadores($cmd) '.$TbMsg["STATUS_OSX"].' +'.$TbMsg["STATUS_VDI"].' + + '; @@ -312,6 +315,9 @@ function soIMG(so) case 'OSX': MimgOrdenador="ordenador_OSX.png"; // macOS break; + case 'VDI': + MimgOrdenador="ordenador_VDI.png"; // macOS + break; default: MimgOrdenador="ordenador_OFF.png"; // Apagado break; @@ -365,6 +371,10 @@ function selector(oSLCT,op,id) if(estado=="ordenador_OSX.png") oCHK.checked=sw; break; + case 9: // Virtual + if(estado=="ordenador_VDI.png") + oCHK.checked=sw; + break; } } } diff --git a/admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php b/admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php index 37e76afd..b8408b57 100644 --- a/admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php +++ b/admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php @@ -198,6 +198,9 @@ function soIMG(so) case 'OSX': MimgOrdenador="ordenador_OSX.png"; // macOS break; + case 'VDI': + MimgOrdenador="ordenador_VDI.png"; // macOS + break; default: MimgOrdenador="ordenador_OFF.png"; // Apagado break; @@ -251,6 +254,10 @@ function selector(oSLCT,op,id) if(estado=="ordenador_OSX.png") oCHK.checked=sw; break; + case 9: // Virtual + if(estado=="ordenador_VDI.png") + oCHK.checked=sw; + break; } } } -- cgit v1.2.3-18-g5258