{% extends "base_status.html" %} {% block title %}Hostgroups{% endblock %} {% block nav2 %} Hostgroups {% if hostgroup_name %} / {{ hostgroup_name }} {% else %} {% endif %} {% endblock %} {% block smallheader %} {% if hostgroup_name %}hostgroup {% endif %} {% endblock %} {% block largeheader %} {% if hostgroup_name %}{{ hostgroup_name }} {% else %} Hostgroups {% endif %} {% endblock %} {% block content %}
{% if hostgroups %} {% include "snippets/status_hostgrouplist_snippet.html" %} {% endif %} {% if hostgroup_name %}
{% if hosts %} {% for row in hosts %} {% if row.state == 0 %} {% else %} {% endif %} {% endfor %}
Host Name Address Status Service Status
{{ row.name }} {{ row.address }}UPDown
{% else %} No hosts in this hostgroup. {% endif %}
{% endif %}
{% endblock %} {% block header %} {{ block.super }} {% endblock %} {% block footer %} {{ block.super }} {% endblock %}