report.css , lf_report.py lf_check.py : formatting changes on the report

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-07-23 17:13:37 -06:00
parent 49ccefd750
commit 29cf163a88
3 changed files with 10 additions and 1 deletions

View File

@@ -84,6 +84,12 @@ th {
li { li {
line-height: 1.5; line-height: 1.5;
} }
.contentDiv2 {
min-width: 800px;
max-width: 8in;
margin: 1em;
padding: 0;
}
.contentDiv { .contentDiv {
min-width: 800px; min-width: 800px;
max-width: 8in; max-width: 8in;

View File

@@ -336,6 +336,9 @@ class lf_report():
""".format(title=self.table_title) """.format(title=self.table_title)
self.html += self.table_title_html self.html += self.table_title_html
def start_content_div2(self):
self.html += "\n<div class='contentDiv2'>\n"
def start_content_div(self): def start_content_div(self):
self.html += "\n<div class='contentDiv'>\n" self.html += "\n<div class='contentDiv'>\n"

View File

@@ -1141,7 +1141,7 @@ Example :
# generate output reports # generate output reports
report.set_title("LF Check: lf_check.py") report.set_title("LF Check: lf_check.py")
report.build_banner() report.build_banner()
report.start_content_div() report.start_content_div2()
report.set_table_title("LF Check Test Results") report.set_table_title("LF Check Test Results")
report.build_table_title() report.build_table_title()
report.set_text("lanforge-scripts git sha: {}".format(git_sha)) report.set_text("lanforge-scripts git sha: {}".format(git_sha))