X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Ftask.html;h=1d83d66bb40b6a2541565830586c0ef68e0017e0;hb=1e5f6a4eb788300f3c71f87a2702a23f670948b8;hp=1f7b94b4cfe42c34a70536af4bf1dd93c75fd29f;hpb=44ed504fd37b2d3d19f864392882332f262e7bf5;p=qcg-portal.git diff --git a/qcg/templates/qcg/task.html b/qcg/templates/qcg/task.html index 1f7b94b..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,20 +87,26 @@ {% 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 %} {% else %} -
-
Brak elementów
-
+
Brak elementów
{% endif %}
-
{{ task.description }}
+
{{ task.description|format_xml }}
@@ -82,4 +118,18 @@
+ + {% endblock %}