{% extends "admin/layout.html" %} {% block admin_title %}{{ panel.name }}{% endblock %} {% block admin_content %}

{{ panel.name }}

Назад
{% if flash %} {% if flash.startswith('error:') %}
{{ flash[6:] }}
{% elif flash == 'client_created' %}
Клиент создан в 3x-ui
{% endif %} {% endif %} {% if error %}
{{ error }}
{% endif %} {% if data %}
Inbounds
{{ data.inbounds|length }}
Clients
{{ data.clients|length }}
Xray
{% if data.status and data.status.xray %} {% if data.status.xray.state %}running{% else %}stopped{% endif %} {% else %}—{% endif %}
Добавить клиента через API
Inbounds
{% for ib in data.inbounds %} {% else %} {% endfor %}
ID Remark Protocol Port Enable
{{ ib.id }} {{ ib.remark or '—' }} {{ ib.protocol }} {{ ib.port }} {% if ib.enable %}on{% else %}off{% endif %}
Нет inbound’ов
Clients
{% for c in data.clients %} {% else %} {% endfor %}
Email Enable Inbounds Traffic
{{ c.email }} {% if c.enable %}on{% else %}off{% endif %} {{ c.inboundIds or c.inbound_ids or '—' }} {% if c.traffic %} ↑ {{ c.traffic.up or 0 }} / ↓ {{ c.traffic.down or 0 }} {% else %}—{% endif %}
Нет клиентов или endpoint /clients/list недоступен
{% endif %} {% endblock %}