X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=django_simple%2Ftodo%2Ftemplates%2Findex.html;h=608de3743bc8b23839410cf8a13582adf95f35d6;hb=HEAD;hp=1aa90dadff3aade306bb0ab87d4facdd8c7e4533;hpb=a59ed9fccce9251f366fdddc844f48910d808d2f;p=django_unres.git diff --git a/django_simple/todo/templates/index.html b/django_simple/todo/templates/index.html index 1aa90da..608de37 100644 --- a/django_simple/todo/templates/index.html +++ b/django_simple/todo/templates/index.html @@ -16,10 +16,18 @@
{{ variable }}
+
{% if not user|is_lazy_user %} + {% if tasks_count > 123 %} +
  • +
    + Too many jobs saved. Delete some before adding a new job. +
    +
  • + {% else %}
  • {% csrf_token %} @@ -35,8 +43,14 @@
  • + {% endif %} {% endif %}
  • +
    + Total jobs saved {{tasks_count }}. Maximum is 123. +
    +
  • +
  • done
    @@ -60,6 +74,11 @@ {{ task.running }}% + {% if task.running == 100 %} + + postprocessing + + {% endif %} {% else %} {% endif %} @@ -78,5 +97,29 @@ {% endfor %} +{% if not alldone %} + + + +{% endif %} -{% endblock %} \ No newline at end of file +{% endblock %}