1. исправил agent.py
2. поменял явки и пароли для создания операторов 3. убрал из maches.html оператора, и добавил галочку завершенные матчи
This commit is contained in:
@@ -345,6 +345,21 @@
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div class="filter-group">
|
||||
<label>Статус матчей</label>
|
||||
<div class="check-line">
|
||||
<input type="hidden" name="hide_finished" value="false">
|
||||
<input
|
||||
type="checkbox"
|
||||
name="hide_finished"
|
||||
value="true"
|
||||
{% if hide_finished %}checked{% endif %}
|
||||
onchange="document.getElementById('filters-form').submit();"
|
||||
>
|
||||
<span>Завершенные матчи</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="filter-group">
|
||||
<label> </label>
|
||||
<div class="check-line">
|
||||
@@ -364,7 +379,6 @@
|
||||
<th>Тур</th>
|
||||
<th>Сезон</th>
|
||||
<th>Статус</th>
|
||||
<th>Оператор</th>
|
||||
<th>Действие</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -386,14 +400,8 @@
|
||||
{{ status }}
|
||||
</span>
|
||||
</td>
|
||||
<td colspan="2">
|
||||
<td>
|
||||
<form method="get" action="/admin/matches/{{ row[0] }}/select" class="select-form js-select-form">
|
||||
<input
|
||||
type="text"
|
||||
name="operator_name"
|
||||
placeholder="Имя оператора"
|
||||
class="operator-input"
|
||||
>
|
||||
<button type="submit" class="btn">Выбрать матч</button>
|
||||
</form>
|
||||
</td>
|
||||
|
||||
Reference in New Issue
Block a user