Code

Updated next setup step.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 May 2010 14:04:57 +0000 (14:04 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 May 2010 14:04:57 +0000 (14:04 +0000)
-Removed divs

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18605 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/setup/setup_ldap.tpl

index ccc8d9e7f2084598c5d662e4128a91fc5e4f6038..91ad96ee57d87005420021218cc007ba5d332163 100644 (file)
-<div class='default' style="width:100%; margin-right:20px;">
 
        {if $resolve_user}
 
-       <div style='float:left; width:99%; margin-bottom:20px;'>
-               <p>
                <b>{t}Please choose the LDAP user to be used by GOsa{/t}</b>
-               </p>
                <select name='admin_to_use' size=20 style="width:100%; margin-bottom:10px;">                            
                        {html_options options=$resolved_users selected=$admin}
                </select>
+
                <input type='text' value='{$resolve_filter}' name='resolve_filter'>
                <button type='submit' name='resolve_search'>{t}Search{/t}</button>
-
-               <p class='seperator' style='margin-bottom:10px;'>&nbsp;</p>
-               <div style='text-align:right'>
-               <button type='submit' name='use_selected_user'>{t}Apply{/t}</button>
-
-               <button type='submit' name='resolve_user'>{t}Cancel{/t}</button>
-
+               
+        <hr>
+        <div class="plugin-actions">
+            <button type='submit' name='use_selected_user'>{t}Apply{/t}</button>
+            <button type='submit' name='resolve_user'>{t}Cancel{/t}</button>
                </div>
        </div>          
        
        <div style="clear:both;"></div>
 
        {else}
-       <p>
-       <b>{t}LDAP connection{/t}</b>
-       </p>
-       <div class='step4_container'>
-               <div class='step4_name'>
-                       {t}Location name{/t}
-               </div>
-               <div class='step4_value'>
-                       <input type='text' name='location' maxlength='80' size='40' value='{$location}'>
-               </div>
-       </div>
-       <div class='step4_container'>
-               <div class='step4_name'>
-                       <div style='vertical-align:middle;'>{t}Connection URI{/t}</div>
-               </div>
-               <div class='step4_value'>
-                       <input type='text' name='connection' maxlength='80' size='40' value='{$connection}'>
-               </div>
-       </div>
-        <div class='step4_container'>
-          <div class='step4_name'>
-            {t}TLS connection{/t}
-          </div>
-          <div class='step4_value'>
-            <select name="tls" size="1" title="">
-                       {html_options options=$bool selected=$tls}
-            </select>
-          </div>
-        </div>
-       <div class='step4_container'>
-               <div class='step4_name'> 
-                       {t}Base{/t}
-               </div>
-               <div class='step4_value'>
-                       {if $namingContextsCount >= 1}
-                               <select name='base' size=1>             
-                                       {html_options values=$namingContexts output=$namingContexts selected=$base}
-                               </select>
-                       {else}
-                               <input type='text' name='base' maxlength='80' size='40' value='{$base}'>
-                       {/if}
-                       <input type='image' class='center' src='images/lists/reload.png' title='{t}Reload{/t}' name='reload' alt='{t}Reload{/t}'>
-               </div>
-       </div>
-       <p style="margin-top:20px">
-       <b>{t}Authentication{/t}</b>
-       </p>
-       <div class='step4_container'>
-               <div class='step4_name'> 
-                       {t}Admin DN{/t}
-               </div>
-               <div class='step4_value'>
-                       <input type='text' name='admin_given' maxlength='160' size='40' value='{$admin_given}'>
-                       {if $append_base_to_admin_dn},{$base_to_append}{/if}
-                       <input type='image' class='center' src='images/lists/folder.png' title='{t}Select user{/t}' name='resolve_user' alt='{t}Select user{/t}'>
-               </div>
-       </div>
-
-       <div class='step4_container'>
-               <div class='step4_name'> 
-               </div>
-               <div class='step4_value'>
-                       <input onClick='document.mainform.submit();' {if $append_base_to_admin_dn} checked {/if} type='checkbox' name='append_base_to_admin_dn' value='1'>&nbsp;{t}Automatically append LDAP base to admin DN{/t}
-               </div>
-       </div>
 
+       <b>{t}LDAP connection{/t}</b>
+    <table style='width:100%'>
+        <tr>
+            <td style='width:200px;'>{t}Location name{/t}</td>
+            <td><input type='text' name='location' maxlength='80' size='40' value='{$location}'></td>    
+        </tr>
+        <tr>
+            <td>{t}Connection URI{/t}</td>
+                       <td><input type='text' name='connection' maxlength='80' size='40' value='{$connection}'></td>
+        </tr>
+        <tr>
+            <td>{t}TLS connection{/t}</td>
+            <td>
+                <select name="tls" size="1" title="">
+                    {html_options options=$bool selected=$tls}
+                </select>
+            </td>
+        </tr>
+        <tr>
+            <td>{t}Base{/t}</td>
+            <td>
+                {if $namingContextsCount >= 1}
+                    <select name='base' size=1>
+                        {html_options values=$namingContexts output=$namingContexts selected=$base}
+                    </select>
+                {else}
+                    <input type='text' name='base' maxlength='80' size='40' value='{$base}'>
+                {/if}
+            <input type='image' class='center' src='images/lists/reload.png' 
+                title='{t}Reload{/t}' name='reload' alt='{t}Reload{/t}'>
+            </td>
+        </tr>
+    </table>
 
-       <div class='step4_container'>
-               <div class='step4_name'>
-                       {t}Admin password{/t}
-               </div>
-               <div class='step4_value'>
-                       <input type='password' name='password' maxlength='20' size='20' value='{$password}'>
-               </div>
-       </div>
+    <hr> 
+       <b>{t}Authentication{/t}</b>
+    <table style='width:100%'>
+        <tr>
+            <td style='width:200px;'>{t}Admin DN{/t}</td>
+            <td>
+                <input type='text' name='admin_given' maxlength='160' size='40' value='{$admin_given}'>
+                           {if $append_base_to_admin_dn},{$base_to_append}{/if}
+                           <input type='image' class='center' src='images/lists/folder.png' 
+                    title='{t}Select user{/t}' name='resolve_user' alt='{t}Select user{/t}'>
+            </td>
+        </tr>
+        <tr>
+            <td>
+            </td>    
+            <td>
+                <input onClick='document.mainform.submit();' 
+                    {if $append_base_to_admin_dn} checked {/if} 
+                    type='checkbox' name='append_base_to_admin_dn' value='1'>&nbsp;
+                {t}Automatically append LDAP base to admin DN{/t}
+            </td>
+        </tr>
+        <tr>
+            <td>{t}Admin password{/t}</td>
+            <td><input type='password' name='password' maxlength='20' size='20' value='{$password}'></td>
+        </tr>
+    </table>
 
-       <p style="margin-top:20px">
+    <hr> 
        <b>{t}Schema based settings{/t}</b>
-       </p>
-           <div class='step4_container'>
-               <div class='step4_name'>
-                   {t}Use rfc2307bis compliant groups{/t}
-               </div>
-               <div class='step4_value'>
-                   <select name="rfc2307bis" size="1" title="">
-                   {html_options options=$bool selected=$rfc2307bis}
-                   </select>
-               </div>
-           </div>
-       {/if}
+    <table style='width:100%'>
+        <tr>
+            <td style='width:200px;'>{t}Use rfc2307bis compliant groups{/t}</td>
+            <td>
+                <select name="rfc2307bis" size="1" title="">
+                   {html_options options=$bool selected=$rfc2307bis}
+                </select>
+            </td>
+        </tr>
+    </table>
 
-       {if ! $resolve_user}
-       <p style="margin-top:20px">
-       <b>{t}Current status{/t}</b>
-       </p>
-    <div class='step4_container' style='height:45px;'>
-        <div class='step4_name' style='height:45px;'>
-            {t}Information{/t}
-        </div>
-        <div class='step4_value' style='height:45px;'>
-                       {$connection_status}
-        </div>
-    </div>
+       {if !$resolve_user}
+    <hr> 
+        <b>{t}Current status{/t}</b>
+        <table style='width:100%'>
+            <tr>
+                <td style='width:200px;'>{t}Information{/t}</td>
+                <td>{$connection_status}</td>
+            </tr>
+        </table>
        {/if}
+{/if}
 
-</div>
 <!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
   <!-- // First input field on page