<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>

<body class="timo-layout-page">
<div class="layui-card">
    <div class="layui-card-body">
        <div class="timo-table-wrap">
            <table class="layui-table timo-table">
                <thead>
                <tr>
                    <th class="sortable" data-field="appId">应用</th>
                    <th class="sortable" data-field="type">类型</th>
                    <th class="sortable" data-field="env">环境</th>
                    <th class="sortable" data-field="stat">状态</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <tr th:each="item:${list}">
                    <td th:text="${item.appId}">类型</td>
                    <td th:text="${item.type}">类型</td>
                    <td th:text="${item.env}">类型</td>
                    <td th:text="${item.stat}">类型</td>
                    <td>
                        <a class="ajax-post" th:href="@{'/api/app/bd/task/cancel/'+${item.appId}}">取消</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

<script th:replace="/common/template :: script"></script>
<script type="text/javascript" th:src="@{/js/plugins/jquery-2.2.4.min.js}"></script>
</body>
</html>