From d02058cafc30fd5bb8d87b6f5a9de8a75d309807 Mon Sep 17 00:00:00 2001 From: Gertjan van den Burg Date: Tue, 26 Mar 2019 13:59:37 +0000 Subject: Spruce things up a bit --- app/templates/index.html | 51 ++++++++++++++++++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 13 deletions(-) (limited to 'app/templates') diff --git a/app/templates/index.html b/app/templates/index.html index 6f868b1..da9c360 100644 --- a/app/templates/index.html +++ b/app/templates/index.html @@ -1,30 +1,55 @@ {% extends "base.html" %} +{% block styles %} +{{ super() }} + +{% endblock %} + {% block app_content %} {% if current_user.is_authenticated %}

Hi, {{ current_user.username }}!

-
- Below are the annotation tasks we've asked you to do, thank you so much for - your help! -
{% if tasks_todo %}

Annotations to be done

+
+

+ Below are the datasets that we've asked you to annotate, thank you + very much for your help! +

+
-
    - {% for task in tasks_todo %} -
  1. {{ task.dataset.name }}
  2. - {% endfor %} -
+ + + + + {% for task in tasks_todo %} + + + + {% endfor %} +
Name
{{ task.dataset.name }}
{% else %} - No more annotations to do, thanks for your help, you rock! +
+ + No more annotations to do! Thank you so much for your + help, you rock! +
{% endif %} {% if tasks_done %}

Completed Annotations

- {% for task in tasks_done %} - {{ task.dataset.name }} - {% endfor %} + + + + + + {% for task in tasks_done %} + + + + + {% endfor %} +
NameCompleted On
{{ task.dataset.name }}{{ task.annotated_on }}
{% endif %} {% else %} -- cgit v1.2.3