Code

Hook, Script, Vairaible, Template - templates designed
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Sep 2005 06:26:47 +0000 (06:26 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 8 Sep 2005 06:26:47 +0000 (06:26 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1322 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/FAI/faiHookEntry.tpl
plugins/admin/FAI/faiScriptEntry.tpl

index 6a4ed396f2b7f7ece55679e218bad8cd84a10e98..fc9e3eee8a1cde3cdd6e9684dd2d0ab532b41b03 100644 (file)
@@ -1,44 +1,61 @@
-<h2>{t}FAI script set{/t}
-<br><br>
 <input type="hidden" name="SubObjectFormSubmitted" value="1">
-<table>
-    <tr>
-        <td>
-            {t}Name{/t}
-        </td>
-        <td>
-            <input value="{$Object_cn}" name="Object_cn">
-        </td>
-    </tr>
-    <tr>
-        <td>
-            {t}Description{/t}
-        </td>
-        <td>
-            <input value="{$Object_description}" name="Object_description">
-        </td>
-    </tr>
-</table>
-<p class="seperator">&nbsp;</p>
-<br>
-<h2>{t}Script{/t}</h2>
-<table width="100%">
-    <tr>
-        <td>
-               <input type="text" name="Object_FAIscript" value="{$Object_FAIscript}">
+<table width="100%" summary="">
+       <tr>
+               <td valign="top" width="50%">
+                       <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
+                               <table>
+                                       <tr>
+                                               <td>
+                                                       {t}Name{/t}&nbsp;{$must}
+                                               </td>
+                                               <td>
+                                                       <input value="{$Object_cn}" name="Object_cn">
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>
+                                                       {t}Description{/t}&nbsp;{$must}
+                                               </td>
+                                               <td>
+                                                       <input value="{$Object_description}" name="Object_description">
+                                               </td>
+                                       </tr>
+                               </table>
                </td>
-    </tr>
-    <tr>
-        <td>
-               <input type="text" name="Object_FAItask" value="{$Object_FAItask}">
+               <td style="border-left: 1px solid rgb(160, 160, 160);">
+           &nbsp;
+        </td>
+               <td>
+                               <h2><img alt="" src="images/rightarrow.png" align="middle" title="{t}Hook attributes{/t}">&nbsp;{t}Hook attributes{/t}</h2>
+                               <table width="100%">
+                                       <tr>
+                                               <td>
+                                                       <LABEL for="Object_FAIscript">
+                                                       {t}Script{/t}&nbsp;{$must}
+                                                       </LABEL>
+                                               </td>
+                                               <td>
+                                                       <input type="text" name="Object_FAIscript" value="{$Object_FAIscript}" id="Object_FAIscript">
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>
+                                                       <LABEL for="Object_FAItask">
+                                                       {t}Task{/t}&nbsp;{$must}
+                                                       </LABEL>
+                                               </td>
+                                               <td>
+                                                       <input type="text" name="Object_FAItask" value="{$Object_FAItask}" id="Object_FAItask">
+                                               </td>
+                                       </tr>
+                               </table>
                </td>
-    </tr>
+       </tr>
 </table>
-<br>
 <p class="seperator">&nbsp;</p>
 <br>
 <div style="align:right;" align="right">
-       <input type="submit" value="{t}Save{/t}"        name="SaveSubObject">
+       <input type="submit" value="{t}Save{/t}"        name="SaveSubObject">&nbsp;
        <input type="submit" value="{t}Abort{/t}"       name="CancelSubObject">
 </div>
 
index a2ce2216f88faec5ded6da1431848d90297995c8..674994abdd24156d8fe21c06af89a0faf3296c79 100644 (file)
@@ -1,50 +1,66 @@
-<h2>{t}FAI script set{/t}
-<br><br>
 <input type="hidden" name="SubObjectFormSubmitted" value="1">
-<table>
-    <tr>
-        <td>
-            {t}Name{/t}
-        </td>
-        <td>
-            <input value="{$Object_cn}" name="Object_cn">
-        </td>
-    </tr>
-    <tr>
-        <td>
-            {t}Description{/t}
-        </td>
-        <td>
-            <input value="{$Object_description}" name="Object_description">
-        </td>
-    </tr>
-    <tr>
-        <td>
-            {t}Priority{/t}
-        </td>
-        <td>
-                       <select name="Object_FAIpriority" title="{t}Choose a priority{/t}">
-                {html_options values=$Object_FAIprioritys output=$Object_FAIprioritys selected=$Object_FAIpriority}
-            </select><br>
-                       
+<table width="100%" summary="">
+       <tr>
+               <td valign="top" width="50%">
+                       <h2><img alt="" src="images/house.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
+                               <table>
+                                       <tr>
+                                               <td>
+                                                       {t}Name{/t}&nbsp;{$must}
+                                               </td>
+                                               <td>
+                                                       <input value="{$Object_cn}" name="Object_cn">
+                                               </td>
+                                       </tr>
+                                       <tr>
+                                               <td>
+                                                       {t}Description{/t}&nbsp;{$must}
+                                               </td>
+                                               <td>
+                                                       <input value="{$Object_description}" name="Object_description">
+                                               </td>
+                                       </tr>
+                               </table>
+               </td>
+               <td style="border-left: 1px solid rgb(160, 160, 160);">
+           &nbsp;
         </td>
-    </tr>
+               <td valign="top">
+                               <h2><img alt="" src="images/edit.png" align="middle" title="{t}Script attributes{/t}">&nbsp;{t}Script attributes{/t}</h2>
+                               <table width="100%">
+                                       <tr>
+                                               <td>
+                                                       <LABEL for="Object_FAIpriority">
+                                                       {t}Priority{/t}
+                                                       </LABEL>
+                                               </td>
+                                               <td>
+                                                   <select name="Object_FAIpriority" title="{t}Choose a priority{/t}" Object_FAIpriority>
+                                               {html_options values=$Object_FAIprioritys output=$Object_FAIprioritys selected=$Object_FAIpriority}
+                                       </select>
+                                               </td>
+                                       </tr>
+                               </table>
+               </td>
+       </tr>
 </table>
 <p class="seperator">&nbsp;</p>
-<br>
-<h2>{t}Script{/t}</h2>
+<h2><img alt="" src="images/envelope.png" align="middle" title="{t}Script attributes{/t}">&nbsp;
+       <LABEL for="Object_FAIscript">
+               {t}Script{/t}
+       </LABEL>
+       </h2>
 <table width="100%">
     <tr>
         <td>
-               <textarea name="Object_FAIscript" style="width:100%;height:300px;">{$Object_FAIscript}</textarea>
-               </td>
+            <textarea name="Object_FAIscript" style="width:100%;height:300px;" id="Object_FAIscript">{$Object_FAIscript}</textarea>
+        </td>
     </tr>
 </table>
-<br>
-<p class="seperator">&nbsp;</p>
+
 <br>
 <div style="align:right;" align="right">
-       <input type="submit" value="{t}Save{/t}"        name="SaveSubObject">
+       <input type="submit" value="{t}Save{/t}"        name="SaveSubObject">&nbsp;
        <input type="submit" value="{t}Abort{/t}"       name="CancelSubObject">
 </div>