{% extends "layout/home_base.html" %} {% import "components/ui/v1.html" as ui_v1 %} {% block home_content %}
{% call ui_v1.page_header('域分组') %} 返回我的域 {% endcall %} {% if saved == 'reset' %} {{ ui_v1.alert('分组已清空,“我的域”将恢复原列表显示。', tone='success') }} {% elif saved %} {{ ui_v1.alert('分组配置已保存。返回“我的域”即可看到折叠分组。', tone='success') }} {% endif %} {% if parseError %}{{ ui_v1.alert(parseError, tone='danger') }}{% endif %} {% call ui_v1.panel(body_class='section__body') %}
{{ ui_v1.help('给每个域填写一级和二级分类;一级留空则不分组,自动放到“未分组”。这只是显示折叠,不会创建真实文件夹。') }}
{% if rows|length %}
{% for row in rows %} {% endfor %}
域 一级折叠 二级折叠 操作
{{ row.name or row.id }}
{{ ui_v1.badge(row.id) }} {% if row.missing %}{{ ui_v1.badge('不在当前列表', tone='warning') }}{% endif %}
{% else %} {{ ui_v1.empty_state('当前账号没有可分组的域。') }} {% endif %} {% for title in groupTitles %} {% for title in childTitles %}
批量补充
{% endcall %}
{% endblock %}