{% extends "base.html" %} {% block content %}

配置中心

编辑配置

按 section 管理 Clipora 的主要配置,并直接保存到配置文件。

当前配置文件

{{ editor_state.config_path or default_config_path or '未指定' }}

页面展示的是文件保存值;如果某个字段被环境变量覆盖,会额外标出运行时实际值。

{% 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 %} {% endfor %}
{% endfor %}
{% endblock %}