Revision bdb4cfbb
Von Sven Schöling vor etwa 13 Jahren hinzugefügt
SL/Form.pm | ||
---|---|---|
if (my $user_style = $::myconfig{stylesheet}) {
|
||
$user_style =~ s/\.css$//; # nuke trailing .css, this is a remnand of pre 2.7.0 stylesheet handling
|
||
$css_path = "$css_path/$user_style" if -d "$css_path/$user_style";
|
||
} else {
|
||
$css_path = "$css_path/lx-office-erp";
|
||
}
|
||
$::myconfig{css_path} = $css_path; # needed for menunew, FIXME: don't do this here
|
||
|
||
... | ... | |
push @header, map { qq|<script type="text/javascript" src="js/$_.js"></script>| }
|
||
qw(jquery common jscalendar/calendar jscalendar/lang/calendar-de jscalendar/calendar-setup part_selection jquery-ui jqModal switchmenuframe);
|
||
push @header, map { qq|<link rel="stylesheet" type="text/css" href="$css_path/$_.css">| }
|
||
qw(main menu tabcontent list_accounts jquery.autocomplete jquery.multiselect2side frame_header/header);
|
||
qw(main menu tabcontent list_accounts jquery.autocomplete jquery.multiselect2side frame_header/header ui-lightness/jquery-ui-1.8.12.custom);
|
||
push @header, map { qq|<link rel="stylesheet" type="text/css" href="js/jscalendar/calendar-win2k-1.css">| }
|
||
push @header, map { $_->show_javascript } @{ $self->{AJAX} || [] };
|
||
push @header, "<script type='text/javascript'>function fokus(){ document.$self->{fokus}.focus(); }</script>" if $self->{fokus};
|
||
push @header, sprintf "<script type='text/javascript'>top.document.title='%s';</script>",
|
bin/mozilla/am.pl | ||
---|---|---|
}
|
||
|
||
$form->{STYLESHEETS} = [];
|
||
foreach my $item (qw(lx-office-erp.css Win2000.css Mobile.css)) {
|
||
foreach my $item (qw(lx-office-erp.css Win2000.css Mobile.css kivitendo.css)) {
|
||
push @{ $form->{STYLESHEETS} }, {
|
||
'name' => $item,
|
||
'value' => $item,
|
css/lx-office-erp/frame_header/header.css | ||
---|---|---|
|
||
div.frame-header {
|
||
background: url('../../../image/bg_titel.gif') repeat-x;
|
||
text-align: center;
|
||
}
|
||
|
||
.frame-header {
|
||
... | ... | |
overflow: hidden;
|
||
width: 100%;
|
||
border-spacing: 0;
|
||
text-align: center;
|
||
}
|
||
|
||
.frame-header-left {
|
||
... | ... | |
border-spacing: 0;
|
||
color: white;
|
||
padding: 0;
|
||
font-size: 12px;
|
||
font-family: verdana,arial,sans-serif;
|
||
vertical-align: middle;
|
||
}
|
templates/webpages/login/company_logo.html | ||
---|---|---|
%]
|
||
</noscript>
|
||
<center>
|
||
<a class="nomobile" href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0" title="[% 'Lx-Office Homepage' | $T8 %]"></a>
|
||
<a class="nomobile" href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo.png" border="0" title="[% 'kivitendo Homepage' | $T8 %]"></a>
|
||
|
||
<h3 class="login">[% 'Lx-Office' | $T8 %] [% version %]</h3>
|
||
|
templates/webpages/login/login_screen.html | ||
---|---|---|
<table class="login" border="3" cellpadding="20">
|
||
<tr>
|
||
<td class="login" align="center">
|
||
<a href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></a>
|
||
<a href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo.png" border="0"></a>
|
||
<h3 class="login" align="center">[% 'Lx-Office' | $T8 %] [% version %]</h3>
|
||
|
||
[% IF error_message %]
|
templates/webpages/menu/menuv4.html | ||
---|---|---|
[%- USE T8 %]
|
||
[% USE HTML %]<body style="padding:0px; margin:0px;">
|
||
[%- USE HTML %]
|
||
<body class="frame-header menuv4">
|
||
<div class="frame-header">
|
||
<span class="frame-header-element frame-header-left">
|
||
[<a href="menuv4.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
|
||
[<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
|
||
</span>
|
||
<span class="frame-header-element frame-header-right">
|
||
[[% 'User' | $T8 %]: [% HTML.escape(login) %] -
|
||
<a href="login.pl?action=logout" target="_top">[% 'logout' | $T8 %]</a>]
|
||
[% date %] <span id='clock_id' style='position:relative'></span>
|
||
</span>
|
||
</div>
|
||
<div id="menuv4">
|
||
[% menu %]
|
||
</div>
|
||
<div style="clear: both;"></div>
|
||
<iframe id="win1" src="[% callback %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
||
<p>[% 'MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES' | $T8 %]</p>
|
||
</iframe>
|
||
</body>
|
||
|
||
|
||
<script type="text/javascript">
|
||
<!--
|
||
... | ... | |
window.onload=clockon
|
||
//-->
|
||
</script>
|
||
|
||
<table border="0" width="100%" background="image/bg_titel.gif" cellpadding="0" cellspacing="0">
|
||
<tr>
|
||
<td style="color:white; font-family:verdana,arial,sans-serif; font-size: 12px;">
|
||
|
||
[<a href="menuv4.pl?action=display" target="_blank">[% 'new Window' | $T8 %]</a>]
|
||
|
||
[<a href="JavaScript:top.main_window.print()">[% 'print' | $T8 %]</a>]
|
||
</td>
|
||
<td align="right" style="vertical-align:middle; color:white; font-family:verdana,arial,sans-serif; font-size: 12px;" nowrap>
|
||
[[% 'User' | $T8 %]: [% HTML.escape(login) %] -
|
||
<a href="login.pl?action=logout" target="_top">[% 'logout' | $T8 %]</a>]
|
||
[% date %] <span id='clock_id' style='position:relative'></span>
|
||
</td>
|
||
</tr>
|
||
</table>
|
||
|
||
|
||
<div id="menuv4">
|
||
|
||
[% menu %]
|
||
|
||
</div>
|
||
|
||
<div style="clear: both;"></div>
|
||
|
||
<iframe id="win1" src="[% callback %]" width="100%" height="94%" name="main_window" style="position: absolute; border: 0px; z-index: 99; ">
|
||
<p>[% 'MSG_BROWSER_DOES_NOT_SUPPORT_IFRAMES' | $T8 %]</p>
|
||
</iframe>
|
||
</body>
|
||
</html>
|
Auch abrufbar als: Unified diff
cebit version