{% extends "base.html" %} {% block content %} 配置中心 编辑配置 按 section 管理 Clipora 的主要配置,并直接保存到配置文件。 返回首页 当前配置文件 {{ editor_state.config_path or default_config_path or '未指定' }} 页面展示的是文件保存值;如果某个字段被环境变量覆盖,会额外标出运行时实际值。 保存目标 配置文件 保存后,后续任务默认使用新的配置。 配置文件路径 保存配置 重新加载 {% if editor_state.status_message %} {{ editor_state.status_message }} {% elif editor_state.errors or editor_state.load_errors or editor_state.runtime_errors %} 当前配置存在校验问题,请修正后再保存。 {% else %} 可以直接修改下方字段并保存到配置文件。 {% endif %} {% if editor_state.load_errors or editor_state.errors or editor_state.runtime_errors %} 校验信息 错误与提示 {% for error in editor_state.load_errors %} {{ error.path }} — {{ error.message }} {% endfor %} {% for error in editor_state.errors %} {{ error.path }} — {{ error.message }} {% endfor %} {% for error in editor_state.runtime_errors %} {{ error.path }} — {{ error.message }} {% endfor %} {% else %} {% endif %} {% for section in editor_state.sections %} 配置分组 {{ section.title }} {% for field in section.fields %} {{ field.label }} {% if field.control == 'checkbox' %} {% elif field.control == 'select' %} {% for option in field.options %} {{ option }} {% endfor %} {% elif field.control == 'multi_select' %} {% for option in field.options %} {{ option }} {% endfor %} {% else %} {% endif %} {% if field.help_text %} {{ field.help_text }} {% endif %} {% if field.env_override %} 运行时被 {{ field.env_var }} 覆盖{% if field.show_effective %},当前实际值:{{ field.effective_value }}{% endif %} {% elif field.show_effective %} 当前实际值:{{ field.effective_value }} {% endif %} {% endfor %} {% endfor %} {% endblock %}
配置中心
按 section 管理 Clipora 的主要配置,并直接保存到配置文件。
当前配置文件
{{ editor_state.config_path or default_config_path or '未指定' }}
页面展示的是文件保存值;如果某个字段被环境变量覆盖,会额外标出运行时实际值。
保存目标
保存后,后续任务默认使用新的配置。
{{ editor_state.status_message }}
当前配置存在校验问题,请修正后再保存。
可以直接修改下方字段并保存到配置文件。
校验信息
配置分组