21 lines
544 B
HTML
21 lines
544 B
HTML
|
{% extends 'base.html' %}
|
||
|
|
||
|
{% block content %}
|
||
|
<p>
|
||
|
Tu lahko vklopite in izklopite posamezna pravila za požarni zid.
|
||
|
|
||
|
<dl>
|
||
|
{% for rule in rules %}
|
||
|
<dt>
|
||
|
{% if rule.enabled %}
|
||
|
<font color="green">●</font> {{ rule.name }} <a href="{{ url_for('rules.toggle', index=rule.index, enable='false') }}">onemogoči</a>
|
||
|
{% else %}
|
||
|
<font color="red">●</font> {{ rule.name }} <a href="{{ url_for('rules.toggle', index=rule.index, enable='true') }}">omogoči</a>
|
||
|
{% endif %}
|
||
|
<dd>
|
||
|
<pre><code>{{ rule.text }}</code></pre>
|
||
|
{% endfor %}
|
||
|
</dl>
|
||
|
|
||
|
{% endblock %}
|