summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/principal/boot_grub4dos_tabla.php
diff options
context:
space:
mode:
authorIrina Gómez <irinagomez@us.es>2019-02-20 09:21:36 +0100
committerIrina Gómez <irinagomez@us.es>2019-02-20 09:21:36 +0100
commit8c88e08bee16651c6b6c10303b7a1f519a4cc7ae (patch)
treea96687db96181496f660ce5d6e973163283870af /admin/WebConsole/principal/boot_grub4dos_tabla.php
parent178c3f6de9d69798c27e1b42d408e5d47b4b181f (diff)
#802 #888 Console: in management of NetBootAvanzado can use bios and uefi templates.
Diffstat (limited to 'admin/WebConsole/principal/boot_grub4dos_tabla.php')
-rw-r--r--admin/WebConsole/principal/boot_grub4dos_tabla.php57
1 files changed, 18 insertions, 39 deletions
diff --git a/admin/WebConsole/principal/boot_grub4dos_tabla.php b/admin/WebConsole/principal/boot_grub4dos_tabla.php
index a19e4b6d..e4d9e7c3 100644
--- a/admin/WebConsole/principal/boot_grub4dos_tabla.php
+++ b/admin/WebConsole/principal/boot_grub4dos_tabla.php
@@ -1,58 +1,37 @@
+<script>
+function accion (opcion) {
+ document.forms[0].opcioncrear.value = opcion.name;
+ document.forms[0].action = "./boot_grub4dos_crear.php";
+}
+
+</script>
+
<td valign="top">
<TABLE width="150" align=left border=1 cellPadding=1 cellSpacing=1 class=tabla_datos >
<TR>
<TD width="150" height="45" valign="middle">
- <form name="crearranque" method="post" action="./boot_grub4dos.php">
- <input type="hidden" name="litambito" value="<?php echo $litambito?>">
- <input type="hidden" name="idambito" value="<?php echo $idambito?>">
- <input type="hidden" name="nombreambito" value="<?php echo $nombreambito?>">
- <input type="hidden" name="opcioncrear" value="">
- </form>
+ <input type="radio" name="boottype" value="bios" checked>bios
+ <input type="radio" name="boottype" value="uefi">uefi
+
</TD>
</TR>
<TR>
- <TD width="150" height="100" valign="middle"> <?php echo $TbMsg[3]?><br />
- <form name="crearranque" method="post" action="./boot_grub4dos_crear.php">
- <input type="hidden" name="litambito" value="<?php echo $litambito?>">
- <input type="hidden" name="idambito" value="<?php echo $idambito?>">
- <input type="hidden" name="nombreambito" value="<?php echo $nombreambito?>">
- <input type="hidden" name="opcioncrear" value="1">
- <input type="hidden" name="ultimonumero" value="<?php echo $ultimonumero?>">
- <input type="submit" value=<?php echo $TbMsg[0]?> name="nuevoarran">
- </form>
+ <TD id="crear" width="150" height="100" valign="middle"> <?php echo $TbMsg[3]?><br />
+ <input type="submit" value=<?php echo $TbMsg[0]?> name="crear" onclick="accion(this)">
</TD>
</TR>
<TR>
- <TD width="150" height="100" valign="middle"> <?php echo $TbMsg[4]?><br />
- <form name="crearranque" method="post" action="./boot_grub4dos_crear.php">
- <input type="hidden" name="litambito" value="<?php echo $litambito?>">
- <input type="hidden" name="idambito" value="<?php echo $idambito?>">
- <input type="hidden" name="nombreambito" value="<?php echo $nombreambito?>">
- <input type="hidden" name="opcioncrear" value="2">
- <input type="submit" value=<?php echo $TbMsg[1]?> name="nuevoarran">
- </form>
+ <TD id="modificar" width="150" height="100" valign="middle"> <?php echo $TbMsg[4]?><br />
+ <input type="submit" value=<?php echo $TbMsg[1]?> name="modificar" onclick="accion(this)">
</TD>
</TR>
<TR>
- <TD width="150" height="100" valign="middle"> <?php echo $TbMsg[5]?><br />
- <form name="crearranque" method="post" action="./boot_grub4dos_crear.php">
- <input type="hidden" name="litambito" value="<?php echo $litambito?>">
- <input type="hidden" name="idambito" value="<?php echo $idambito?>">
- <input type="hidden" name="nombreambito" value="<?php echo $nombreambito?>">
- <input type="hidden" name="opcioncrear" value="3">
- <input type="submit" value=<?php echo $TbMsg[2]?> name="nuevoarran">
- </form>
+ <TD id="eliminar" width="150" height="100" valign="middle"> <?php echo $TbMsg[5]?><br />
+ <input type="submit" value=<?php echo $TbMsg[2]?> name="eliminar" onclick="accion(this)">
</TD>
</TR>
<TR>
- <TD width="150" height="150" valign="middle">
- <form name="crearranque" method="post" action="./boot_grub4dos.php">
- <input type="hidden" name="litambito" value="<?php echo $litambito?>">
- <input type="hidden" name="idambito" value="<?php echo $idambito?>">
- <input type="hidden" name="nombreambito" value="<?php echo $nombreambito?>">
- <input type="hidden" name="opcion"crear value="">
- </form>
- </TD>
+ <TD width="150" height="150" valign="middle">&nbsp; </TD>
</TR>
</TABLE>
</td>