diff --git a/py-scripts/artifacts/report.css b/py-scripts/artifacts/report.css index 734a0423..42bbf520 100644 --- a/py-scripts/artifacts/report.css +++ b/py-scripts/artifacts/report.css @@ -188,6 +188,13 @@ li { width: 200px; border: none; } +#BannerLogoFooter { + text-align: right; + padding: 5px; + margin: 5px; + width: 200px; + border: none; +} .TitleFontScreen { margin-left: auto; margin-right: auto; diff --git a/py-scripts/lf_report.py b/py-scripts/lf_report.py index a87c8b33..9827c06b 100755 --- a/py-scripts/lf_report.py +++ b/py-scripts/lf_report.py @@ -25,7 +25,6 @@ LICENSE: INCLUDE_IN_README ''' -import datetime import os import shutil import datetime @@ -92,6 +91,7 @@ class lf_report(): self.banner_file_name = "banner.png" # does this need to be configurable self.logo_directory = "artifacts" self.logo_file_name = "CandelaLogo2-90dpi-200x90-trans.png" # does this need to be configurable. + self.logo_footer_file_name = "candela_swirl_small-72h.png" # does this need to be configurable. self.current_path = os.path.dirname(os.path.abspath(__file__)) self.custom_css = _custom_css # pass in _date to allow to change after construction @@ -103,6 +103,7 @@ class lf_report(): self.copy_banner() self.copy_css() self.copy_logo() + self.copy_logo_footer() def copy_banner(self): banner_src_file = str(self.current_path)+'/'+str(self.banner_directory)+'/'+str(self.banner_file_name) @@ -132,6 +133,13 @@ class lf_report(): #print("logo_dst_file: {}".format(logo_dst_file)) shutil.copy(logo_src_file, logo_dst_file) + def copy_logo_footer(self): + logo_footer_src_file = str(self.current_path)+'/'+str(self.logo_directory)+'/'+str(self.logo_footer_file_name) + logo_footer_dst_file = str(self.path_date_time)+'/'+ str(self.logo_footer_file_name) + #print("logo_footer_src_file: {}".format(logo_footer_src_file)) + #print("logo_footer_dst_file: {}".format(logo_footer_dst_file)) + shutil.copy(logo_footer_src_file, logo_footer_dst_file) + def move_graph_image(self,): graph_src_file = str(self.graph_image) graph_dst_file = str(self.path_date_time)+'/'+ str(self.graph_image) @@ -385,6 +393,7 @@ class lf_report():
+

Generate by Candela Technologies LANforge network testing tool

www.candelatech.com