обновление для Кубка России
переделаны все парсеры на ссылки из базы
This commit is contained in:
@@ -27,19 +27,6 @@
|
||||
background: var(--panel-2);
|
||||
color: var(--text);
|
||||
}
|
||||
.logo-box {
|
||||
margin-top: 8px;
|
||||
padding: 12px;
|
||||
border: 1px dashed var(--border);
|
||||
border-radius: 12px;
|
||||
background: var(--panel-2);
|
||||
}
|
||||
.logo-preview {
|
||||
max-width: 120px;
|
||||
max-height: 120px;
|
||||
object-fit: contain;
|
||||
display: block;
|
||||
}
|
||||
.actions { margin-top: 20px; display: flex; gap: 10px; }
|
||||
.btn { min-height: 42px; padding: 0 14px; border: none; border-radius: 10px; cursor: pointer; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; }
|
||||
.btn-primary { background: var(--accent); color: white; }
|
||||
@@ -80,14 +67,10 @@
|
||||
</div>
|
||||
|
||||
<div class="form-group full">
|
||||
<label>Путь к логотипу</label>
|
||||
<input type="text" name="logo_path" value="{{ team.logo_path }}">
|
||||
<div class="logo-box">
|
||||
{% if team.logo_path %}
|
||||
<img src="{{ team.logo_path }}" alt="{{ team.name }}" class="logo-preview">
|
||||
{% else %}
|
||||
Логотип не задан.
|
||||
{% endif %}
|
||||
<label>Файл логотипа</label>
|
||||
<input type="text" name="logo_path" value="{{ team.logo_path }}" placeholder="Например: Динамо_Синий.png">
|
||||
<div class="small-meta">
|
||||
В команде хранится только имя файла. Полный путь подставляется автоматически по источнику выбранного матча.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user