X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;ds=sidebyside;f=qcg%2Ftemplates%2Fqcg%2Fjobs.html;h=b599429e4d8b3ee18501ad5a4ef2db43a00f6d82;hb=b9bcd422c66e0cd9b0f20a0c037dbc2d811bb59f;hp=747d382c11af534adf9032815bf45e16c2b018b6;hpb=52e1db7e850a63b8271e348c487bd60853ed73e8;p=qcg-portal.git diff --git a/qcg/templates/qcg/jobs.html b/qcg/templates/qcg/jobs.html index 747d382..b599429 100644 --- a/qcg/templates/qcg/jobs.html +++ b/qcg/templates/qcg/jobs.html @@ -41,39 +41,69 @@ {% block title %}Lista zadań{% endblock %} -
-
-
- - -
-
- - -
-
- - -
-
-
- -
-
+{#
#} +{#
#} +{#
#} +{# #} +{# #} +{#
#} +{#
#} +{# #} +{# #} +{#
#} +{#
#} +{# #} +{# #} +{#
#} +{#
#} +{#
#} +{# #} +{#
#} +{#
#} +{##} +{#
#} -
+ + @@ -85,85 +115,100 @@ - +{# #} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + {% regroup page by job as jobs %} + + {% for job in jobs %} + {% ifequal job.list|length 1 %} + {% with job.list.0 as task %} + + + + + + + + + + {% endwith %} + {% else %} + + + + + + + + + + + {% for task in job.list %} + + + + + + + + + + {% endfor %} + {% endifequal %} + {% endfor %}
Koniec Status HostUwagiUwagi
- - - - urban04.07.13 17:03PENDINGhydra
- - - - urban04.07.13 17:03RUNNINGinula
- - - - urban04.07.13 17:03FINISHEDinula
- - - - urban04.07.13 17:03CANCELEDinula
+ + +{# {{ task }}#} + + {{ task.note }}{{ task.submission_time|timesince }} temu{{ task.start_time }}{{ task.finish_time }}{{ task.get_status_display }}{{ task.hosts|join:', ' }}
+ + +{# {{ job.grouper }}#} + + {{ job.grouper.note }}{{ job.grouper.submission_time|timesince }} temu-{{ job.grouper.finish_time }}{{ job.grouper.get_status_display }}-
+ + +{# {{ task }}#} + + {{ task.note }}{{ task.submission_time|timesince }} temu{{ task.start_time }}{{ task.finish_time }}{{ task.get_status_display }}{{ task.hosts|join:', ' }}