summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2012-06-01 17:33:15 +0000
committerramon <ramongomez@us.es>2012-06-01 17:33:15 +0000
commitfe4f777d007676f149d4537c4f17dee77d275dd0 (patch)
tree3b6cc0c2e659c644128311649326b312513bd83d /admin/WebConsole
parent5de6fb0de32f8b0db29ee8137a92b23b9cbc9ada (diff)
Versión 1.0.4, #539: Incluir leyenda en página de estatus de ordenadores.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@3129 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/WebConsole')
-rw-r--r--admin/WebConsole/idiomas/php/cat/aulas_cat.php5
-rw-r--r--admin/WebConsole/idiomas/php/eng/aulas_eng.php6
-rw-r--r--admin/WebConsole/idiomas/php/esp/aulas_esp.php7
-rw-r--r--admin/WebConsole/images/ordenador_OPG.gif (renamed from admin/WebConsole/images/ordenador_RMB.gif)bin1060 -> 1060 bytes
-rw-r--r--admin/WebConsole/jscripts/aula.js4
-rw-r--r--admin/WebConsole/principal/aula.php11
6 files changed, 27 insertions, 6 deletions
diff --git a/admin/WebConsole/idiomas/php/cat/aulas_cat.php b/admin/WebConsole/idiomas/php/cat/aulas_cat.php
index 00e15d1e..42c3d7e7 100644
--- a/admin/WebConsole/idiomas/php/cat/aulas_cat.php
+++ b/admin/WebConsole/idiomas/php/cat/aulas_cat.php
@@ -54,5 +54,10 @@
$TbMsg[46]='Identificador ámbito';
$TbMsg[47]='"Log historico"';
$TbMsg[48]='"Log en tiempo real"';
+ $TbMsg["STATUS_BSY"]="Ejecutando";
+ $TbMsg["STATUS_OFF"]="Apagado";
+ $TbMsg["STATUS_OPG"]="OpenGnSys";
+ $TbMsg["STATUS_LNX"]="GNU/Linux";
+ $TbMsg["STATUS_WXP"]="Windows";
?>
diff --git a/admin/WebConsole/idiomas/php/eng/aulas_eng.php b/admin/WebConsole/idiomas/php/eng/aulas_eng.php
index 6f27779c..61feb594 100644
--- a/admin/WebConsole/idiomas/php/eng/aulas_eng.php
+++ b/admin/WebConsole/idiomas/php/eng/aulas_eng.php
@@ -54,6 +54,10 @@
$TbMsg[46]='Scope id';
$TbMsg[47]='"Historical log"';
$TbMsg[48]='"Real time log"';
-
+ $TbMsg["STATUS_BSY"]="Bussy";
+ $TbMsg["STATUS_OFF"]="Off";
+ $TbMsg["STATUS_OPG"]="OpenGnSys";
+ $TbMsg["STATUS_LNX"]="GNU/Linux";
+ $TbMsg["STATUS_WXP"]="Windows";
?>
diff --git a/admin/WebConsole/idiomas/php/esp/aulas_esp.php b/admin/WebConsole/idiomas/php/esp/aulas_esp.php
index d5a8368f..b2972c0b 100644
--- a/admin/WebConsole/idiomas/php/esp/aulas_esp.php
+++ b/admin/WebConsole/idiomas/php/esp/aulas_esp.php
@@ -54,7 +54,10 @@
$TbMsg[46]='Identificador ámbito';
$TbMsg[47]='"Log historico"';
$TbMsg[48]='"Log en tiempo real"';
-
-
+ $TbMsg["STATUS_BSY"]="Ejecutando";
+ $TbMsg["STATUS_OFF"]="Apagado";
+ $TbMsg["STATUS_OPG"]="OpenGnSys";
+ $TbMsg["STATUS_LNX"]="GNU/Linux";
+ $TbMsg["STATUS_WXP"]="Windows";
?>
diff --git a/admin/WebConsole/images/ordenador_RMB.gif b/admin/WebConsole/images/ordenador_OPG.gif
index 5d9306fc..5d9306fc 100644
--- a/admin/WebConsole/images/ordenador_RMB.gif
+++ b/admin/WebConsole/images/ordenador_OPG.gif
Binary files differ
diff --git a/admin/WebConsole/jscripts/aula.js b/admin/WebConsole/jscripts/aula.js
index ef031911..aa328055 100644
--- a/admin/WebConsole/jscripts/aula.js
+++ b/admin/WebConsole/jscripts/aula.js
@@ -111,13 +111,13 @@ function soIMG(so)
var MimgOrdenador="";
switch(so){
case 'INI':
- MimgOrdenador="ordenador_INI.gif"; // Cliente ocupado
+ MimgOrdenador="ordenador_INI.gif"; // Iniciando cliente
break;
case 'BSY':
MimgOrdenador="ordenador_BSY.gif"; // Cliente ocupado
break;
case 'OPG':
- MimgOrdenador="ordenador_RMB.gif"; // Cliente Rembo
+ MimgOrdenador="ordenador_OPG.gif"; // Cliente OpenGnSys
break;
case 'WS2':
MimgOrdenador="ordenador_WS2.gif"; // Windows Server 2003
diff --git a/admin/WebConsole/principal/aula.php b/admin/WebConsole/principal/aula.php
index e92f8367..7f6e7f8f 100644
--- a/admin/WebConsole/principal/aula.php
+++ b/admin/WebConsole/principal/aula.php
@@ -282,6 +282,15 @@ function pintaordenadores(){
}
}
echo '</TABLE>';
+ echo '
+<p>
+<table style="border: #d4d0c8 1px solid; background: #eeeeee" align=center>
+ <tr align="center">';
+ foreach ( Array ("OPG", "BSY", "WXP", "LNX", "OFF") as $status) {
+ echo ' <td><img src="../images/ordenador_'.$status.'.gif" alt="'.$status.'" width="24" /><br /><font color="#003300" size="1" face="Arial, Helvetica, sans-serif">'.$TbMsg["STATUS_$status"].'</font></td>';
+ }
+ echo ' </tr>';
+ echo '</table>';
if ($nombreaula!="")
echo '</DIV>';
}
@@ -602,4 +611,4 @@ function ContextualXMLAsistentes($litambito,$ambito){
$finallayerXML=$prelayerXML.$layerXML;
return($finallayerXML);
}
-} \ No newline at end of file
+}