{% extends "base.html" %} {% block title %}卡密管理 · DSH 卡密后台{% endblock %} {% block content %}
| 卡密 | 类型 | 权限 | 备注 | 激活时间 | 到期时间 | 剩余 | 设备 | 状态 | 操作 |
|---|---|---|---|---|---|---|---|---|---|
| {{ c.card }} | {{ cfg.card_types[c.type].label if c.type in cfg.card_types else c.type }} | {{ c.perm.name }} | {{ c.note or '-' }} | {{ c.active_text if c.activated else '未激活' }} | {{ c.expire_text if c.expire_at else '-' }} | {% if c.activated %} {% set d = c.remain // 86400 %} {% set h = (c.remain % 86400) // 3600 %} {{ d }}天{{ h }}时 {% else %}-{% endif %} | {{ (c.device_id[:12] + '...') if c.device_id and c.device_id|length > 12 else (c.device_id or '-') }} | {% if c.suspended %}暂停 {% elif not c.activated %}未激活 {% else %}正常{% endif %} | {% if c.device_id %} {% endif %} |
展开编辑 {{ c.card }} |
|||||||||
| 没有符合条件的卡密 | |||||||||