<!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="yearMonthDay">日期</th>
                    <th class="sortable" data-field="total">数量</th>
                    <th>查看</th>
                </tr>
                </thead>
                <tbody>
                <tr th:each="item:${list}">
                    <td th:text="${item.yearMonthDay}">日期</td>
                    <td th:text="${item.total}">总数</td>
                    <td>
                        <a class="open-popup" data-title="日志"
                           th:attr="data-url=@{'/sys/log/runtime/detail/'+${item.machineId}+'/'+${item.nodeId}+'/'+${item.yearMonthDay}}" data-size="1000,500"
                           href="#">查看</a>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
    </div>
</div>

<script th:replace="/common/template :: script"></script>
<script type="text/javascript">
</script>
</body>
</html>