mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
added a way to include app css files
This commit is contained in:
parent
ef1c96f268
commit
8b6625cdb1
@ -38,6 +38,12 @@
|
||||
$bodyheader .= ' topmargin="0" marginheight="0" marginwidth="0" leftmargin="0"';
|
||||
}
|
||||
|
||||
if ($fp = @fopen(PHPGW_APP_TPL."/app.css","r"))
|
||||
{
|
||||
$app_css = fread ($fp, filesize (PHPGW_APP_TPL."/app.css"));
|
||||
fclose($fp);
|
||||
}
|
||||
|
||||
$tpl = CreateObject('phpgwapi.Template',PHPGW_TEMPLATE_DIR);
|
||||
$tpl->set_unknowns('remove');
|
||||
$tpl->set_file(array('head' => 'head.tpl'));
|
||||
@ -47,6 +53,7 @@
|
||||
'website_title' => $GLOBALS['phpgw_info']['server']['site_title'],
|
||||
'app_name' => lang($GLOBALS['phpgw_info']['flags']['currentapp']),
|
||||
'body_tags' => $bodyheader,
|
||||
'bg_color' => $GLOBALS['phpgw_info']['theme']['bg_color'],
|
||||
'css_link' => $GLOBALS['phpgw_info']['theme']['link'],
|
||||
'css_alink' => $GLOBALS['phpgw_info']['theme']['alink'],
|
||||
'css_vlink' => $GLOBALS['phpgw_info']['theme']['vlink'],
|
||||
|
@ -8,119 +8,156 @@
|
||||
<META NAME="keywords" CONTENT="phpGroupWare">
|
||||
<STYLE type="text/css">
|
||||
<!--
|
||||
A.main_menu, A.main_menu:LINK, A.main_menu:VISITED {
|
||||
color: White;
|
||||
text-decoration: none;
|
||||
}
|
||||
A.main_menu, A.main_menu:LINK, A.main_menu:VISITED
|
||||
{
|
||||
color: White;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
A.main_menu:HOVER {
|
||||
background-color: #7C92FC;
|
||||
}
|
||||
A.main_menu:HOVER
|
||||
{
|
||||
background-color: #7C92FC;
|
||||
}
|
||||
|
||||
DIV.main_menu {
|
||||
position : absolute;
|
||||
border : 0px dotted;
|
||||
background : #7C92DC;
|
||||
background : #7C92BC;
|
||||
padding : 0px 0px 0px 0px;
|
||||
padding-bottom : 0px;
|
||||
padding-left : 0px;
|
||||
padding-right : 0px;
|
||||
padding-top : 0px;
|
||||
}
|
||||
INPUT.text
|
||||
{
|
||||
BACKGROUND : #FFFFCC;
|
||||
COLOR: #000000;
|
||||
BORDER: 1px solid #000000;
|
||||
FONT-SIZE: 10px;
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
DIV.main_body {
|
||||
position : absolute;
|
||||
border-width : 1px;
|
||||
background-color : #7C92BC;
|
||||
padding-bottom : 0px;
|
||||
padding-left : 0px;
|
||||
padding-right : 0px;
|
||||
padding-top : 0px;
|
||||
}
|
||||
TEXTAREA.text
|
||||
{
|
||||
BACKGROUND : #FFFFCC;
|
||||
COLOR: #000000;
|
||||
BORDER: 1px solid #000000;
|
||||
FONT-SIZE: 10px;
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
TD.main_menu {
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #4242B3;
|
||||
border-right : 1px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 12px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
TD.main_menu_bottom {
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 0px solid #4242B3;
|
||||
border-right : 0px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 10px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
TD.main_menu_apps {
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #6157D5;
|
||||
border-right : 1px solid #6157D5;
|
||||
width : 100%;
|
||||
height: 12px;
|
||||
font-family : Arial;
|
||||
font-size : 12px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
TD.main_menu_info {
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #4242B3;
|
||||
border-right : 1px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 10px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
}
|
||||
SELECT
|
||||
{
|
||||
BACKGROUND : #FFFFCC;
|
||||
COLOR: #000000;
|
||||
BORDER: 1px solid #000000;
|
||||
FONT-SIZE: 10px;
|
||||
border-collapse : collapse;
|
||||
}
|
||||
|
||||
|
||||
|
||||
a { text-decoration:none; }
|
||||
A:link{ text-decoration:none; color: {css_link}; }
|
||||
A:visted{ text-decoration:none; color: {css_vlink}; }
|
||||
A:active{ text-decoration:none; color: {css_alink}; }
|
||||
{css_hovlink}
|
||||
body {
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
font-family: "{font_family}";
|
||||
background-color : #7C92BC;
|
||||
}
|
||||
.tablink { color: #000000; }
|
||||
{app_css}
|
||||
DIV.main_menu
|
||||
{
|
||||
position : absolute;
|
||||
border : 0px dotted;
|
||||
background : #7C92BC;
|
||||
padding : 0px 0px 0px 0px;
|
||||
padding-bottom : 0px;
|
||||
padding-left : 0px;
|
||||
padding-right : 0px;
|
||||
padding-top : 0px;
|
||||
}
|
||||
|
||||
DIV.main_body {
|
||||
position : absolute;
|
||||
border-width : 1px;
|
||||
background-color : #7C92BC;
|
||||
padding-bottom : 0px;
|
||||
padding-left : 0px;
|
||||
padding-right : 0px;
|
||||
padding-top : 0px;
|
||||
}
|
||||
|
||||
TD.main_menu
|
||||
{
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #4242B3;
|
||||
border-right : 1px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 12px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
TD.main_menu_bottom
|
||||
{
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 0px solid #4242B3;
|
||||
border-right : 0px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 10px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:left;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
TD.main_menu_apps
|
||||
{
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #6157D5;
|
||||
border-right : 1px solid #6157D5;
|
||||
width : 100%;
|
||||
height: 12px;
|
||||
font-family : Arial;
|
||||
font-size : 12px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
TD.main_menu_info
|
||||
{
|
||||
border-top : 0px hidden #EAE17B;
|
||||
border-left : 0px hidden #EAE17B;
|
||||
border-bottom : 1px solid #4242B3;
|
||||
border-right : 1px solid #4242B3;
|
||||
width : 100%;
|
||||
height: 22px;
|
||||
font-family : Arial;
|
||||
font-size : 10px;
|
||||
color : White;
|
||||
padding-right: 10px;
|
||||
margin-right: 10px;
|
||||
vertical-align:middle;
|
||||
text-align:right;
|
||||
}
|
||||
|
||||
a { text-decoration:none; }
|
||||
A:link{ text-decoration:none; color: {css_link}; }
|
||||
A:visted{ text-decoration:none; color: {css_vlink}; }
|
||||
A:active{ text-decoration:none; color: {css_alink}; }
|
||||
{css_hovlink}
|
||||
|
||||
body
|
||||
{
|
||||
margin-top: 0px;
|
||||
margin-right: 0px;
|
||||
margin-left: 0px;
|
||||
font-family: "{font_family}";
|
||||
FONT-SIZE: 10px;
|
||||
background-color : #7C92BC;
|
||||
}
|
||||
|
||||
.tablink { color: #000000; }
|
||||
{app_css}
|
||||
-->
|
||||
</STYLE>
|
||||
<script language="JavaScript">
|
||||
|
@ -48,7 +48,6 @@ target="_lawde">http://linux-at-work.de</a>
|
||||
<br><br><br>
|
||||
|
||||
<FORM method="post" action="{login_url}">
|
||||
<input type="hidden" name="passwd_type" value="text">
|
||||
<TABLE border="0" align="CENTER" bgcolor="#1559a9" cellpadding="0" cellspacing="0">
|
||||
<TR bgcolor="#1559a9">
|
||||
<TD colspan="2" align="CENTER">
|
||||
|
@ -42,7 +42,6 @@
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="main_body" style="position: absolute; border-left-width:medium;
|
||||
border-left-style:double;
|
||||
height:100%; left:15% ; top :0px ; width:85%; overflow : auto">
|
||||
<div class="main_body" style="position: absolute; padding: 0px; height:100%; left:15% ; top :0px ;
|
||||
width:85%; overflow : auto">
|
||||
<!-- END navbar -->
|
||||
|
Loading…
Reference in New Issue
Block a user