f1tness_parser/app/templates/index.html
2026-10-22 23:46:29 +03:00

15 lines
497 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{% extends "base.html" %}
{% from "_trainings_table.html" import trainings_table %}
{% block content %}
<h1 class="h3 mb-3">Все тренировки</h1>
{% if trainings %}
{{ trainings_table(trainings) }}
{% else %}
<div class="alert alert-info">
В базе пока нет тренировок. Загрузи их из заметок командой:
<br><code>docker compose exec fastapi-app python -m app.cli import</code>
</div>
{% endif %}
{% endblock %}