X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=a610ea62f215800d0273ddaf03b808fa1b118826;hb=9e5d054782024094df0e880f5d52e8106b1fd8cb;hp=396b29e429025dc4f626a52dd800144a786be28f;hpb=f39849b03fbe8d6b5db0894dafc5010f5eab4f3f;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index 396b29e..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' %}