<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>
<body>
<div class="timo-detail-page">
    <table class="layui-table timo-detail-table">
        <tbody>
        <tr>
            <th>远程仓库</th>
            <td th:text="${commitInfo?.remote}"></td>
            <th>仓库分支</th>
            <td th:text="${commitInfo?.branch}"></td>
            <th>版本 ID</th>
            <td th:text="${commitInfo?.commitId}"></td>
        </tr>
        <tr>
            <th>提交用户</th>
            <td th:text="${commitInfo?.commitAuthor}"></td>
            <th>提交信息</th>
            <td th:text="${commitInfo?.commitMsg}"></td>
            <th>提交时间</th>
            <td th:text="${commitInfo?.msCommitTime}"></td>
        </tr>
        </tbody>
    </table>
    <div class="timo-detail-title">文件变动列表</div>
    <table class="layui-table timo-detail-table">
        <thead>
        <tr>
            <th class="sortable" data-field="changeType">变更类型</th>
            <th class="sortable" data-field="oldFilePath">变更前路径</th>
            <th class="sortable" data-field="newFilePath">变更后路径</th>
        </tr>
        </thead>

        <tbody>
        <tr th:each="item:${commitInfo?.changedFiles}">
            <td th:text="${item.changeType}">变更类型</td>
            <td th:text="${item.oldFilePath}">变更前路径</td>
            <td th:text="${item.newFilePath}">变更后路径</td>
        </tr>
        </tbody>
    </table>
</div>
<script th:replace="/common/template :: script"></script>
</body>
</html>