{% extends "layout.html" %} {% block body %}

task

{% with messages = get_flashed_messages() %} {% if messages %} {% endif %} {% endwith %} {% if state %}

任务ID: {{state.tid}}

当前状态: {{state.state}}

{% if state.ip %}

IP: {{state.ip}}

{% endif %} {% if state.pid %}

PID: {{state.pid}}

{% endif %} {% if state.exitcode %}

退出状态码: {{state.exitcode}}

{% endif %} {% if state.updated_at %}

更新时间: {{state.updated_at}}

{% endif %} {% if state.logs %}

信息:

{{state.logs}}

{% endif %} {% endif %} {% endblock %}