<@sys.taskList status=status pageIndex=pageNum pageSize=numPerPage>
<#list page.list as a>
<@t.page 'id'/> <@t.page 'name'/> <@t.page 'description'/> <@t.page 'task.cron'/> <@t.page 'task_template'/> <@t.page 'multiple_node'/> <@t.page 'status'/> <@t.page 'operate'/>
${a.id!} ${(a.name)!} ${(a.description)!} ${(a.cronExpression)!} ${(a.filePath)!} <#if a.multiNode><@t.page 'multiple_node'/> <@t.page 'status.task.'+a.status/> <@t.page 'task.edit'/> <#if a.status=0> <@t.page 'button.exec'/> <@t.page 'button.pause'/> <#elseif a.status=1> <@t.page 'button.reinitialize'/> <@t.page 'button.interrupt'/> <#elseif a.status=2> <@t.page 'button.resume'/> <#elseif a.status=3> <@t.page 'button.reinitialize'/> <@t.page 'button.view_log'/> <@t.page 'button.delete'/>
<#include "../include_page/page.html"/>