Code

Beautified FAI templates
[gosa.git] / gosa-plugins / fai / admin / fai / faiScript.tpl
index c0ff247b5e5153092bcdf42882e24ec914ff7f99..9b4e8155195ece50ff141a6f057954fb5d4c906d 100644 (file)
@@ -1,63 +1,52 @@
-<table width="100%" summary="">
-       <tr>
-               <td width="50%" valign="top">
-                               <h2><img class="center" alt="" src="images/fai_small.png" align="middle" title="{t}Generic{/t}">&nbsp;{t}Generic{/t}</h2>
-                               <table summary="" cellspacing="4">
-                                       <tr>
-                                               <td>
-                                                       <LABEL for="cn">
-                                                       {t}Name{/t}{$must}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$cnACL}
-                                                       <input value="{$cn}"  maxlength="80" size="45" disabled id="cn">
-{/render}
-                                               </td>
-                                       </tr>
-                                       <tr>
-                                               <td>
-                                                       <LABEL for="description">
-                                                       {t}Description{/t}
-                                                       </LABEL>
-                                               </td>
-                                               <td>
-{render acl=$descriptionACL}
-                                                       <input size="45" maxlength="80" value="{$description}" name="description" id="description" >
-{/render}
-                                               </td>
-                                       </tr>
-                               </table>
-               </td>
-       </tr>
+
+<table width="100%" summary="{t}FAI script{/t}">
+ <tr>
+  <td width="50%" valign="top">
+   <h3>{t}Generic{/t}
+   </h3>
+   <table summary="{t}Generic settings{/t}" cellspacing="4">
+    <tr>
+     <td><LABEL for="cn">{t}Name{/t}
+      {$must}</LABEL>
+     </td>
+     <td>
+      {render acl=$cnACL}
+       <input type='text' value="{$cn}"  maxlength="80" size="45" disabled id="cn">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="description">{t}Description{/t}</LABEL>
+     </td>
+     <td>
+      {render acl=$descriptionACL}
+       <input type='text' size="45" maxlength="80" value="{$description}" name="description" id="description" >
+      {/render}
+     </td>
+    </tr>
+   </table>
+  </td>
+ </tr>
 </table>
-<p class="seperator">&nbsp;</p>
-<table width="100%" summary="">
-       <tr>
-               <td>
-                               <h2><img class="center" alt="" src="images/fai_script.png" align="middle" title="{t}Objects{/t}">&nbsp;
-                                               {t}List of scripts{/t}
-                               </h2>
-                               <table width="100%" summary="" style="border:1px solid #B0B0B0; " cellspacing=0 cellpadding=0>
-                               <tr>
-                                       <td>
-                                               {$Entry_divlist}
-{if $sub_object_is_addable}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}" >
-{else}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}" disabled>
-{/if}
-                                       </td>
-                               </tr>
-                               </table>
-               </td>
-       </tr>
+<hr>
+<table width="100%" summary="{t}List of scripts{/t}">
+ <tr>
+  <td>
+   <h3>{t}List of scripts{/t}
+   </h3>
+   {$Entry_divlist}
+   <hr>
+   
+   {if $sub_object_is_addable}
+    <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    {else}
+    <button type='submit' name='Dummy2' title="{msgPool type=addButton}">
+    {msgPool type=addButton}</button>
+    
+   {/if}
+  </td>
+ </tr>
 </table>
-<input type="hidden" value="1" name="FAIscript_posted" >
-<!-- Place cursor -->
-<script language="JavaScript" type="text/javascript">
-<!--
-       focus_field("cn","description");
--->
-</script>
-
+<input type="hidden" value="1" name="FAIscript_posted" ><!-- Place cursor -->
+<script language="JavaScript" type="text/javascript"><!--      focus_field("cn","description");--></script>
\ No newline at end of file