summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-04-29 14:33:22 +0000
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-04-29 16:47:25 +0200
commitd4a20cbe01c3d5a9afd1902b880e46c3fc442b1d (patch)
treeede753e66df88bd1c729332fc634c5906efb949a /admin/WebConsole/principal
parented89e603e0b4c9d1bff617df9c127031001ed008 (diff)
#1043 Add WOL_SENT state support
Adds ogServer wol state, used to report WoL packet sending. This state can timeout (returning to off) or change to a new state after clients report a new one.
Diffstat (limited to 'admin/WebConsole/principal')
-rw-r--r--admin/WebConsole/principal/aula.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/principal/aula.php b/admin/WebConsole/principal/aula.php
index 447a5727..efc09178 100644
--- a/admin/WebConsole/principal/aula.php
+++ b/admin/WebConsole/principal/aula.php
@@ -363,7 +363,7 @@ function pintaordenadores(){
}
echo ' </tr>';
echo ' <tr align="center" valign="top">';
- foreach (Array ("OFF", "MNT") as $status) {
+ foreach (Array ("OFF", "MNT", "WOL_SENT") 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>';