mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lf_report.py : added build_link to html
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
@@ -295,6 +295,13 @@ class lf_report():
|
||||
""".format(pdf_link_path=pdf_link_path)
|
||||
self.html += self.pdf_link_html
|
||||
|
||||
def build_link(self,_link,_link_name):
|
||||
self.link = """
|
||||
<!-- link -->
|
||||
<a href={link}>{link_name}<a>
|
||||
""".format(link=_link,link_name=_link_name)
|
||||
self.html += self.link
|
||||
|
||||
|
||||
def generate_report(self):
|
||||
self.write_html()
|
||||
|
||||
Reference in New Issue
Block a user