Files
OutFleet/vpn/templates/admin/vpn/usersubscription/change_form.html
2025-08-15 04:02:22 +03:00

18 lines
849 B
HTML

{% extends "admin/change_form.html" %}
{% block content %}
{% if show_tab_navigation %}
<div class="module" style="margin-bottom: 20px;">
<div style="display: flex; border-bottom: 1px solid #ddd;">
{% for tab in tabs %}
<a href="{{ tab.url }}"
style="padding: 10px 20px; text-decoration: none; border-bottom: 3px solid {% if tab.active %}#417690{% else %}transparent{% endif %}; color: {% if tab.active %}#417690{% else %}#666{% endif %};">
{% if tab.name == 'subscription_groups' %}📋{% elif tab.name == 'user_subscriptions' %}👥{% elif tab.name == 'certificates' %}🔒{% elif tab.name == 'inbound_templates' %}⚙️{% endif %} {{ tab.label }}
</a>
{% endfor %}
</div>
</div>
{% endif %}
{{ block.super }}
{% endblock %}