{% extends "base.html" %} {% block title %}Checks — Grimoire{% endblock %} {% block nav_checks %}active{% endblock %} {% block content %}

Checks

{% if checks %}
{% for chk in checks %}
{# ── Header Row: name, metadata, actions ── #}
{# Left: name + description + metadata #}

{{ chk.name }}

· {{ chk.severity }} {% if not chk.enabled %} · disabled {% endif %}
{% if chk.description %}

{{ chk.description }}

{% endif %}
{{ chk.target_summary }} {% if chk.pass_count or chk.fail_count or chk.warn_count %} {% if chk.pass_count %} {{ chk.pass_count }} {% endif %} {% if chk.warn_count %} {{ chk.warn_count }} {% endif %} {% if chk.fail_count %} {{ chk.fail_count }} {% endif %} {% if chk.last_run %} {{ time_ago(chk.last_run) }} {% endif %} {% else %} no results yet {% endif %}
{# Right: schedule, toggle, run button #}
Scheduled: {% if chk.schedule %}{{ chk.schedule }}{% else %}default{% endif %} {% if chk.schedule %} {% endif %}
{# ── Expandable sections ── #}
{# Script preview toggle #} {# Results toggle #} {% if chk.pass_count or chk.fail_count or chk.warn_count %} {% endif %}
{# Script content (hidden by default) #} {# Inline results container #}
{% endfor %}
{% else %}
🔍

No checks configured

Add YAML files to the data/checks/ directory to define checks.

{% endif %} {# Highlight.js for bash syntax highlighting #} {% endblock %}