demo/templates/index.html
2026-01-27 15:54:55 +05:00

23 lines
799 B
HTML
Raw Permalink 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" %}
{% block content %}
<!-- Заголовок и кнопка добавления -->
<div class="d-flex justify-content-between align-items-center mb-4">
<h2 class="page-title">Список партнеров</h2>
<a href="{{ url_for('add_partner') }}" class="btn btn-primary">
<i class="fas fa-plus"></i> Новый партнер
</a>
</div>
{% if partners %}
<div class="row">
{% for partner in partners %}
{% include 'components/partner_card.html' %}
{% endfor %}
</div>
{% else %}
<div class="alert alert-info">
<i class="fas fa-info-circle"></i> Нет данных о партнерах
</div>
{% endif %}
{% endblock %}