{% extends "base.html" %}{% block content %}

Definitions

Monitors

Enable, disable, and approve definitions. Trends open in the explorer.

{{ monitors|length }} loaded{% if drafts %} · {{ drafts|length }} draft{{ '' if drafts|length == 1 else 's' }}{% endif %}

{% if monitors %}
{% for m in monitors %}

{{ m.name }}

{{ m.description }}

{{ m.source }}

{{ 'enabled' if m.enabled else 'disabled' }}

{% endfor %}
{% else %}

No monitors configured.

{% endif %} {% if errors %}

Validation errors

{% for path,error in errors %}
{{ path.name }}: {{ error }}
{% endfor %}{% endif %}

Drafts

{% if drafts %}
{% for name,text,m,error in drafts %}

{{ name }}

{% if error %} {% else %}

Valid definition, ready for approval.

{% endif %}
{% if not error %}
{% endif %}
Definition
{{ text }}
{% endfor %}
{% else %}

No drafts.

{% endif %} {% endblock %}