{% extends "base.html" %} {% load form %} {% load util_tags %} {% block nav_results %}{% if not detail %}active{% endif %}{% endblock %} {% block js %} {% if filtered_results %} {% endif %} {% endblock %} {% block content %}
{{ filter_form.search }} {{ filter_form.risk }} {{ filter_form.hosts }} Delete older runs
{% csrf_token %}
{# cellspacing is a workaround for firefox's 1px bug with collapse #} {# http://stackoverflow.com/questions/1035706/firefox-1-pixel-bug-with-border-collapse-workaround #} {# HOSTRUNS #} {% for hostrun in hostruns %} {% if hostrun.result %}{% endif %} {{ hostrun.run.dt_submitted|date:"Y-m-d H:i:s" }} {% if hostrun.finished %} {% else %} {% if hostrun.running %} {% endif %} {% endif %} {{ hostrun.risk.lower|capfirst }} {% if hostrun.result %}{{ hostrun.result.hostname|default_if_none:"" }}{% else %}{{ hostrun.host.hostname }}{% endif %} {% if hostrun.result %} {# append stuff from ajax here #} {% endif %} {% endfor %}
Date Completed In-place Upgrade Risk Failed Needs Action Needs Inspection Host Name Actions
{% if hostrun.result %}{{ hostrun.result.failed_test_count|default_if_none:"" }}{% endif %} {% if hostrun.result %}{{ hostrun.result.na_test_count|default_if_none:""|default_if_none:"" }}{% endif %} {% if hostrun.result %}{{ hostrun.result.ni_test_count|default_if_none:"" }}{% endif %} Delete
{% if is_paginated %} {% endif %} {% endblock %}