Files
beflask/app/templates/index.html
2023-06-05 14:25:47 +02:00

20 lines
676 B
HTML

{% extends "base.html" %}
{% block content %}
{% if benchmarks %}
<h5>Benchmarks</h5>
<ul>
{% for benchmark in benchmarks %}
<li>
<a href="{{ url_for('main.set_benchmark', benchmark_id=benchmark.id) }}">{{ benchmark.name }}
{% if benchmark == current_user.benchmark %}*{% endif %}
</a>
</li>
{% endfor %}
</ul>
{% else %}
<img src="{{ url_for('static', filename='img/robert-lukeman-_RBcxo9AU-U-unsplash.jpg') }}"
class="img-fluid"
alt="image robert lukeman">
{% endif %}
{% endblock %}