Finish select benchmark

This commit is contained in:
2023-06-05 17:33:20 +02:00
parent b4ced47b52
commit 11bef3d7f4
9 changed files with 51 additions and 29 deletions

View File

@@ -0,0 +1,9 @@
<div class="container col-md-4 col-sm-4 col-lg-offset-4">
<h5>Benchmarks</h5>
<div class="list-group">
{% for benchmark in benchmarks %}
<a href="{{ url_for('main.set_benchmark', benchmark_id=benchmark.id) }}"
class="list-group-item list-group-item-action {% if benchmark == current_user.benchmark %}active{% endif %}">{{ benchmark.name + " - " + benchmark.description }}</a>
{% endfor %}
</div>
</div>