Code

Updated device templates
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 13:31:21 +0000 (13:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 13:31:21 +0000 (13:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17027 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/devices/device-list.tpl
gosa-plugins/goto/admin/devices/deviceGeneric.tpl
gosa-plugins/goto/admin/devices/paste_deviceGeneric.tpl

index b4d590c56b84c667a760cf542b3d753465f1cc06..3853d2f4d8b31bc4248a2fbb2a6ecdaa8115893c 100644 (file)
@@ -1,26 +1,40 @@
-<div id="mainlist">
 
-  <div class="mainlist-header">
-   <p>{$HEADLINE}&nbsp;{$SIZELIMIT}</p>
-   <div class="mainlist-nav">
-    <table>
-     <tr>
-      <td>{$ROOT}</td>
-      <td>{$BACK}</td>
-      <td>{$HOME}</td>
-      <td>{$RELOAD}</td>
-      <td class="left-border">{t}Base{/t} {$BASE}</td>
-      <td class="left-border">{$ACTIONS}</td>
-      <td class="left-border">{$FILTER}</td>
-     </tr>
-    </table>
-   </div>
+<div id="mainlist">
+ <div class="mainlist-header">
+  <p>
+   {$HEADLINE}&nbsp;
+   {$SIZELIMIT}
+  </p>
+  <div class="mainlist-nav">
+   <table summary="">
+    <tr>
+     <td>
+      {$ROOT}
+     </td>
+     <td>
+      {$BACK}
+     </td>
+     <td>
+      {$HOME}
+     </td>
+     <td>
+      {$RELOAD}
+     </td>
+     <td class="left-border">{t}Base{/t}
+      {$BASE}
+     </td>
+     <td class="left-border">
+      {$ACTIONS}
+     </td>
+     <td class="left-border">
+      {$FILTER}
+     </td>
+    </tr>
+   </table>
   </div>
-
-  {$LIST}
+ </div>
+ {$LIST}
+</div>
+<div class="clear">
 </div>
-
-<div class="clear"></div>
-
 <input type="hidden" name="ignore">
-
index 7f1f87e065a5a9a2e0c5ed2a9de02f90d00aa0c3..f8002c791f2133d41085dcd63b0152902d303340 100644 (file)
@@ -5,86 +5,77 @@
  <tr>
   <td>
 
-    <table style='width:100%' class='right-border'>
-
-        <tr>
-            <td><LABEL for="base">{t}Base{/t}</LABEL>
-            </td>
-            <td>
-{render acl=$baseACL}
-              {$base}
-{/render}
-            </td>
-        </tr>
-        <tr>
-            <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}
-            </td>
-            <td>
-{render acl=$cnACL}
-                <input type="text" size=40 value="{$cn}" name="cn" id="cn">
-{/render}
-            </td>
-        </tr>
-        <tr>
-            <td><LABEL for="description">{t}Description{/t}</LABEL>
-            </td>
-            <td>
-{render acl=$descriptionACL}
-                <input type="text" size=40 value="{$description}" name="description" id="description">
-{/render}
-            </td>
-        </tr>
-        <tr>
-            <td><LABEL for="description">{t}Device type{/t}</LABEL>
-            </td>
-            <td>
-{render acl=$typeACL}
-                               <select id="type" size="1" name="type" title="{t}Choose the device type{/t}">
-                                       {html_options options=$types selected=$type}
-                               </select>
-{/render}
-            </td>
-        </tr>
-    </table>
-   </td>
-   <td>
-
-    <table summary="">
-        <tr>
-            <td><LABEL for="devID">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}
-            </td>
-            <td>
-{render acl=$devIDACL}
-                <input type="text" value="{$devID}" name="devID" id="devID">
-{/render}
-            </td>
-            <td colspan="2">&nbsp;</td>
-        </tr>
-        <tr>
-            <td><LABEL for="vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}
-            </td>
-            <td>
-{render acl=$vendorACL}
-                <input type="text" value="{$vendor}" name="vendor" id="vendor">
-{/render}
-            </td>
-        </tr>
-        <tr>
-          <td><LABEL for="produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}
-            </td>
-            <td>
-{render acl=$serialACL}
-                <input type="text" value="{$serial}" name="serial" id="serial">
-{/render}
-            </td>
-        </tr>
-    </table>
+   <table style='width:100%' class='right-border' summary="">
+    <tr>
+     <td><LABEL for="base">{t}Base{/t}</LABEL></td>
+     <td>
+      {render acl=$baseACL}
+       {$base}
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}</td>
+     <td>
+      {render acl=$cnACL}
+       <input type="text" size=40 value="{$cn}" name="cn" id="cn">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="description">{t}Description{/t}</LABEL></td>
+     <td>
+      {render acl=$descriptionACL}
+       <input type="text" size=40 value="{$description}" name="description" id="description">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="description">{t}Device type{/t}</LABEL></td>
+     <td>
+      {render acl=$typeACL}
+       <select id="type" size="1" name="type" title="{t}Choose the device type{/t}">
+        {html_options options=$types selected=$type}
+       </select>
+      {/render}
+     </td>
+    </tr>
+   </table>
+  </td>
+  <td>
+   <table summary="">
+    <tr>
+     <td><LABEL for="devID">{t}Serial number{/t}&nbsp;{t}(iSerial){/t}</LABEL>{$must}</td>
+     <td>
+      {render acl=$devIDACL}
+       <input type="text" value="{$devID}" name="devID" id="devID">
+      {/render}
+     </td>
+     <td colspan="2">&nbsp;</td>
+    </tr>
+    <tr>
+     <td><LABEL for="vendor">{t}Vendor-ID{/t}&nbsp;{t}(idVendor){/t}</LABEL>{$must}</td>
+     <td>
+      {render acl=$vendorACL}
+       <input type="text" value="{$vendor}" name="vendor" id="vendor">
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="produkt">{t}Product-ID{/t}&nbsp;{t}(idProduct){/t}</LABEL>{$must}</td>
+     <td>
+      {render acl=$serialACL}
+       <input type="text" value="{$serial}" name="serial" id="serial">
+      {/render}
+     </td>
+    </tr>
+   </table>
+  </td>
+ </tr>
 </table>
 <input type='hidden' value="1" name="deviceGeneric_posted">
 <script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-    focus_field('name');
 -->
+ <!-- // First input field on page    
+  focus_field('name');  
+ -->
 </script>
-
-
index 961768f1a7be8db19fd8942a9b658f339cc06ddb..951e70e353ba57b5b82296bcba514b2bed4bf082 100644 (file)
@@ -5,23 +5,24 @@
  <tr>
   <td>
 
-    <table style='width:100%' class='right-border'>
+   <table style='width:100%' class='right-border' summary="">
+    <tr>
+     <td><LABEL for="cn">{t}Device name{/t}</LABEL>
+      {$must}
+     </td>
+     <td>
+      <input type="text" size=40 value="{$cn}" name="cn" id="cn">
+     </td>
+    </tr>
+   </table>
 
-        <tr>
-            <td><LABEL for="cn">{t}Device name{/t}</LABEL>{$must}
-            </td>
-            <td>
-                <input type="text" size=40 value="{$cn}" name="cn" id="cn">
-            </td>
-        </tr>
-    </table>
-   </td>
+  </td>
+ </tr> 
 </table>
+
 <input type='hidden' value="1" name="deviceGeneric_posted">
 <script language="JavaScript" type="text/javascript">
-  <!-- // First input field on page
-    focus_field('name');
 -->
+ <!-- // First input field on page    
+  focus_field('name');  
+ -->
 </script>
-
-