ci update

This commit is contained in:
Egor Matveev
2021-12-07 16:31:43 +03:00
parent aed905414e
commit bd9ffa20bc
6 changed files with 30 additions and 1 deletions

View File

@@ -94,6 +94,11 @@
<button type="submit" class="btn btn-light" style="margin-top: 15px;"><i class="fa fa-save"></i> Сохранить</button>
</form>
<hr><hr>
<h3>Редакторы</h3>
{% for editor in task.editors %}
<i class="fa fa-user"></i> <a href="/account?username={{ editor }}">{{ editor }}</a><br>
{% endfor %}
<hr><hr>
<h3 style="margin-bottom: 40px;">Загрузка тестов и файлов</h3>
<p style="color: red">{{ error_message }}</p>
<table style="width: 80%;">

View File

@@ -43,7 +43,7 @@
{% endif %}
</tr>
</table>
{% for task in user.userinfo.available_tasks %}
{% for task in tasks %}
<a href="/task?task_id={{ task.id }}">{{ task.name }}</a> {% if task.creator == user %}<a href="/admin/task?task_id={{ task.id }}"><i class="fa fa-pencil"></i> </a>{% endif %}<br>
{% endfor %}
{% endblock %}