X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=a610ea62f215800d0273ddaf03b808fa1b118826;hb=9e5d054782024094df0e880f5d52e8106b1fd8cb;hp=c3ee9a79449f4e3c33c6592af8d67da7729ff335;hpb=b9bcd422c66e0cd9b0f20a0c037dbc2d811bb59f;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index c3ee9a7..a610ea6 100644 --- a/qcg/templates/qcg/task.html +++ b/qcg/templates/qcg/task.html @@ -1,13 +1,48 @@ -{% extends 'qcg/base.html' %} -{% load qcg_utils %} +{% extends 'qcg/details_base.html' %} +{% load qcg_utils staticfiles %} + +{% block extra_js %} + {% include 'filex/source.js.html' %} + {{ block.super }} + + +{% 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 %}

@@ -28,7 +63,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 +76,12 @@ {% else %} -
-
Brak elementów
-
+
Brak elementów
{% endif %}
+
-
{{ task.description }}
+ {% include 'qcg/job_description.html' %} +
+ + + +