source: admin/WebConsole/comandos/jscripts/InventarioSoftware.js @ 31371c1

918-git-images-111dconfigfileconfigure-oglivegit-imageslgromero-new-oglivemainmaint-cronmount-efivarfsmultivmmultivm-ogboot-installerogClonningEngineogboot-installer-jenkinsoglive-ipv6test-python-scriptsticket-301ticket-50ticket-50-oldticket-577ticket-585ticket-611ticket-612ticket-693ticket-700ubu24tplunification2use-local-agent-oglivevarios-instalacionwebconsole3
Last change on this file since 31371c1 was 5eae07e, checked in by alonso <alonso@…>, 16 years ago

primeros archivos de administración

git-svn-id: https://opengnsys.es/svn/trunk@539 a21b9725-9963-47de-94b9-378ad31fedc9

  • Property mode set to 100644
File size: 1.9 KB
Line 
1// *************************************************************************************************************************************************
2//      Libreria de scripts de Javascript
3// Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla
4// Fecha Creació�:2003-2004
5// Fecha Última modificación: Marzo-2005
6// Nombre del fichero: InventarioHardware.js
7// Descripción :
8//              Este fichero implementa las funciones javascript del fichero InventarioHardware.php (Comandos)
9// *************************************************************************************************************************************************
10 function confirmar(){
11        if (comprobar_datos()){
12                var tb_conf=document.getElementById("tabla_conf");
13                var ochecks=tb_conf.getElementsByTagName('INPUT')
14                var particiones=""
15                for(var i=0;i<ochecks.length;i++){
16                        if(ochecks[i].checked){
17                                var particion=ochecks[i].value
18                                particiones+=particion+";"                     
19                        }
20                }
21                var wurl="./gestores/gestor_InventarioSoftware.php"
22                wurl+="?particiones="+particiones+"&"+compone_urlejecucion();
23                ifr=document.getElementById("iframes_comodin"); // Toma objeto Iframe
24                ifr.src=wurl; // LLama a la p�ina gestora
25        }
26 }
27//________________________________________________________________________________________________________
28  function cancelar(){
29        alert(CTbMsg[0]);
30        location.href="../nada.php"
31  }
32//________________________________________________________________________________________________________
33  function comprobar_datos(){
34                return(comprobar_datosejecucion())
35}
36//________________________________________________________________________________________________________
37//     
38//      Comprobar retorno
39//________________________________________________________________________________________________________
40function resultado_inventariosoftware(resul){
41        if (!resul){
42                alert(CTbMsg[1]);       
43                return
44        }
45        alert(CTbMsg[2]);       
46}
Note: See TracBrowser for help on using the repository browser.