From 839a428d2bf1f13ce2d7629146d3b6b59caa776c Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 27 Mar 2019 18:03:45 +0000 Subject: Add support for automatic task assignment --- app/templates/admin/manage.html | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'app/templates') diff --git a/app/templates/admin/manage.html b/app/templates/admin/manage.html index 92aa6a5..e0c247a 100644 --- a/app/templates/admin/manage.html +++ b/app/templates/admin/manage.html @@ -2,10 +2,17 @@ {% import 'bootstrap/wtf.html' as wtf %} {% block app_content %} -

Manage Tasks

+

Manage Tasks Automatically

- {{ wtf.quick_form(form, button_map={'assign': 'primary', 'delete': 'danger'}) }} + {{ wtf.quick_form(form_auto, button_map={'assign': 'success'}) }} +
+
+ +

Manage Tasks Manually

+
+
+ {{ wtf.quick_form(form_manual, button_map={'assign': 'primary', 'delete': 'danger'}) }}

@@ -14,16 +21,16 @@ - + {% for task in tasks %} - + -- cgit v1.2.3
Task IDUsername Dataset NameUsername Status Completed On
{{ task.id }}{{ task.user.username }} {{ task.dataset.name }}{{ task.user.username }} {% if task.done %}Completed{% else %}Pending{% endif %} {% if task.done %}{{ task.annotated_on }}{% else %}{% endif %}