Add select row to best report

This commit is contained in:
2023-06-06 01:05:05 +02:00
parent eb8b0d3554
commit eed8f12e4a
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@@ -79,7 +79,10 @@ def best(file_name):
with open(os.path.join(Folders.results, file_name)) as f:
data = json.load(f)
except Exception as e:
return render_template("error.html", message=str(e))
return render_template(
"error.html",
message=f"This best results file ({file_name}) has not been created yet!",
)
return render_template("best.html", data=data)

View File

@@ -1,6 +1,6 @@
{% extends "base.html" %}
{% block content %}
<table id="file-table"
<table id="report-table"
class="table table-striped table-hover table-bordered bg-light">
<thead>
<tr class="bg-primary text-white">