{% extends "xeolux_securitykit/base.html" %} {% block title %}Routes protégées{% endblock %} {% block content %} {% for route in routes %}
{{ route.path }} {{ route.match_type }} {% if not route.enabled %}Inactif{% endif %} {% if route.description %}{{ route.description }}{% endif %}
+ Règle Modifier
{% csrf_token %}
{% if route.rules.all %} {% for rule in route.rules.all %} {% endfor %}
ActionConditionsPrioritéStatut
{{ rule.action }} {{ rule.conditions|default:"—" }} {{ rule.priority }} {% if rule.enabled %}Actif{% else %}Inactif{% endif %} Modifier
{% csrf_token %}
{% else %}

Aucune règle définie — Ajouter une règle

{% endif %}
{% empty %}

Aucune route protégée. Ajouter la première route.

{% endfor %} {% endblock %}