{% load django_tables2 %} {% load tables %} {% block content %} {% load i18n %} {% comment %} Despite being introduced for django1.8 warnings, loading cycle from future is already deprecated in 1.9 and to be removed in 1.10. Once 1.10 is available, remove the loading from future and live with the warning from 1.8 https://git.linaro.org/lava/lava-server.git/b727660635e57d5ccdb08272f0a379207a333d8b {% load cycle from future %} {% endcomment %} {% block table %}
{% for key,value in request.GET.iteritems %} {% endfor %} {% if request.GET.end %}{% endif %} {% if request.GET.start %}{% endif %} {% if request.GET.health_check %}{% endif %}
Show entries
{% if search_data|get_search_data:table.prefix %}
{% for key,value in request.GET.iteritems %} {% endfor %}
{% endif %}
{% for column in table.columns %} {% endfor %} {% block table.thead %} {% for column in table.columns %} {% if column.orderable %} {% else %} {% endif %} {% endfor %} {% endblock table.thead %} {% block table.tbody %} {% for row in table.page.object_list|default:table.rows %} {# support pagination #} {% block table.tbody.row %} {% for column, cell in row.items %} {% endfor %} {% endblock table.tbody.row %} {% empty %} {% if table.empty_text %} {% block table.tbody.empty_text %} {% endblock table.tbody.empty_text %} {% endif %} {% endfor %} {% endblock table.tbody %} {% block table.tfoot %} {% endblock table.tfoot %}
{{ column.header }} {% if column.is_ordered %} {% if column.order_by_alias.0 == "-" %} {% else %} {% endif %} {% else %} {% endif %} {{ column.header }}
{{ cell }}
{{ table.empty_text }}
{% endblock table %} {% if table.page %} {% block pagination %} {% if table.page.has_previous or table.page.has_next %} {% endif %} {% endblock pagination %} {% endif %} {% endblock %}