Code

Updated PartitionTable &PartitionTableEntry templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Sep 2005 06:38:29 +0000 (06:38 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Sep 2005 06:38:29 +0000 (06:38 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1323 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/FAI/faiPartitionTable.tpl
plugins/admin/FAI/faiPartitionTableEntry.tpl

index e1d511c9b07e955d9f758c7c8ed21830e7abd382..6d3f6229af2f83cfaeb49ca1366d97860b384d2b 100644 (file)
@@ -1,36 +1,51 @@
-<h2>{t}FAI partition table{/t}
-<br><br>
-<table>
-       <tr>
-               <td>
-                       {t}Name{/t}
-               </td>
-               <td>
-                       <input value="{$cn}" disabled>
-               </td>
-       </tr>
-       <tr>
-               <td>
-                       {t}Description{/t}
-               </td>
-               <td>
-                       <input value="{$description}" {$description} name="description">
-               </td>
-       </tr>
-</table>
-<br>
-<br>
-<h2>{t}Already defined disk{/t}</h2>
 <table width="100%">
        <tr>
+               <td width="50%" valign="top">
+                               <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2><br>
+                               <table summary="" cellspacing="4">
+                                       <tr>
+                                               <td>
+                                                       <LABEL for="cn">
+                                                       {t}Name{/t}
+                                                       </LABEL>
+                                               </td>
+                                               <td>
+                                                       <input value="{$cn}" disabled id="cn">
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>
+                                                       <LABEL for="description">
+                                                       {t}Description{/t}{$must}
+                                                       </LABEL>
+                                               </td>
+                                               <td>
+                                                       <input value="{$description}" {$description} name="description" id="description">
+                                               </td>
+                                       </tr>
+                               </table>
+               </td>
+               <td style="border-left: 1px solid rgb(160, 160, 160);">
+                  &nbsp;
+               </td>
                <td>
-               <select name="disks" title="{t}Choose a disk to delete or edit{/t}" style="width:450px;height:250px;" multiple>
-                               {html_options values=$diskKeys output=$disks}
-               </select><br>
-                       <input type="submit" name="AddDisk"     value="{t}Add{/t}">
-                       <input type="submit" name="EditDisk"    value="{t}Edit{/t}">
-                       <input type="submit" name="DelDisk"     value="{t}Delete{/t}">
+                               <h2><img alt="" src="images/list_ogroup.png" align="middle" title="{t}Objects{/t}">&nbsp;
+                                       <LABEL for="SubObject">
+                                               {t}This partition table contains following disks{/t}
+                                       </LABEL>
+                               </h2><br>
+                               <table width="100%">
+                               <tr>
+                                       <td>
+                                               <select name="disks" title="{t}Choose a disk to delete or edit{/t}" style="width:350px;height:120px;" size=10 id="SubObject">
+                                                       {html_options values=$diskKeys output=$disks}
+                                               </select><br>
+                                               <input type="submit" name="AddDisk"     value="{t}Add{/t}"              title="{t}Add{/t}">
+                                               <input type="submit" name="EditDisk"    value="{t}Edit{/t}"    title="{t}Edit{/t}">
+                                               <input type="submit" name="DelDisk"     value="{t}Delete{/t}"  title="{t}Delete{/t}">
+                                       </td>
+                               </tr>
+                               </table>
                </td>
        </tr>
 </table>
-       
index e06668263fa4afb901d608ec831889ab9e07ea43..776905dae87684b5b3ad08b053b7cd4aeac3c3af 100644 (file)
@@ -1,32 +1,39 @@
-<h2>{t}FAI partition table entry{/t}
 <input type="hidden" name="TableEntryFrameSubmitted" value="1">
-<br><br>
+<br>
+<h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
 <table>
        <tr>
-               <td>{t}Name{/t}
+               <td><LABEL for="DISK_cn">
+                       {t}Name{/t}
+                       </LABEL>&nbsp;{$must}
                </td>
                <td>
-               <select name="DISK_cn" title="{t}Choose a disc name{/t}" {$DISK_cnACL}>
+                       <select name="DISK_cn" title="{t}Choose a disc name{/t}" {$DISK_cnACL} id="DISK_cn">
                 {html_options values=$cns output=$cns selected=$DISK_cn}
-            </select><br>
+            </select>
                </td>
        </tr>
        <tr>
-               <td>{t}Description{/t}
+               <td><LABEL for="DISK_description">
+                       {t}Description{/t}
+                       </LABEL>&nbsp;{$must}
                </td>
-               <td><input name="DISK_description" value="{$DISK_description}">
+               <td>
+                       <input value="{$DISK_description}" name="DISK_description" id="DISK_description">
                </td>
        </tr>
-</table>       
+</table>
 <br>
 <p class="seperator">&nbsp;</p>
 <br>
+<h2><img alt="" src="images/editpaste.png" align="middle" title="{t}Partition entries{/t}">&nbsp;{t}Partition entries{/t}</h2>
 {$setup}
 <br>
 <input type="submit" name="AddPartition" value="{t}Add partition{/t}" >
 <br>   
 <br>
 <p class="seperator">&nbsp;</p>
+<br>
 <div style="align:right;" align="right">
 <input type="submit" name="SaveDisk" value="{t}Save{/t}" >
 <input type="submit" name="CancelDisk" value="{t}cancel{/t}" >