{% extends "base.html" %}

{% block title %}AS215085 - Router tools | Firewall Log{% endblock %}

{% block page_header %}<H3>Firewall logs</H3>{% endblock %}

{% block content %}
<section>
    <h2>Firewall Log for Rule {{ rule_number }}</h2>
    <h5 class="text-muted">{{ ip_version }} / {{ ruleset_name }}</h5>

    <div class="card my-4">
        <div class="card-header">
            Log Output
        </div>
        <div class="card-body">
            <pre class="fw-log-output"><code>{{ log_data|safe }}</code></pre>
        </div>
    </div>
    <a class="btn btn-primary" onclick="window.close()">Back to Firewall Overview</a>
</section>
{% endblock %}