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:
Jed Reynolds
2021-06-03 12:44:09 -07:00
parent 4dbdd04777
commit bc67c98678
2 changed files with 14 additions and 1 deletions

View File

@@ -158,11 +158,22 @@ li {
}
/* 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 {
background-image:url("banner.png");
background-repeat:no-repeat;
padding: 0;
margin: 0;
margin: 0 auto;
min-width: 1000px;
min-height: 205px;
width: 1000px;

View File

@@ -286,6 +286,7 @@ class lf_report():
<title>{title}</title>
</head>
<body>
<div id='BannerBack'>
<div id='Banner'>
<br/>
<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>
</div>
</div>
</div>
""".format(
title=self.title,
date=self.date,