{% extends "admin/layout.html" %} {% block admin_title %}{{ panel.name }}{% endblock %} {% block admin_content %}
{{ created.email }} → inbound #{{ created.inbound_id }}
{% if created.protocol == 'vless' %} {% if created.uuid %}UUID: {{ created.uuid }}{% if created.flow %} · flow: {{ created.flow }}{% endif %}
Срок: {{ created.expiry_days }} дн. {% if created.start_after_first_use %}· старт после первого использования{% else %}· с момента создания{% endif %}
{% endif %} {% if created.links %} {% for link in created.links %}{{ link }}
{% endfor %}
{% else %}
Ссылка vless:// появится в 3x-ui (Clients → Copy URL).
{% endif %} {% elif created.protocol == 'wireguard' %} {% if created.expiry_days %}Срок: {{ created.expiry_days }} дн. {% if created.start_after_first_use %}· старт после первого использования{% else %}· с момента создания{% endif %}
{% endif %}Ключи клиента (конфиг соберите в 3x-ui или ниже):
PrivateKey = {{ created.privateKey }}
PublicKey = {{ created.publicKey }}
{% if created.inbound %}Endpoint port = {{ created.inbound.port }}{% endif %}
{% endif %}
| Протокол | Inbound | Срок | Лимиты | Ссылка / ключи | Когда | |
|---|---|---|---|---|---|---|
|
{{ c.email }}
{% if c.comment %} {{ c.comment }} {% endif %}
|
{{ c.protocol }} | #{{ c.inbound_id }} {% if c.inbound_remark %}{{ c.inbound_remark }}{% endif %} |
{% if c.expiry_days and c.expiry_days > 0 %}
{{ c.expiry_days }} дн.
{% if c.start_after_first_use %} после 1-го входа{% endif %} {% else %} без срока {% endif %} |
{{ c.total_gb or 0 }} GB
{% if c.limit_ip %} IP ≤ {{ c.limit_ip }}{% endif %} |
{% if c.link %}
{{ c.link }}
{% elif c.private_key %}
priv: {{ c.private_key[:24] }}…
{% else %}—{% endif %}
|
{{ c.created_at }} |
| Пока никого не создавали через сайт | ||||||
| ID | Remark | Protocol | Port | Enable |
|---|---|---|---|---|
| {{ ib.id }} | {{ ib.remark or '—' }} | {{ ib.protocol }} | {{ ib.port }} | {% if ib.enable is not defined or ib.enable %}on{% else %}off{% endif %} |
| Нет VLESS/WireGuard inbound’ов | ||||
| 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 %} |
| Нет клиентов | |||