{% extends "./inc/base.html" %} {% block style%} {%endblock%} {% block content %}

{{controller.meta_title}}

{% for item in list %} {% else %} {% endfor %}
ID 名称 描述 类型 操作
{{item.id}} {{item.name}} {{item.description}} {{'视图' if item.type==1 else '控制器'}} 编辑 删除

This would display if the 'item' collection were empty

{% endblock %} {% block script%} {% endblock%}