X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=a610ea62f215800d0273ddaf03b808fa1b118826;hb=9e5d054782024094df0e880f5d52e8106b1fd8cb;hp=e9b85ad2fda3885f350b0bdcde824dbbef6f6a21;hpb=d117a4ff9ac0e7fb8c01ed1c8cb2a3311c97a1f9;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index e9b85ad..a610ea6 100644 --- a/qcg/templates/qcg/task.html +++ b/qcg/templates/qcg/task.html @@ -1,8 +1,9 @@ -{% extends 'qcg/base.html' %} +{% extends 'qcg/details_base.html' %} {% load qcg_utils staticfiles %} {% block extra_js %} {% include 'filex/source.js.html' %} + {{ block.super }} {% endblock extra_js %} @@ -20,10 +25,24 @@ {% block container %} +
+ {% if not task.terminated %} +
+ {% csrf_token %} + +
+ {% elif not task.purged %} +
+ {% csrf_token %} + +
+ {% endif %} +
+

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

@@ -31,7 +50,6 @@ @@ -76,7 +94,7 @@ {% display_attribute 'Katalog roboczy' alloc.working_directory %} {% display_attribute 'Usunięty katalog roboczy?' task.purged %} - {% if alloc.working_directory %} + {% if alloc.working_directory and not task.purged %}
-
{{ task.description|format_xml }}
-
- -
-

Wizualizacja wyników

- ... - ... - ... + {% include 'qcg/job_description.html' %}
@@ -114,9 +125,6 @@ -