{% extends "base.html" %} {% block content %}
{{ total_violations }}
Total Violations
{{ scans_by_file|length }}
Files Scanned
Premium
Account Status

Recent Violations

{% if scans_by_file %} {% for file_path, violations in scans_by_file.items() %}

{{ file_path }}

{% for violation in violations %}
{{ violation.severity }} {{ violation.violation_type.replace('_', ' ').title() }}

{{ violation.message }}

{% if violation.details %}

{{ violation.details }}

{% endif %}

{{ violation.timestamp.strftime('%Y-%m-%d %H:%M:%S') }}

{% endfor %}
{% endfor %} {% else %}

No violations recorded yet. Run dil scan to start monitoring.

{% endif %}

Quick Start

  1. Install the Git hook: dil install
  2. Make changes to your documents
  3. Commit them: git commit -m "Updated docs"
  4. Violations appear here automatically
{% endblock %}