wireguard_webadmin/templates/firewall/firewall_nav_tabs.html

21 lines
881 B
HTML
Raw Permalink Normal View History

2025-04-16 11:31:08 -03:00
{% load i18n %}
2024-02-29 23:07:40 -03:00
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a class="nav-link {% if current_chain == "forward" %}active{% endif %}" href="/firewall/rule_list/?chain=forward" role="tab">Forward</a>
</li>
2024-02-29 23:07:40 -03:00
<li class="nav-item">
<a class="nav-link {% if current_chain == "postrouting" %}active{% endif %}" href="/firewall/rule_list/?chain=postrouting" role="tab">Post Routing</a>
2024-02-29 23:07:40 -03:00
</li>
<li class="nav-item">
2025-04-16 11:31:08 -03:00
<a class="nav-link {% if current_chain == "portforward" %}active{% endif %}" href="/firewall/port_forward/" role="tab">{% trans 'Port Forward' %}</a>
2024-02-29 23:07:40 -03:00
</li>
2024-03-01 19:08:32 -03:00
{% if current_chain == 'forward' %}
<li class="nav-item ml-auto">
2025-04-16 11:31:08 -03:00
<a class="nav-link" role="">{% trans 'Default Policy' %}: <b>{{ firewall_settings.get_default_forward_policy_display }}</b></a>
2024-03-01 19:08:32 -03:00
</li>
{% endif %}
2024-02-29 23:07:40 -03:00
2024-03-01 19:08:32 -03:00
</ul>