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
Rev | Line | |
---|
[3ec149c] | 1 | // ************************************************************************************************************************************************* |
---|
| 2 | // Libreria de scripts de Javascript |
---|
| 3 | // Autor: José Manuel Alonso (E.T.S.I.I.) Universidad de Sevilla |
---|
| 4 | // Fecha Creación: 2009-2010 |
---|
| 5 | // Fecha Última modificación: Agosto-2010 |
---|
| 6 | // Nombre del fichero: IniciarSesion.js |
---|
| 7 | // Descripción : |
---|
| 8 | // Este fichero implementa las funciones javascript del fichero IniciarSesion.php (Comandos) |
---|
| 9 | // ************************************************************************************************************************************************* |
---|
| 10 | function confirmar(){ |
---|
| 11 | if (comprobar_datos()){ |
---|
| 12 | // Compone atributos del comando |
---|
| 13 | tb_conf=document.getElementById("tabla_conf"); |
---|
| 14 | var ochecks=tb_conf.getElementsByTagName('INPUT') |
---|
| 15 | var particion; |
---|
| 16 | for(var i=0;i<ochecks.length;i++){ |
---|
| 17 | if(ochecks[i].checked){ |
---|
| 18 | particion=ochecks[i].value |
---|
| 19 | } |
---|
| 20 | } |
---|
| 21 | var RC='@'; |
---|
| 22 | document.fdatosejecucion.atributos.value="par="+particion+RC; |
---|
| 23 | document.fdatosejecucion.submit(); |
---|
| 24 | } |
---|
| 25 | } |
---|
| 26 | //________________________________________________________________________________________________________ |
---|
| 27 | function cancelar() |
---|
| 28 | { |
---|
| 29 | alert(CTbMsg[0]); |
---|
| 30 | location.href="../nada.php" |
---|
| 31 | } |
---|
| 32 | //________________________________________________________________________________________________________ |
---|
| 33 | function comprobar_datos() |
---|
| 34 | { |
---|
| 35 | tb_conf=document.getElementById("tabla_conf"); |
---|
| 36 | var ochecks=tb_conf.getElementsByTagName('INPUT') |
---|
| 37 | var op=0 |
---|
| 38 | for(var i=0;i<ochecks.length;i++){ |
---|
| 39 | if(ochecks[i].checked) op++; |
---|
| 40 | } |
---|
| 41 | if(op==0){ |
---|
| 42 | alert(TbMsg[1]) |
---|
| 43 | return(false); |
---|
| 44 | } |
---|
| 45 | return(comprobar_datosejecucion()) |
---|
| 46 | } |
---|
| 47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.