diff --git a/teaser/data/output/reports/model_report.py b/teaser/data/output/reports/model_report.py index dcee6a127..ef3a2055f 100644 --- a/teaser/data/output/reports/model_report.py +++ b/teaser/data/output/reports/model_report.py @@ -441,12 +441,12 @@ def create_html_page(bldg_data, prj_name, bldg_name, html_file_name, iframe_src) value = area html_content += f""" - {html.escape(str(key))} + {html.escape(str(key))} {html.escape(str(orient))} {html.escape( str(round(value, 2)))} + "text-align: center; background-color: #D3D3D3;"> {html.escape(unit)} """ @@ -464,7 +464,7 @@ def create_html_page(bldg_data, prj_name, bldg_name, html_file_name, iframe_src) html_content += f""" {html.escape(value)} + "text-align: center; background-color: #D3D3D3;"> """ if isinstance(unit, list): html_content += f""" @@ -478,21 +478,19 @@ def create_html_page(bldg_data, prj_name, bldg_name, html_file_name, iframe_src) """ if iframe_src: html_content += f""" - - -
-
- -
-        - Walls -          -        - Windows
""" + +
+
+
+ +
+       +Walls +         +       +Windows
""" else: html_content += f""" @@ -503,22 +501,21 @@ def create_html_page(bldg_data, prj_name, bldg_name, html_file_name, iframe_src) available. Error during image creation.

""" html_content += f""" - Assumptions:
-
  • All windows of a storey and with the same - orientation are put together into one big window - which is placed in the middle of the storey
  • -
  • Only works for buildings with 4 directions - currently, while the smallest will be interpreted as - north, the next bigger one as east and so on.
  • -
  • The roof is not displayed correctly yet
  • -
    -
    -
    -
    -
    - - - """ +Assumptions:
    +
  • All windows of a storey and with the same +orientation are put together into one big window +which is placed in the middle of the storey
  • +
  • Only works for buildings with 4 directions +currently, while the smallest will be interpreted as +north, the next bigger one as east and so on.
  • +
  • The roof is not displayed correctly yet
  • + + + + + + +""" with open(html_file_name, "w") as html_file: html_file.write(html_content)