обновление для Кубка России

переделаны все парсеры на ссылки из базы
This commit is contained in:
2026-07-02 12:46:29 +03:00
parent b0fe3ad5a4
commit 57907fd86b
29 changed files with 1838 additions and 240 deletions

View File

@@ -26,13 +26,6 @@
tr:last-child td { border-bottom: none; }
.id-col { width: 70px; }
.action-col { width: 140px; text-align: right; }
.logo-preview {
width: 28px;
height: 28px;
object-fit: contain;
display: inline-block;
vertical-align: middle;
}
.empty-box { padding: 18px; border-radius: 12px; background: var(--panel-2); color: var(--muted); border: 1px dashed var(--border); }
</style>
</head>
@@ -57,7 +50,7 @@
<th>Полное название</th>
<th>Город</th>
<th>3 буквы</th>
<th>Логотип</th>
<th>Файл логотипа</th>
<th>External ID</th>
<th class="action-col"></th>
</tr>
@@ -70,13 +63,7 @@
<td>{{ t.full_name or "—" }}</td>
<td>{{ t.city or "—" }}</td>
<td>{{ t.short_name_3 or "—" }}</td>
<td>
{% if t.logo_path %}
<img src="{{ t.logo_path }}" alt="{{ t.name }}" class="logo-preview">
{% else %}
{% endif %}
</td>
<td>{{ t.logo_path or "—" }}</td>
<td>{{ t.external_id }}</td>
<td class="action-col">
<a href="/admin/db/teams/{{ t.id }}/edit" class="btn btn-secondary">Редактировать</a>