Revision 68dbf4a4
Von Sven Schöling vor fast 10 Jahren hinzugefügt
templates/webpages/menu/header.html | ||
---|---|---|
1 | 1 |
[%- USE T8 %][%- USE LxERP -%] |
2 |
[%- UNLESS skip_frame_header %] |
|
2 | 3 |
<div id="frame-header"> |
3 |
[% UNLESS is_links %] |
|
4 |
[%- UNLESS is_links %]
|
|
4 | 5 |
<span class="frame-header-element frame-header-left"> |
5 |
[<a href="JavaScript:Switch_Menu();" title="[% 'Switch Menu on / off' | $T8 %]">[% 'Menu' | $T8 %]</a>] |
|
6 | 6 |
[<a href="controller.pl?action=LoginScreen/user_login" target="_blank" title="[% 'Open a further kivitendo window or tab' | $T8 %]">[% 'New window/tab' | $T8 %]</a>] |
7 | 7 |
[<a href="JavaScript:top.print();" title="[% 'Hardcopy' | $T8 %]">[% 'Print' | $T8 %]</a>] |
8 |
[<a href="Javascript:top.history.back();" title="[% 'Go one step back' | $T8 %]">[% 'Back' | $T8 %]</a>] |
|
9 |
[<a href="Javascript:top.history.forward();" title="[% 'Go one step forward' | $T8 %]">[% 'Fwd' | $T8 %]</a>] |
|
10 | 8 |
[%- IF AUTH.assert('general_ledger', 1) %] |
11 |
[[% 'GL search' | $T8 %]: <input id="glquicksearch" name="glquicksearch" type="text" class="ui-widget" size="20" maxlength="20">] |
|
9 |
[ <input name="frame_header_contact_search" id="frame_header_contact_search" placeholder="[% 'Search contacts' | $T8 %]" size="14">] |
|
10 |
[%- END %] |
|
11 |
[%- IF AUTH.assert('general_ledger', 1) %] |
|
12 |
[<input id="glquicksearch" name="glquicksearch" type="text" class="ui-widget" placeholder="[% 'GL search' | $T8 %]" maxlength="20">] |
|
12 | 13 |
[%- END %] |
13 | 14 |
</span> |
14 | 15 |
[%- END %] |
... | ... | |
16 | 17 |
[[% 'User' | $T8 %]: [% MYCONFIG.login | html %] - |
17 | 18 |
[% 'Client' | $T8 %]: [% AUTH.client.name | html %] - |
18 | 19 |
<a href="controller.pl?action=LoginScreen/logout" target="_top" title="[% 'Logout now' | $T8 %]">[% 'Logout' | $T8 %]</a>] |
19 |
[% now.to_lxoffice %] - |
|
20 |
[% now.hms %] |
|
21 | 20 |
</span> |
22 | 21 |
<span class="frame-header-element frame-header-right" id="ajax-spinner"> |
23 | 22 |
<img src="image/[% IF MYCONFIG.stylesheet == 'lx-office-erp.css' %]spinner-blue.gif[% ELSE %]spinner-white.gif[% END %]" alt="[% LxERP.t8('Loading...') %]"> |
24 | 23 |
</span> |
25 | 24 |
</div> |
26 |
[% IF AUTH.assert('general_ledger', 1) %] |
|
27 |
<script type="text/javascript" src="js/glquicksearch.js"></script> |
|
28 |
[% END %] |
|
25 |
[%- END %] |
Auch abrufbar als: Unified diff
Layout Aufräumaktion:
- Admin und V3 Menü entflochten. Benutzen jetzt beide das neue CssMenu
als sub_layout
- Top-Klone aus V3 und Javascript herausoperiert und als sub_layout
eingebunden
- Neues Layout AdminLogin für die Loginmaske im Adminbereich (d'oh)
- Inputfelder im frame_header kleiner gemacht, Frickelfox ignoriert mal
wieder css Vorgaben und inheritet font-size nicht.
- Beschreibung in Placeholder verschoben. Ja das ist html5. Benutz halt
nicht IE6.
- javascript für Ansprechpartnersuche gefixt und ausgelagert.
- Login, Classic und V3 sind top level Layouts und brauchen nicht
sub_layoutbar sein. Macht den Code einfacher.