diff --git a/gosa-plugins/goto/admin/systems/goto/terminal.tpl b/gosa-plugins/goto/admin/systems/goto/terminal.tpl
index d5e6e81e2a0d08d0560479a66df9a867c33a2ed3..5445a24f2d6cb1fd3f3f116e7edd8a283f4a5383 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'}
{$host_key}
</td>
- <td style="vertical-align:top;border-left:1px solid #A0A0A0;" >
+ <td class='left-border'>
+
<table summary="" style='width:100%'>
<tr>
<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>
- <tr>
- <td colspan="2">
+ </table>
+
{if $member_of_ogroup}
{render acl=$gotoNtpServerACL}
<input type="checkbox" value="1" name="inheritTimeServer"
{else}
<input disabled type='checkbox' name='option_disabled'>{t}Inherit time server attributes{/t}
{/if}
- </td>
- </tr>
- <tr>
- <td colspan="2" style='padding-left:14px;padding-top:5px;'><LABEL for="gotoNtpServerSelected">{t}NTP server{/t}</LABEL><br>
+ <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}>
{/render}
<br>
{render acl=$gotoNtpServerACL}
- <select name="gotoNtpServers" id="gotoNtpServers" {if $inheritTimeServer} disabled {/if} >
+ <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"
- {if $inheritTimeServer} disabled {/if}>
+ <button type='submit' name='addNtpServer' id="addNtpServer"
+ {if $inheritTimeServer} disabled {/if}>{msgPool type=addButton}</button>
{/render}
{render acl=$gotoNtpServerACL}
- <input type="submit" name="delNtpServer" value="{msgPool type=delButton}" id="delNtpServer"
- {if $inheritTimeServer} disabled {/if}>
+ <button type='submit' name='delNtpServer' id="delNtpServer"
+ {if $inheritTimeServer} disabled {/if}
+ >{msgPool type=delButton}</button>
{/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>
+ <td style='width:50%;'>
+
+ <LABEL for="gotoTerminalPath">{t}Root server{/t}</LABEL>
{render acl=$gotoTerminalPathACL}
- <select name="gotoTerminalPath" id="gotoTerminalPath" title="{t}Select NFS root filesystem to use{/t}">
+ <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 style="border-left:1px solid #A0A0A0;">
+ <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}">
+ <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}
</table>
{if $cn neq 'default'}
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
+<hr>
{$netconfig}
{/if}
-<p class="plugbottom" style="margin-bottom:0px; padding:0px;"> </p>
-<table width="100%">
- <tr>
- <td style="width:50%; border-right:1px solid #AAA">
- {if $fai_activated}
- <h2><img class="center" alt="" align="middle" src="images/rocket.png"> {t}Action{/t}</h2>
- <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}
- <input type=submit name="action" value="{t}Execute{/t}">
- {/render}
- </td>
- </tr>
- </table>
- {/if}
- </td>
- <td>
- {if $member_of_ogroup}
- <input type='submit' name='inheritAll' value='{t}Inherit all{/t}'>
- {/if}
- </td>
- </tr>
-</table>
+<hr>
+
+{if $fai_activated}
+<h3>{t}Action{/t}</h3>
+ {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}
+ {render acl=$gotoNtpServerACL}
+ <button type='submit' name='action'>{t}Execute{/t}</button>
+ {/render}
+{/if}
+{if $member_of_ogroup}
+ <button type='submit' name='inheritAll'>{t}Inherit all{/t}</button>
+
+{/if}
<input type="hidden" name="termgeneric_posted" value="1">
<!-- Place cursor -->