summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/comandos/includes
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-06-25 11:06:42 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-26 14:43:12 +0200
commit756b483456158227cca9a52ae1b0bd82ec5dc5bd (patch)
treedf2b9b95a6469b8ca1564c13d2242a20bb9f20b0 /admin/WebConsole/comandos/includes
parent4e56964e89d7d0309bfa9848aa3d6d54cd288a3d (diff)
#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
Diffstat (limited to 'admin/WebConsole/comandos/includes')
-rw-r--r--admin/WebConsole/comandos/includes/FiltradoAmbito.php10
-rw-r--r--admin/WebConsole/comandos/includes/FiltradoAmbitoMovAulas.php7
2 files changed, 17 insertions, 0 deletions
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)
<TD align="center">'.$TbMsg["STATUS_OSX"].'</TD>
<TD><INPUT type="checkbox" checked onclick="selector(this,8,'.$cid.')"></TD>
+<TD align="center">'.$TbMsg["STATUS_VDI"].'</TD>
+<TD><INPUT type="checkbox" checked onclick="selector(this,9,'.$cid.')"></TD>
+
</TR>
</TABLE>';
@@ -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;
}
}
}