X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=blobdiff_plain;f=qcg%2Ftemplates%2Fqcg%2Fjobs.html;h=52698aaa258cbfcbe0f4b875202a478a459ad4f1;hb=0be92069d46130aad675fa715184e9c209140ce9;hp=3bb81a08b19c01f4f5d03847dd956234408159ec;hpb=be46fb1b43775f35da8b49ad28110d16c8692777;p=qcg-portal.git diff --git a/qcg/templates/qcg/jobs.html b/qcg/templates/qcg/jobs.html index 3bb81a0..52698aa 100644 --- a/qcg/templates/qcg/jobs.html +++ b/qcg/templates/qcg/jobs.html @@ -1,23 +1,16 @@ {% extends 'qcg/base.html' %} - -{% load staticfiles %} +{% load staticfiles bootstrap3 query_string qcg_utils %} {% block extra_css %} - - + {% endblock %} {% block extra_js %} + + + {% endblock %} {% block container %} -

- {% block title %}Lista zadań{% endblock %} -

+ {% for message in messages %} +
{{ message }}
+ {% endfor %} -
-
-
- - -
-
- - -
-
- - + + {% get_params_as_hidden 'host' 'submission' 'finish' %} +
+
+ + + +
-
- +
+ + +
+ + + + + + -
+

+ {% block title %}Lista zadań{% endblock %} +

+ + {% if selected_filters %} +
+
+ Wyczyść wszystkie filtry + Wybrane filtry: + {% for label, param, val in selected_filters %} + {{ label }}  + {% endfor %} +
+
+
+ {% endif %} - - - - - - - + + {% if columns.DESCRIPTION in displayed %}{% endif %} + {% if columns.SUBMISSION in displayed %}{% endif %} + {% if columns.START in displayed %}{% endif %} + {% if columns.END in displayed %}{% endif %} + {% if columns.STATUS in displayed %}{% endif %} + {% if columns.HOST in displayed %}{% endif %} + {# #} @@ -126,49 +174,52 @@ {% with job.list.0 as task %} - - - - - - + {% if columns.DESCRIPTION in displayed %}{% endif %} + {% if columns.SUBMISSION in displayed %}{% endif %} + {% if columns.START in displayed %}{% endif %} + {% if columns.END in displayed %}{% endif %} + {% if columns.STATUS in displayed %}{% endif %} + {% if columns.HOST in displayed %}{% endif %} + {% endwith %} {% else %} - - - - - - + {% if columns.DESCRIPTION in displayed %}{% endif %} + {% if columns.SUBMISSION in displayed %}{% endif %} + {% if columns.START in displayed %}{% endif %} + {% if columns.END in displayed %}{% endif %} + {% if columns.STATUS in displayed %}{% endif %} + {% if columns.HOST in displayed %}{% endif %} + {% for task in job.list %} - - - - - - + {% if columns.DESCRIPTION in displayed %}{% endif %} + {% if columns.SUBMISSION in displayed %}{% endif %} + {% if columns.START in displayed %}{% endif %} + {% if columns.END in displayed %}{% endif %} + {% if columns.STATUS in displayed %}{% endif %} + {% if columns.HOST in displayed %}{% endif %} + {% endfor %} {% endifequal %} @@ -176,18 +227,25 @@
OpisWysłaneStartKoniecStatusHostOpisWysłaneStartKoniecStatusHostUwagi
- + -{# {{ task }}#} + {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} {{ task.note }}{{ task.submission_time }}{{ task.start_time }}{{ task.finish_time }}{{ task.get_status_display }}{{ task.hosts|join:', ' }}{{ task.note }}{{ task.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.get_status_display }}{{ task.short_host_names|join:', ' }}szczegóły ›
- + -{# {{ job.grouper }}#} + {% if columns.JOB_ID in displayed %}{{ job.grouper }}{% endif %} {{ job.grouper.note }}{{ job.grouper.submission_time }}-{{ job.grouper.finish_time }}{{ job.grouper.get_status_display }}-{{ job.grouper.note }}{{ job.grouper.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}-{{ job.grouper.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ job.grouper.get_status_display }}-szczegóły ›
- + -{# {{ task }}#} + {% if columns.JOB_ID in displayed %}{{ task }}{% endif %} {{ task.note }}{{ task.submission_time }}{{ task.start_time }}{{ task.finish_time }}{{ task.get_status_display }}{{ task.hosts|join:', ' }}{{ task.note }}{{ task.submission_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.start_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }}{{ task.get_status_display }}{{ task.short_host_names|join:', ' }}szczegóły ›
+ {% if not page %} +
+ + Brak zadań spełniających wybrane kryteria +
+ {% endif %} + + + + + {# Column selection modal #} + + {% endblock container %}