{% block extra_css %}{% endblock %}
后台管理
{% if session.get('role') == 'admin' %}
ChatGPT
Claude
用户管理
{% endif %}
{% if session.get('logged_in') %}
{{ session.get('username') }} {% if session.get('role') == 'admin' %}
管理员
{% endif %}
退出
{% endif %}
{% if session.get('role') == 'admin' %}
ChatGPT
Claude
用户管理
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %} {% for category, message in messages %}
{{ message }}
{% endfor %} {% endif %} {% endwith %} {% block content %}{% endblock %}
{% block extra_js %}{% endblock %}