{% extends base.html %} {% block head %} {% end %} {% block body %} {% init error = "" %} {% init shell_list = [] %} {% set index = 1 %} {% init op = "list" %} {% if error != "" and error != None %}
{{error}}
{% end %} {% if op != "edit" %}
脚本管理
{% end %} {% if op == "edit" %}
{% set title = name %} {% include "common/title/base_title.html" %} {# 编辑 #}
结果
            
{% else %} {% comment 列表 %}
{% for index, script in enumerate(shell_list) %} {% end %}
{{index+1}} {{script}}
{% end %} {% end %}