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 {
|
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;
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|
||||||
|
|||||||
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user