Code

Updated FAI partition handling
[gosa.git] / gosa-plugins / fai / admin / fai / faiDiskEntry.tpl
index b1de5061ea52ab5c3cc893426d095630fa7701b8..77404af1b162996843aacd9a886a231125d4c873 100644 (file)
     </td>
        </tr>
 </table>
-<br>
+
+{if $FAIdiskType == "lvm"}
+
+<p class="seperator">&nbsp;</p>
+<table width="100%">
+  <tr>
+    <td>
+      <h2>{t}Combined physical partitions{/t}</h2>
+
+      <select name='physicalPartition' size=5 style="width:100%;">
+        {html_options options=$plist}
+      </select>
+      <br>
+      <select name='lvmPartitionAdd'>
+        {html_options options=$physicalPartitionList}
+      </select>
+      <input type="submit" name='addLvmPartition' value="{msgPool type="addButton"}">&nbsp;
+      <input type="submit" name='delLvmPartition' value="{msgPool type="delButton"}">&nbsp;
+    </td>
+  </tr>
+</table>
+
+{/if}
 <p class="seperator">&nbsp;</p>
 <br>
 <h2><img class="center" alt="" src="images/lists/paste.png" align="middle" title="{t}Partition entries{/t}">&nbsp;{t}Partition entries{/t}</h2>