def site_list(sites): html = '' for site in sites: html += f'{site["name"]}{site["domain"]}{site["active"]}' return html def alt_domains(domains): if len(domains) == 0: return "No alternate domains" html = '' return html def site_content(site,files): #
  • List Group Item 1
  • html = '' for file in files: html += f'
  • {file} | Download | Delete
  • ' return html def dns_info(info): html = '' for domain in info: html += f'{domain["domain"]}{domain["ip"]}{domain["tlsa"]}' return html