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=f2b9efe3228df35d5315d99aca65f29d39d084aa;hb=cb292970db9b3ea3054212858abb5eebe73f0fd9;hp=58b4998fe7d2bd38593a40bd74f9e432acfb2c1c;hpb=c4f84f905b8dffb3856a097c180668ded6173fec;p=qcg-portal.git diff --git a/qcg/templates/qcg/jobs.html b/qcg/templates/qcg/jobs.html index 58b4998..f2b9efe 100644 --- a/qcg/templates/qcg/jobs.html +++ b/qcg/templates/qcg/jobs.html @@ -1,5 +1,5 @@ {% extends 'qcg/base.html' %} -{% load staticfiles bootstrap3 %} +{% load staticfiles bootstrap3 query_string qcg_utils %} {% block extra_css %} @@ -54,94 +54,67 @@ firstDay: 1 } }); - - $('#toggle-advanced').click(function() { - if($('#advanced-filters').attr('aria-expanded') == "false") - $(this).text('« mniej'); - else - $(this).text('więcej »'); - }); }); {% endblock %} {% block container %} + +

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

-
+ {% if selected_filters %}
-
- -
-
- {% for choice in filters.status %} - - {% endfor %} -
-
- {% for choice in filters.host %} - - {% endfor %} -
-
-
-
-{#
#} -{#
#} -{# {% bootstrap_field filters.keywords layout='horizontal' horizontal_label_class='col-md-5' horizontal_field_class='col-md-4' bound_css_class=' ' %}#} -{#
#} -{#
#} -{# {% bootstrap_field filters.status_exact layout='horizontal' horizontal_label_class='col-md-5' horizontal_field_class='col-md-4' bound_css_class=' ' %}#} -{#
#} -{#
#} -{# {% bootstrap_field filters.submission layout='horizontal' horizontal_label_class='col-md-5' horizontal_field_class='col-md-4' bound_css_class=' ' %}#} -{#
#} -{#
#} -{# {% bootstrap_field filters.finish layout='horizontal' horizontal_label_class='col-md-5' horizontal_field_class='col-md-4' bound_css_class=' ' %}#} -{#
#} -{#
#} -
-
-
- {% bootstrap_field filters.keywords layout='horizontal' form_group_class='form-group row col-lg-5 col-md-6' horizontal_label_class='col-md-4' horizontal_field_class='col-md-8' bound_css_class=' ' %} - {% bootstrap_field filters.status_exact layout='horizontal' form_group_class='form-group row col-lg-5 col-md-6' horizontal_label_class='col-md-4' horizontal_field_class='col-md-8' bound_css_class=' ' %} -
-
-
- {% bootstrap_field filters.submission layout='horizontal' form_group_class='form-group row col-lg-5 col-md-6' horizontal_label_class='col-md-4' horizontal_field_class='col-md-8' bound_css_class=' ' %} - {% bootstrap_field filters.finish layout='horizontal' form_group_class='form-group row col-lg-5 col-md-6' horizontal_label_class='col-md-4' horizontal_field_class='col-md-8' bound_css_class=' ' %} +
+ Wyczyść wszystkie filtry + Wybrane filtry: + {% for label, param, val in selected_filters %} + {{ label }}  + {% endfor %}
- - -
+
+ {% endif %} @@ -175,6 +148,7 @@ + {# #} @@ -197,6 +171,7 @@ + {% endwith %} {% else %} @@ -213,6 +188,7 @@ + {% for task in job.list %} @@ -229,6 +205,7 @@ + {% endfor %} {% endifequal %} @@ -237,21 +214,24 @@
Koniec Status HostUwagi
{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} {{ task.get_status_display }} {{ task.short_host_names|join:', ' }}szczegóły ›
{{ job.grouper.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} {{ job.grouper.get_status_display }} -szczegóły ›
{{ task.finish_time|date:"CUSTOM_DATETIME_FORMAT" }} {{ task.get_status_display }} {{ task.short_host_names|join:', ' }}szczegóły ›
{% if not page %} -
Brak elementów
+
+ + Brak zadań spełniających wybrane kryteria +
{% endif %} + + + {% endblock container %}