This commit is contained in:
2020-09-24 17:09:02 +02:00
commit d32686b6d5
4 changed files with 103 additions and 0 deletions

20
templates/report.html Normal file
View File

@ -0,0 +1,20 @@
<html>
<h1>Current vertex count: {{ best_result|length }}</h1>
<h2>Total results submitted: {{ result_count }}</h2>
<h2>Current best solution</h2>
<pre>
{% for id in best_result %}
{{- id }}
{% endfor %}
</pre>
<h2>Workers:</h2>
<ul>
{% for worker in workers %}
<li>{{ worker.ipaddr }} - {{ worker.last_seen }}</li>
{% endfor %}
</ul>
</html>