X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=1d83d66bb40b6a2541565830586c0ef68e0017e0;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=18df41a39a2ee9fade86021f49c7a051ac02a768;hpb=eb9d69959469d2041b34dbd1a827b8882cc0505c;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index 18df41a..1d83d66 100644 --- a/qcg/templates/qcg/task.html +++ b/qcg/templates/qcg/task.html @@ -1,6 +1,22 @@ {% extends 'qcg/base.html' %} {% 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 %}

@@ -57,7 +87,15 @@ {% display_attribute 'Lokalna data zakończenia' task.local_finish_time %} {% display_attribute 'Efektywność' alloc.efficiency %} {% display_attribute 'Użycie pamięci' alloc.memory_usage %} + {% display_attribute 'Katalog roboczy' alloc.working_directory %} {% display_attribute 'Usunięty katalog roboczy?' task.purged %} + + {% if alloc.working_directory and not task.purged %} + + {% endif %} {% endfor %} @@ -80,4 +118,18 @@
+ + {% endblock %}