Code

Updated termgroup template
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 14:53:00 +0000 (14:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 23 Mar 2010 14:53:00 +0000 (14:53 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17035 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/ogroups/goto/termgroup.tpl

index 479cf483fceb4e07e7b89dd45f3dd0e04d51ac19..4803ad258a83ff49e287fe8edc349466da1fe53d 100644 (file)
-<br>
-<b>{t}Warning{/t}:</b> {t}Actions you choose here influence all systems in this object group. Additionally, all values editable here can be inherited by the clients assigned to this object group.{/t}
-<br>
+
+<p>
+<b>{t}Warning{/t}:</b>&nbsp;{t}Actions you choose here influence all systems in this object group. Additionally, all values editable here can be inherited by the clients assigned to this object group.{/t}
+</p>
+
 <hr>
+
 <h3>{t}Generic{/t}</h3>
 
-<table width="100%">
-       <tr>
-               <td style='width:50%;'>
-               <!-- Upper left -->
-                          <table width="100%">
-                               <tr>
-                                <td colspan="2" style='padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
-{render acl=$gotoNtpServerACL}
-                                 <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" multiple size=5 style="width:100%;"
-                                               title="{t}Choose server to use for synchronizing time{/t}" {if $inheritTimeServer} disabled {/if}>
-                                  {html_options options=$gotoNtpServer_select}
-                                 </select>
-{/render}
-                                <br>
-{render acl=$gotoNtpServerACL}
-                                 <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if}  size=1>
-                                  {html_options output=$gotoNtpServers values=$gotoNtpServers}
-                                 </select>
-{/render}
-{render acl=$gotoNtpServerACL}
-                                       <button type='submit' name='addNtpServer' id="addNtpServer">{msgPool type=addButton}</button>
-                                        {if ($inheritTimeServer) || (!$gotoNtpServers)} disabled {/if}>
-{/render}
+<table width="100%" summary="{t}System settings{/t}">
+ <tr>
+  <td style='width:50%;'><!-- Upper left -->
 
-{render acl=$gotoNtpServerACL}
-                                       <button type='submit' name='delNtpServer' id="delNtpServer">{msgPool type=delButton}</button>
-                                        {if ($inheritTimeServer) || (!$gotoNtpServer_select)} disabled {/if} >
-{/render}
-                                </td>
-                               </tr>
-                          </table>
-
-
-               </td>
-               <td class='left-border'>
-
-               <!-- Upper right -->
-                               
-                       <table summary="">
-                               <tr>
-                                <td>{t}Mode{/t}</td>
-                                <td>
-{render acl=$gotoModeACL}
-                                 <select name="gotoMode" title="{t}Select terminal mode{/t}" size=1>
-                                  {html_options options=$modes selected=$gotoMode_select}
-                                 </select>
-{/render}
-                                </td>
-                               </tr>
-                               <tr><td colspan="2">&nbsp;</td></tr>
-                               <tr>
-                                <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
-                                <td>
-{render acl=$gotoSyslogServerACL}
-                                 <select id="gotoSyslogServer" name="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" size=1>
-                                  {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
-                                 </select>
-{/render}
-                                </td>
-                               </tr>
-                               {if $is_termgroup}
-                                   <tr>
-                                    <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
-                                    <td>
-                               {render acl=$gotoTerminalPathACL}
-                                     <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}" size=1>
-                                      {html_options options=$nfsservers selected=$gotoTerminalPath_select}
-                                     </select>
-                               {/render}
-                                    </td>
-                                   </tr>
-                                   <tr>
-                                    <td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
-                                    <td>
-                               {render acl=$gotoSwapServerACL}
-                                     <select name="gotoSwapServer" id="gotoSwapServer" title="{t}Choose NFS filesystem to place swap files on{/t}" size=1>
-                                      {html_options options=$swapservers selected=$gotoSwapServer_select}
-                                     </select>
-                               {/render}
-                                    </td>
-                                   </tr>
-                               {/if}
-                                  </table>
-               </td>
-       </tr>
-       <tr>
-               <td colspan=2>
-                       <hr>
-               </td>
-       </tr>
-       <tr>
-               <td>
-               <!-- Bottom left -->                    
-
-               </td>
-               <td class='left-border'>
-
-               <!-- Bottom right -->           
-
-    <input type='checkbox' value='1' {if $members_inherit_from_group} checked {/if} name='members_inherit_from_group'>&nbsp;
-{t}Inherit all values to group members{/t}
-               </td>
-       </tr>
+   <LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL>
+   <br>
+
+   {render acl=$gotoNtpServerACL}
+    <select name="gotoNtpServerSelected[]" id="gotoNtpServerSelected" 
+      multiple size=5 style="width:100%;"                                              
+      title="{t}Choose server to use for synchronizing time{/t}" 
+      {if $inheritTimeServer} disabled {/if}>
+     {html_options options=$gotoNtpServer_select}
+    </select>
+   {/render}
+
+   <br>
+   {render acl=$gotoNtpServerACL}
+    <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if}size=1>
+     {html_options output=$gotoNtpServers values=$gotoNtpServers}
+    </select>
+   {/render}
+
+   {render acl=$gotoNtpServerACL}
+    <button type='submit' name='addNtpServer' id="addNtpServer"    
+     {if ($inheritTimeServer) || (!$gotoNtpServers)}disabled{/if}
+      >{msgPool type=addButton}</button>
+   {/render}
+
+   {render acl=$gotoNtpServerACL}
+    <button type='submit' name='delNtpServer' id="delNtpServer"
+      {if ($inheritTimeServer) || (!$gotoNtpServer_select)}disabled{/if}
+      >{msgPool type=delButton}</button>
+    {/render}
+
+  </td>
+  <td class='left-border'><!-- Upper right -->
+
+   <table summary=""> 
+    <tr>
+     <td>{t}Mode{/t}</td>
+     <td>
+      {render acl=$gotoModeACL}
+       <select name="gotoMode" title="{t}Select terminal mode{/t}" size=1>
+        {html_options options=$modes selected=$gotoMode_select}
+       </select>
+      {/render}
+     </td>
+    </tr>
+    <tr>
+     <td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
+     <td>
+      {render acl=$gotoSyslogServerACL}
+       <select id="gotoSyslogServer" name="gotoSyslogServer" 
+          title="{t}Choose server to use for logging{/t}" size=1>
+        {html_options values=$syslogservers output=$syslogservers selected=$gotoSyslogServer_select}
+       </select>
+      {/render}
+     </td>
+    </tr>
+    
+    {if $is_termgroup}
+     <tr>
+      <td><LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL></td>
+      <td>
+       {render acl=$gotoTerminalPathACL}
+        <select name="gotoTerminalPath" id="gotoTerminalPath" 
+          title="{t}Select NFS root filesystem to use{/t}" size=1>
+         {html_options options=$nfsservers selected=$gotoTerminalPath_select}
+        </select>
+       {/render}
+      </td>
+     </tr>
+     <tr>
+      <td><LABEL for="gotoSwapServer">{t}Swap server{/t}</LABEL></td>
+      <td>
+       {render acl=$gotoSwapServerACL}
+        <select name="gotoSwapServer" id="gotoSwapServer" 
+          title="{t}Choose NFS filesystem to place swap files on{/t}" size=1>
+         {html_options options=$swapservers selected=$gotoSwapServer_select}
+        </select>
+       {/render}
+      </td>
+     </tr>
+     
+    {/if}
+   </table>
+
+  </td>
+ </tr>
 </table>
-<input name="workgeneric_posted" value="1" type="hidden">
 
+<hr>
+
+<input type='checkbox' value='1' {if $members_inherit_from_group} checked {/if}name='members_inherit_from_group'>&nbsp;{t}Inherit all values to group members{/t}
+<input name="workgeneric_posted" value="1" type="hidden">
+<hr>
 
 <h3>{t}Action{/t}</h3>
-                               <table summary="">
-                                <tr>
-                                 <td>
+
 {render acl=$FAIstateACL}
                                 <select size="1" name="saction" {$FAIstateACL} title="{t}Select action to execute for this terminal{/t}">
-                                       <option>&nbsp;</option>
-                                       {html_options options=$actions}
                                 </select>
<select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
+  <option>&nbsp;</option>
+  {html_options options=$actions}
+ </select>
 {/render}
-                                 </td>
-                                 <td>
 {render acl=$FAIstateACL}
-                                  <button type='submit' name='action'>{t}Execute{/t}</button>
-
+ <button type='submit' name='action'>{t}Execute{/t}</button>
 {/render}
-                                 </td>
-                                </tr>
-                               </table>
-       
-
-
-
-