From ee8b2bdbfcf0250664c96797029408a52be118da Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Wed, 22 Dec 2021 11:31:07 +0300 Subject: Use datatables to display approved and rejected files --- wqflask/wqflask/templates/display_files.html | 37 +++++++++++++++++----------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/wqflask/wqflask/templates/display_files.html b/wqflask/wqflask/templates/display_files.html index 2fd7d7ee..c8c446ba 100644 --- a/wqflask/wqflask/templates/display_files.html +++ b/wqflask/wqflask/templates/display_files.html @@ -1,5 +1,10 @@ {% extends "base.html" %} {% block title %}Trait Submission{% endblock %} + +{% block css %} + +{% endblock %} + {% block content %} {% with messages = get_flashed_messages(with_categories=true) %} @@ -12,14 +17,12 @@ {% endif %} {% endwith %} -
- {% if waiting %}
Files for approval: -
- +
+
@@ -59,10 +62,10 @@ {% endif %} {% if approved %} +

Approved Data:

- Approved Data: -
-
Resource Id Author
+
+
@@ -84,10 +87,10 @@ {% endif %} {% if rejected %} +

Rejected Files:

- Rejected Files: -
-
Resource Id Author
+
+
@@ -105,16 +108,20 @@
Resource Id Author
-
+
{% endif %} - - {%endblock%} {% block js %} - + + {% endblock %} -- cgit v1.2.3