X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=1d83d66bb40b6a2541565830586c0ef68e0017e0;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=c3ee9a79449f4e3c33c6592af8d67da7729ff335;hpb=b9bcd422c66e0cd9b0f20a0c037dbc2d811bb59f;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index c3ee9a7..1d83d66 100644 --- a/qcg/templates/qcg/task.html +++ b/qcg/templates/qcg/task.html @@ -1,5 +1,21 @@ {% extends 'qcg/base.html' %} -{% load qcg_utils %} +{% load qcg_utils staticfiles %} + +{% block extra_js %} + {% include 'filex/source.js.html' %} + + +{% endblock extra_js %} {% block container %} +
+ {% if not task.terminated %} +
+ {% csrf_token %} + +
+ {% elif not task.purged %} +
+ {% csrf_token %} + +
+ {% endif %} +
+

{% block title %}Task {{ task.task_id }}{% endblock %}

@@ -15,6 +45,7 @@ @@ -28,7 +59,7 @@ {% display_attribute 'Typ' task.get_type_display %} {% display_attribute 'Notatka' task.note %} {% display_attribute 'Projekt' task.project %} - {% display_attribute 'Czas życia proxy' task.proxy_lifetime %} + {% display_attribute 'Czas życia proxy' task.proxy_lifetime|timeuntil %} {% display_attribute 'Data zlecenia' task.submission_time %} {% display_attribute 'Data rozpoczęcia' task.start_time %} {% display_attribute 'Data zakończenia' task.finish_time %} @@ -41,11 +72,12 @@ {% else %} -
-
Brak elementów
-
+
Brak elementów
{% endif %}
+
-
{{ task.description }}
+
{{ task.description|format_xml }}
+
+ +
+

Wizualizacja wyników

+ ... + ... + ... +
+ + + +