Code

reverted tempkate changes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 16:37:46 +0000 (16:37 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 3 Mar 2010 16:37:46 +0000 (16:37 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@16000 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/plugins/personal/posix/generic.tpl

index bfdda0e6a9398cdafe2481633b2f2f3ca6be4fa2..b1ac572d738561e5bcc91f56ebf2adbfb27dee51 100644 (file)
@@ -1,17 +1,14 @@
-
-
-<div class="horizontal-container">
- <div class="container" style='width:50%'>
-  <div class="padder">
-
-   <h3>{t}Generic{/t}</h3>
-
-   <table summary="{t}Generic settings{/t}">
+<table summary="" style="width:100%; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+ <tr>
+  <td style="width:50%; vertical-align:top;">
+   <h3>{image path="images/rightarrow.png"} {t}Generic{/t}
+   </h3>
+   <table summary="">
     <tr>
      <td><label for="homeDirectory">{t}Home directory{/t}</label>{$must}</td>
      <td>
       {render acl=$homeDirectoryACL checkbox=$multiple_support checked=$use_homeDirectory}
-      <input type='text' id="homeDirectory" name="homeDirectory" maxlength=120 value="{$homeDirectory}">
+      <input type='text' id="homeDirectory" name="homeDirectory" size=40 maxlength=120 value="{$homeDirectory}">
       {/render}
      </td>
     </tr>
@@ -51,7 +48,7 @@
    
    {if !$multiple_support}
    
-   <table summary="{t}Generic settings{/t}">
+   <table summary="">
     <tr>
      <td>
       {render acl=$force_idsACL}
     </tr>
    </table>
    {/if}
-
-   {if $sshPublicKey == 1}
-
-     {render acl=$sshPublicKeyACL}
-     <h3>{t}SSH keys{/t}</h3>
-     <button type='submit' name='edit_sshpublickey'>{t}Edit public ssh keys...{/t}</button>
-     {/render}
-   {/if}
-
-  </div>
- </div>
- <div class="last-container" style='width:50%'>
-  <div class="padder">
-
-   <h3>{t}Group membership{/t}</h3>
+  </td>
+  <td style="border-left:1px solid #A0A0A0">
+   &nbsp;
+  </td>
+  <td style="vertical-align:top;">
+   <h3>{image path="plugins/posix/images/members.png"} {t}Group membership{/t}
+   </h3>
    {if $groups eq "too_many_for_nfs"}
-     <b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
-     <br>
+   <b style="color:red">{t}(Warning: more than 16 groups are not supported by NFS!){/t}</b>
+   <br>
    {/if}
    {render acl=$groupMembershipACL}
-   <select style="width:100%; height:180px;" name="group_list[]" size=16 multiple >
+   <select style="width:100%; height:130px;" name="group_list[]" size=16 multiple >
     {if !$multiple_support}
     {html_options options=$groupMembership}
     {else}
    <button type='submit' name='delete_groupmembership'>{msgPool type=delButton}</button>
    
    {/render}
+  </td>
+ </tr>
+</table>
 
-  </div>
- </div>
-</div>
-
-<div class='clear'></div>
-
-<hr>
-
-<div class="horizontal-container">
- <div class="container" style='width:50%'>
-  <div class="padder">
+<p class="seperator">&nbsp;</p>
 
+<table summary="" style="width:100% ; vertical-align:top; text-align:left;" cellpadding=0 border=0>
+ <tr>
+  <td style='width:50%;vertical-align:top'>
+   {if $sshPublicKey == 1}
+   {render acl=$sshPublicKeyACL}
+   <h3>{image path="images/lists/key.png"} {t}SSH keys{/t}
+   </h3>
+   <button type='submit' name='edit_sshpublickey'>{t}Edit public ssh keys...{/t}</button>
+   
+   <div style='border-bottom:1px solid #A0A0A0;height:8px'></div>
+   {/render}
+   {/if}
+   <h3>{image path="plugins/posix/images/terminal_small.png"} {t}Account{/t}
+   </h3>
    {include file="$pwmode.tpl"}
-
-  </div>
- </div>
- <div class="last-container" style='width:50%'>
-  <div class="padder">
-  
-   <h3>{t}System trust{/t}</h3>
-
+  </td>
+  <td style="border-left:1px solid #A0A0A0">
+   &nbsp;
+  </td>
+  <td style="vertical-align:top;">
+   <h3>{image path="images/lists/locked.png"} {t}System trust{/t}
+   </h3>
    {if !$multiple_support}
-    {t}Trust mode{/t}&nbsp;
-    {render acl=$trustmodeACL}
-     <select name="trustmode" id="trustmode" size=1 
-        onChange="changeSelectState('trustmode', 'wslist'); 
-        changeSelectState('trustmode', 'add_ws'); 
-        changeSelectState('trustmode', 'del_ws');">
-      {html_options options=$trustmodes selected=$trustmode}
-     </select>
-    {/render}
-    {render acl=$trustmodeACL}
-    <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
-      {html_options values=$workstations output=$workstations}
-      {if $emptyArrAccess}
-        <option disabled>&nbsp;</option>
-      {/if}
-    </select>
-    {/render}
-
-    <br>
-
-    {render acl=$trustmodeACL}
-      <button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
-    {/render}
-    {render acl=$trustmodeACL}
-      <button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
-    {/render}
-
-   {else}
-
-    <input type="checkbox" name="use_trustmode" {if $use_trustmode} checked {/if}
-      class="center" onClick="$('div_trustmode').toggle();">
-    {t}Trust mode{/t}&nbsp;
-
-    <div {if !$use_trustmode} style="display: none;" {/if} id="div_trustmode">
-     {render acl=$trustmodeACL}
-      <select name="trustmode" id="trustmode" size=1 
-          onChange="changeSelectState('trustmode', 'wslist'); 
-          changeSelectState('trustmode', 'add_ws'); 
-          changeSelectState('trustmode', 'del_ws');">
-        {html_options options=$trustmodes selected=$trustmode}
-      </select>
-    {/render}
-
-    {render acl=$trustmodeACL}
-    <select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
-     {html_options values=$workstations output=$workstations}
-     {if $emptyArrAccess}
-     <option disabled>&nbsp;</option>
-     {/if}
-    </select>
-    {/render}
-    <br>
-
-    {render acl=$trustmodeACL}
-    <button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
-    {/render}
-
-    {render acl=$trustmodeACL}
-    <button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
-    {/render}
-    </div>
-    {/if}
-
-  </div>
- </div>
+   {t}Trust mode{/t}&nbsp;
+   {render acl=$trustmodeACL}
+   <select name="trustmode" id="trustmode" size=1 
+   onChange="changeSelectState('trustmode', 'wslist'); 
+   changeSelectState('trustmode', 'add_ws'); 
+   changeSelectState('trustmode', 'del_ws');">
+   {html_options options=$trustmodes selected=$trustmode}
+</select>
+{/render}
+{render acl=$trustmodeACL}
+<select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
+ {html_options values=$workstations output=$workstations}
+ {if $emptyArrAccess}
+ <option disabled>&nbsp;</option>
+ {/if}
+</select>
+{/render}
+<br>
+{render acl=$trustmodeACL}
+<button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
+
+{/render}
+{render acl=$trustmodeACL}
+<button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
+
+{/render}
+
+{else}
+<input type="checkbox" name="use_trustmode" {if $use_trustmode} checked {/if}
+class="center" onClick="$('div_trustmode').toggle();">
+{t}Trust mode{/t}&nbsp;
+<div {if !$use_trustmode} style="display: none;" {/if} id="div_trustmode">
+ {render acl=$trustmodeACL}
+ <select name="trustmode" id="trustmode" size=1 
+ onChange="changeSelectState('trustmode', 'wslist'); 
+ changeSelectState('trustmode', 'add_ws'); 
+ changeSelectState('trustmode', 'del_ws');">
+ {html_options options=$trustmodes selected=$trustmode}
+</select>
+{/render}
+{render acl=$trustmodeACL}
+<select style="width:100%" id="wslist" name="workstation_list[]" size=8 multiple {$trusthide}>
+ {html_options values=$workstations output=$workstations}
+ {if $emptyArrAccess}
+ <option disabled>&nbsp;</option>
+ {/if}
+</select>
+{/render}
+<br>
+{render acl=$trustmodeACL}
+<button type='submit' name='add_ws' id="add_ws">{msgPool type=addButton}</button>&nbsp;
+
+{/render}
+{render acl=$trustmodeACL}
+<button type='submit' name='delete_ws' id="del_ws">{msgPool type=delButton}</button>
+
+{/render}
 </div>
-
-<div class='clear'></div>
-
+{/if}
+</td>
+</tr>
+</table>
 {if $multiple_support}
-  <input type="hidden" name="posix_mulitple_edit" value="1">
+<input type="hidden" name="posix_mulitple_edit" value="1">
 {/if}
+
 <input type="hidden" name="posixTab" value="posixTab">
 
+<!-- Place cursor -->
 <script language="JavaScript" type="text/javascript">
-  focus_field('homeDirectory');
+<!-- // First input field on page
+focus_field('homeDirectory');
+-->
 </script>