index 4f432ce6228d332f2391f8982502aaa0c5dc321f..1c2c5fddf2b83e4bf234e4e7210797898911dd36 100644 (file)
<h2>Opsi host</h2>
+{if $init_failed}
+
+<font style='color: #FF0000;'>{msgPool type=siError p=$message}</font>
+
+<input type='submit' name='reinit' value="{t}Retry{/t}">
+
+{else}
<table style="width: 100%;">
<tr>
<td colspan="2">
<table>
+ {if $parent_mode}
+ <tr>
+ <td>{t}Name{/t}</td>
+ <td><input type='text' name='hostId' value='{$hostId}'></td>
+ </tr>
+ {/if}
<tr>
<td>{t}Boot product{/t}</td>
<td>
<select name="opsi_netboot_product">
+ {foreach from=$ANP item=item key=key}
+ <option {if $key == $SNP} selected {/if} value="{$key}">{$key}</option>
+ {/foreach}
</select>
</td>
</tr>
</tr>
<tr>
<td style="width:50%;"><h2>Installed products</h2>
- <select size="10" multiple style="width:100%;">
- </select>
+ {$divSLP}
</td>
- <td><</td>
<td style="width:50%;"><h2>Available products</h2>
- <select size="10" multiple style="width:100%;">
- </select>
+ {$divALP}
</td>
</tr>
</table>
+<input type='hidden' name='opsigeneric_posted' value='1'>
+{/if}