{% extends "console/base.html" %} {% load ostium_ui %} {% block title %}用户{% endblock %} {% block breadcrumb %}用户{% endblock %} {% block page_header %}
创建、停用、轮换凭据与查看每个人的用量。所有变更都会自动触发核心配置更新。
| 用户 | 状态 | 配额 | 已用 / 总量 | 到期 | 最近在线 | 协议 | 操作 |
|---|---|---|---|---|---|---|---|
| {{ user.name|first|upper }} {{ user.name }} | {{ user.status|status_label }} {% if user.is_online %}在线{% endif %} | {% if user.quota_percent is not None %} {{ user.quota_percent|floatformat:0 }}% {% else %} ∞ {% endif %} | {{ user.used_bytes|bytes }} / {% if user.quota_bytes %}{{ user.quota_bytes|bytes }}{% else %}不限{% endif %} | {% if user.expires_at %}{{ user.expires_at|datetimefmt }}{% else %}永不过期{% endif %} | {{ user.last_seen_at|ago }} | {% for inbound in inbounds %}{{ inbound.short_label }}{% empty %}—{% endfor %} | 详情 {% icon "settings" %} |