Code

Added sortable list to fai script
[gosa.git] / gosa-plugins / fai / admin / fai / faiHook.tpl
index 6768ad92dab28754a54b2c96a271d5eb1d950139..9ab3741d391c90f2df947eed69127548247fa7fa 100644 (file)
@@ -1,8 +1,8 @@
-<table width="100%" summary=''>
+<table width="100%" summary='{t}FAI hook{/t}'>
        <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">
+                               <h3>{t}Generic{/t}</h3>
+                               <table summary="{t}Generic settings{/t}" cellspacing="4">
                                        <tr>
                                                <td>
                                                        <LABEL for="cn">
@@ -11,7 +11,7 @@
                                                </td>
                                                <td>
 {render acl=$cnACL}
-                                                       <input value="{$cn}" size="45" maxlength="80" disabled id="cn">
+                                                       <input type='text' value="{$cn}" size="45" maxlength="80" disabled id="cn">
 {/render}
                                                </td>
                                        </tr>
@@ -23,7 +23,7 @@
                                                </td>
                                                <td>
 {render acl=$descriptionACL}
-                                                       <input value="{$description}" size="45" maxlength="80" name="description" id="description">
+                                                       <input type='text' value="{$description}" size="45" maxlength="80" name="description" id="description">
 {/render}
                                                </td>
                                        </tr>
                </td>
        </tr>
 </table>
-<p class="seperator">&nbsp;</p>
-<table width="100%" summary=''>
+<hr>
+<table width="100%" summary='{t}List of hooks{/t}'>
        <tr>
                <td>
-                               <h2><img class="center" alt="" src="images/fai_hook.png" align="middle" title="{t}Objects{/t}">&nbsp;
+                               <h3>
                                        {t}List of hook scripts{/t}
-                               </h2>
-                               <table width="100%" summary=''>
-                               <tr>
-                                       <td>
-                                               {$Entry_divlist}
+                               </h3>
+        {$Entry_divlist}
 {if $sub_object_is_addable}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}">
+        <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
 {else}
-                                               <input type="submit" name="AddSubObject"     value="{t}Add{/t}" title="{t}Add{/t}" disabled>
+        <button type='submit' name='AddSubObject' title="{msgPool type=addButton}">{msgPool type=addButton}</button>
 {/if}
-                                       </td>
-                               </tr>
-                               </table>
                </td>
        </tr>
 </table>