From 224c1071049243a0d47b22565398ceac2a094732 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Wed, 5 Jun 2019 17:18:43 +0100 Subject: Rename manage to manage_tasks --- app/templates/admin/manage.html | 34 -------------------------- app/templates/admin/manage_tasks.html | 45 +++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+), 34 deletions(-) delete mode 100644 app/templates/admin/manage.html create mode 100644 app/templates/admin/manage_tasks.html (limited to 'app/templates') diff --git a/app/templates/admin/manage.html b/app/templates/admin/manage.html deleted file mode 100644 index 5c10e02..0000000 --- a/app/templates/admin/manage.html +++ /dev/null @@ -1,34 +0,0 @@ -{% extends "base.html" %} -{% import 'bootstrap/wtf.html' as wtf %} - -{% block app_content %} -

Manage Tasks

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

Task Overview

-
- - - - - - - - - {% for task in tasks %} - - - - - - - - {% endfor %} - -
Task IDDataset NameUsernameStatusCompleted On
{{ task.id }}{{ task.dataset.name }}{{ task.user.username }}{% if task.done %}Completed{% else %}Pending{% endif %}{% if task.done %}{{ task.annotated_on }}{% else %}{% endif %}
-
-{% endblock %} diff --git a/app/templates/admin/manage_tasks.html b/app/templates/admin/manage_tasks.html new file mode 100644 index 0000000..eb83b6c --- /dev/null +++ b/app/templates/admin/manage_tasks.html @@ -0,0 +1,45 @@ +{% extends "base.html" %} +{% import 'bootstrap/wtf.html' as wtf %} + +{% block styles %} +{{ super() }} + + + +{% endblock %} + +{% block app_content %} +

Manage Tasks

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

Task Overview

+
+ + + + + + + + + {% for task in tasks %} + + + + + + + + {% endfor %} + +
Task IDDataset NameUsernameStatusCompleted On
{{ task.id }}{{ task.dataset.name }}{{ task.user.username }}{% if task.done %}Completed{% else %}Pending{% endif %}{% if task.done %}{{ task.annotated_on }}{% else %}{% endif %}
+
+ + +{% endblock %} -- cgit v1.2.3