diff --git a/gosa-plugins/goto/admin/systems/goto/terminal.tpl b/gosa-plugins/goto/admin/systems/goto/terminal.tpl
index c8689a21e8020fe0e93cd749dc5675b023791c6a..50514763506569ea806599da9db10bcc226c57fa 100644 (file)
-<h2><img class="center" alt="" align="middle" src="images/rightarrow.png"> {t}Properties{/t}</h2>
+<h3>{t}Properties{/t}</h3>
<table summary="" style="width:100%;">
<tr>
- <td style="width:50%; vertical-align:top;">
+ <td style='width:50%; '>
+
<table summary="">
<tr>
{if $cn eq 'default'}
<td><LABEL for="cn">{t}Terminal name{/t}</LABEL>{$must}</td>
<td>
{render acl=$cnACL}
- <input name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
+ <input type='text' name="cn" id="cn" size=18 maxlength=60 value="{$cn}">
{/render}
</td>
{/if}
<td><LABEL for="description">{t}Description{/t}</LABEL></td>
<td>
{render acl=$descriptionACL}
- <input name="description" id="description" size=18 maxlength=60 value="{$description}">
+ <input type='text' name="description" id="description" size=18 maxlength=60 value="{$description}">
{/render}
</td>
</tr>
<td>
{render acl=$baseACL}
- <select id="base" size="1" name="base" title="{t}Choose subtree to place group in{/t}">
- {html_options options=$bases selected=$base_select}
- </select>
-{/render}
-{render acl=$baseACL disable_picture='images/lists/folder_grey.png'}
- <input type="image" name="chooseBase" src="images/lists/folder.png" class="center" title="{t}Select a base{/t}">
+ {$base}
{/render}
</td>
</tr>
{$host_key}
</td>
- <td style="vertical-align:top;border-left:1px solid #A0A0A0;" >
- <table summary="">
+ <td class='left-border'>
+
+ <table summary="" style='width:100%'>
<tr>
- <td><LABEL for="gotoMode">{t}Mode{/t}</LABEL></td>
+ <td style='width:20%'><LABEL for="gotoMode">{t}Mode{/t}</LABEL></td>
<td>
{render acl=$gotoModeACL}
- <select id="gotoMode" name="gotoMode" title="{t}Select terminal mode{/t}">
+ <select id="gotoMode" name="gotoMode" title="{t}Select terminal mode{/t}" size=1>
{html_options options=$modes selected=$gotoMode_select}
</select>
{/render}
<td><LABEL for="gotoSyslogServer">{t}Syslog server{/t}</LABEL></td>
<td>
{render acl=$gotoSyslogServerACL}
- <select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}">
+ <select name="gotoSyslogServer" id="gotoSyslogServer" title="{t}Choose server to use for logging{/t}" size=1>
{html_options options=$syslogservers selected=$gotoSyslogServer_select}
</select>
{/render}
</td>
</tr>
- </table>
- </td>
- </tr>
-</table>
-<p class="seperator" style="margin:0px; padding:0px;"> </p>
-<table style="width:100%;">
- <tr>
- <td style="width:50%;vertical-align:top;">
- <table summary="">
- <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}">
- {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}">
- {html_options options=$nfsservers selected=$gotoSwapServer_select}
- </select>
-{/render}
- </td>
- </tr>
- </table>
- </td>
- <td style="border-left:1px solid #A0A0A0;">
- <table width="100%">
<tr>
<td colspan="2">
{if $member_of_ogroup}
{render acl=$gotoNtpServerACL}
<input type="checkbox" value="1" name="inheritTimeServer"
- {if $inheritTimeServer } checked {/if}
+ {if $inheritTimeServer} checked {/if}
onClick="javascript:
changeState('gotoNtpServerSelected');
changeState('gotoNtpServers');
{/render}
<br>
{render acl=$gotoNtpServerACL}
- <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
- {html_options values=$ntpservers output=$ntpservers }
+ <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} size=1>
+ {html_options values=$ntpservers output=$ntpservers}
</select>
{/render}
{render acl=$gotoNtpServerACL}
- <input type="submit" name="addNtpServer" value="{msgPool type=addButton}" id="addNtpServer"
+ <button type='submit' name='addNtpServer' id="addNtpServer">{msgPool type=addButton}</button>
{if $inheritTimeServer} disabled {/if}>
{/render}
{render acl=$gotoNtpServerACL}
- <input type="submit" name="delNtpServer" value="{msgPool type=delButton}" id="delNtpServer"
+ <button type='submit' name='delNtpServer' id="delNtpServer">{msgPool type=delButton}</button>
{if $inheritTimeServer} disabled {/if}>
{/render}
</td>
</tr>
- </table>
-
+ </table>
</td>
</tr>
</table>
-
-{if $cn neq 'default'}
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-
-{$netconfig}
-{/if}
-
-<table width="100%">
-<tr><td style="width:50%; border-right:1px solid #AAA">
-{if $fai_activated}
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-<h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
-<table summary="">
+<p class="seperator" style="margin:0px; padding:0px;"> </p>
+<table style="width:100%;">
<tr>
- <td>
-{render acl=$gotoNtpServerACL}
- <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
- <option disabled> </option>
- {html_options options=$actions}
- </select>
+ <td style='width:50%;'>
+
+ <table summary="">
+ <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>
+ </table>
</td>
- <td>
-{render acl=$gotoNtpServerACL}
- <input type=submit name="action" value="{t}Execute{/t}">
+ <td class='left-border'>
+
+ <table summary="">
+ <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>
+ </table>
</td>
</tr>
</table>
+
+{if $cn neq 'default'}
+<hr>
+
+{$netconfig}
{/if}
-</td>
-<td>
-{if $member_of_ogroup}
- <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
-{/if}
-</td>
-</tr>
+<hr>
+<table width="100%">
+ <tr>
+ <td style='width:50%; ' class='right-border'>
+
+ {if $fai_activated}
+ <h3>{t}Action{/t}</h3>
+ <table summary="">
+ <tr>
+ <td>
+ {render acl=$gotoNtpServerACL}
+ <select size="1" name="saction" title="{t}Select action to execute for this terminal{/t}">
+ <option disabled> </option>
+ {html_options options=$actions}
+ </select>
+ {/render}
+ </td>
+ <td>
+ {render acl=$gotoNtpServerACL}
+ <button type='submit' name='action'>{t}Execute{/t}</button>
+
+ {/render}
+ </td>
+ </tr>
+ </table>
+ {/if}
+ </td>
+ <td>
+ {if $member_of_ogroup}
+ <button type='submit' name='inheritAll'>{t}Inherit all{/t}</button>
+
+ {/if}
+ </td>
+ </tr>
</table>
<input type="hidden" name="termgeneric_posted" value="1">