Files

11 lines
1.2 KiB
HTML
Raw Permalink Normal View History

{% if admin_budget %}
<section class="admin-budget-panel" aria-labelledby="budget-heading">
<div><span class="budget-eyebrow">账户共享带宽</span><h2 id="budget-heading">默认每方向 {{ admin_budget.default_upload }} KiB/s</h2>
<p>同一账户的设备与节点共用上传、下载预算;单账户每方向可设 1–{{ admin_budget.maximum_limit|stringformat:"d" }} KiB/s。</p>
<p>中央预算 API:{% if admin_budget.allocator_enabled %}<strong>已开启</strong>{% else %}<strong>未开启</strong>{% endif %} · 执行状态:<strong>{{ admin_budget.execution_label }}</strong></p>
<p class="budget-detail">已注册执行器 {{ admin_budget.registered_executors }} 个。注册或开启 API 不代表真实限速已验收。{% if admin_budget.exemption_count != None %}受控豁免 {{ admin_budget.exemption_count }} 个,绑定固定账号 ID,不随邮箱转移。{% endif %}</p>
</div>
<div class="budget-links"><a class="budget-primary" href="{{ admin_budget.policy_url }}">管理账户限速</a>{% if admin_budget.exemption_url %}<a href="{{ admin_budget.exemption_url }}">查看只读豁免</a>{% endif %}</div>
</section>
{% endif %}