Debug MenĂ¼ im HTML MenĂ¼. FCGI Entwicklung leicht gemacht.
[kivitendo-erp.git] / templates / webpages / menu / header.html
1 [%- USE T8 %]
2 <style type='text/css'>
3   body { margin: 0; color: white; background: url('image/fade.png') repeat-x; }
4   a:link, a:visited, a:hover, a:active { color:white }
5   body > * { font-size: 12px; font-family:verdana,arial,sans-serif; vertical-align:middle; }
6   table { border:0; width: 100%; background: url('image/bg_titel.gif'); border-spacing:0; }
7   td { padding: 0 }
8 </style>
9 <script language='javascript' src='js/switchmenuframe.js'></script>
10 <body>
11  <table>
12   <tr>
13 [% UNLESS is_links %]
14    <td nowrap>
15     [<a href="JavaScript:Switch_Menu();" title="[% 'Switch Menu on / off' | $T8 %]">[% 'Menu' | $T8 %]</a>]
16     [<a HREF="login.pl" target="_blank" title="[% 'Open a further Lx-Office Window or Tab' | $T8 %]">[% 'New Win/Tab' | $T8 %]</a>]
17     [<a href="JavaScript:top.main_window.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>]
18     [<a href="Javascript:top.main_window.history.back();" title="[% 'Go one step back' | $T8 %]">[% 'Back' | $T8 %]</a>]
19     [<a href="Javascript:top.main_window.history.forward();" title="[% 'Go one step forward' | $T8 %]">[% 'Fwd' | $T8 %]</a>]
20    </td>
21 [%- END %]
22 [% IF show_debug %]
23    <td align='center' nowrap>
24     Debug:
25     [<a href='controller.pl?action=DebugMenu/reload']>FCGI Reload</a>]
26     [<a href='controller.pl?action=DebugMenu/toggle&level=request_timer'>[% IF lxdebug.level_by_name('request_timer') %]<b>Timing</b>[% ELSE %]Timing[% END %]</a>]
27     [<a href='controller.pl?action=DebugMenu/toggle&level=trace'>[% IF lxdebug.level_by_name('trace') %]<b>Trace</b>[% ELSE %]Trace[% END %]</a>]
28     [<a href='controller.pl?action=DebugMenu/toggle&level=query'>[% IF lxdebug.level_by_name('query') %]<b>Query</b>[% ELSE %]Query[% END %]</a>]
29    </td>
30 [%- END %]
31    <td align="right" nowrap>
32     [% 'User' | $T8 %]:
33     [% login %]
34     [<a href="login.pl?action=logout" target="_top" title="[% 'Logout now' | $T8 %]">[% 'Logout' | $T8 %]</a>]
35     [% now.to_lxoffice %] -
36     [% now.hms %]
37    </td>
38   </tr>
39  </table>
40 </body>
41 </html>