mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 19:28:00 +00:00
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:
@@ -84,6 +84,12 @@ th {
|
||||
li {
|
||||
line-height: 1.5;
|
||||
}
|
||||
.contentDiv2 {
|
||||
min-width: 800px;
|
||||
max-width: 8in;
|
||||
margin: 1em;
|
||||
padding: 0;
|
||||
}
|
||||
.contentDiv {
|
||||
min-width: 800px;
|
||||
max-width: 8in;
|
||||
|
||||
@@ -336,6 +336,9 @@ class lf_report():
|
||||
""".format(title=self.table_title)
|
||||
self.html += self.table_title_html
|
||||
|
||||
def start_content_div2(self):
|
||||
self.html += "\n<div class='contentDiv2'>\n"
|
||||
|
||||
def start_content_div(self):
|
||||
self.html += "\n<div class='contentDiv'>\n"
|
||||
|
||||
|
||||
@@ -1141,7 +1141,7 @@ Example :
|
||||
# generate output reports
|
||||
report.set_title("LF Check: lf_check.py")
|
||||
report.build_banner()
|
||||
report.start_content_div()
|
||||
report.start_content_div2()
|
||||
report.set_table_title("LF Check Test Results")
|
||||
report.build_table_title()
|
||||
report.set_text("lanforge-scripts git sha: {}".format(git_sha))
|
||||
|
||||
Reference in New Issue
Block a user