mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 03:07:56 +00:00
lf_report.py: updates banner to be centered, adds background color behind banner.
Signed-off-by: Jed Reynolds <jed@candelatech.com>
This commit is contained in:
@@ -158,11 +158,22 @@ li {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* these styles will get overridden by custom.css */
|
/* these styles will get overridden by custom.css */
|
||||||
|
#BannerBack {
|
||||||
|
background-color: #e68b15;
|
||||||
|
height: 205px;
|
||||||
|
max-height: 205px;
|
||||||
|
border: 0 none;
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
#Banner {
|
#Banner {
|
||||||
background-image:url("banner.png");
|
background-image:url("banner.png");
|
||||||
background-repeat:no-repeat;
|
background-repeat:no-repeat;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0 auto;
|
||||||
min-width: 1000px;
|
min-width: 1000px;
|
||||||
min-height: 205px;
|
min-height: 205px;
|
||||||
width: 1000px;
|
width: 1000px;
|
||||||
|
|||||||
@@ -286,6 +286,7 @@ class lf_report():
|
|||||||
<title>{title}</title>
|
<title>{title}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<div id='BannerBack'>
|
||||||
<div id='Banner'>
|
<div id='Banner'>
|
||||||
<br/>
|
<br/>
|
||||||
<img id='BannerLogo' align='right' src="CandelaLogo2-90dpi-200x90-trans.png" border='0' />
|
<img id='BannerLogo' align='right' src="CandelaLogo2-90dpi-200x90-trans.png" border='0' />
|
||||||
@@ -294,6 +295,7 @@ class lf_report():
|
|||||||
<h4 class='TitleFontPrintSub'>{date}</h4>
|
<h4 class='TitleFontPrintSub'>{date}</h4>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
""".format(
|
""".format(
|
||||||
title=self.title,
|
title=self.title,
|
||||||
date=self.date,
|
date=self.date,
|
||||||
|
|||||||
Reference in New Issue
Block a user