X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjobs.html;fp=qcg%2Ftemplates%2Fqcg%2Fjobs.html;h=db14d9d4fdf1df25d7254c28586f2fdc8da88073;hb=e85ef8224efe5a0a5311262aa3b602f2f92d95b4;hp=f2b9efe3228df35d5315d99aca65f29d39d084aa;hpb=9d35e50f2ecdee5c31a17d84c40503bd2861a831;p=qcg-portal.git diff --git a/qcg/templates/qcg/jobs.html b/qcg/templates/qcg/jobs.html index f2b9efe..db14d9d 100644 --- a/qcg/templates/qcg/jobs.html +++ b/qcg/templates/qcg/jobs.html @@ -20,6 +20,7 @@ + {% endblock %} @@ -89,6 +106,9 @@ + + +

@@ -142,12 +162,12 @@ - Opis - Wysłane - Start - Koniec - Status - Host + {% if columns.DESCRIPTION in displayed %}Opis{% endif %} + {% if columns.SUBMISSION in displayed %}Wysłane{% endif %} + {% if columns.START in displayed %}Start{% endif %} + {% if columns.END in displayed %}Koniec{% endif %} + {% if columns.STATUS in displayed %}Status{% endif %} + {% if columns.HOST in displayed %}Host{% endif %} {# Uwagi#} @@ -162,15 +182,15 @@ -{# {{ task }}#} + {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} - {{ task.note }} - {{ task.submission_time|timesince }} temu - {{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }} - {{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} - {{ task.get_status_display }} - {{ task.short_host_names|join:', ' }} + {% if columns.DESCRIPTION in displayed %}{{ task.note }}{% endif %} + {% if columns.SUBMISSION in displayed %}{{ task.submission_time|timesince }} temu{% endif %} + {% if columns.START in displayed %}{{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} + {% if columns.END in displayed %}{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} + {% if columns.STATUS in displayed %}{{ task.get_status_display }}{% endif %} + {% if columns.HOST in displayed %}{{ task.short_host_names|join:', ' }}{% endif %} szczegóły › {% endwith %} @@ -179,15 +199,15 @@ -{# {{ job.grouper }}#} + {% if columns.JOB_ID in displayed %}{{ job.grouper }}{% endif %} - {{ job.grouper.note }} - {{ job.grouper.submission_time|timesince }} temu - - - {{ job.grouper.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} - {{ job.grouper.get_status_display }} - - + {% if columns.DESCRIPTION in displayed %}{{ job.grouper.note }}{% endif %} + {% if columns.SUBMISSION in displayed %}{{ job.grouper.submission_time|timesince }} temu{% endif %} + {% if columns.START in displayed %}-{% endif %} + {% if columns.END in displayed %}{{ job.grouper.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} + {% if columns.STATUS in displayed %}{{ job.grouper.get_status_display }}{% endif %} + {% if columns.HOST in displayed %}-{% endif %} szczegóły › @@ -196,15 +216,15 @@ -{# {{ task }}#} + {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} - {{ task.note }} - {{ task.submission_time|timesince }} temu - {{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }} - {{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} - {{ task.get_status_display }} - {{ task.short_host_names|join:', ' }} + {% if columns.DESCRIPTION in displayed %}{{ task.note }}{% endif %} + {% if columns.SUBMISSION in displayed %}{{ task.submission_time|timesince }} temu{% endif %} + {% if columns.START in displayed %}{{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} + {% if columns.END in displayed %}{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{% endif %} + {% if columns.STATUS in displayed %}{{ task.get_status_display }}{% endif %} + {% if columns.HOST in displayed %}{{ task.short_host_names|join:', ' }}{% endif %} szczegóły › {% endfor %} @@ -308,4 +328,27 @@ + {# Column selection modal #} + + {% endblock container %}