diff --git a/logger/resources/templates/output_block.html b/logger/resources/templates/output_block.html index be70f55..5b39758 100644 --- a/logger/resources/templates/output_block.html +++ b/logger/resources/templates/output_block.html @@ -1,14 +1,32 @@
{table_contents}
diff --git a/logger/util.py b/logger/util.py
index 2e7c38f..6fd96b3 100644
--- a/logger/util.py
+++ b/logger/util.py
@@ -404,10 +404,12 @@ def html_header():
embed_style("output_style.css") +
embed_style("diagnostics_style.css") +
embed_style("stat_chart_style.css") +
+ embed_style("search_controls.css") +
embed_script("jquery.slim.min.js") +
embed_script("bootstrap.bundle.min.js") +
embed_script("Chart.bundle.min.js") +
embed_script("search_output.js") +
+ embed_html("search_icon.svg") +
"
"
)
@@ -425,6 +427,9 @@ def embed_script(resource):
"\n\n"
)
+def embed_html(resource):
+ return pkgutil.get_data(__name__, f"resources/{resource}").decode()
+
def load_template(template):
template_file = f"resources/templates/{template}"
return pkgutil.get_data(__name__, template_file).decode()