{% if current_user %}
📡 DHCP 管理
{{ current_user.username }}{% if is_admin %} 管理员{% endif %} 改密 登出
{% endif %}
{% with messages = get_flashed_messages(with_categories=true) %} {% if messages %}
{% for cat, msg in messages %}
{{ msg }}
{% endfor %}
{% endif %} {% endwith %} {% block content %}{% endblock %}