| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- <!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="timo-table-wrap">
- <table class="layui-table timo-table">
- <thead>
- <tr>
- <th class="sortable" data-field="repoBranch">分支</th>
- <th class="sortable" data-field="commitId">版本 ID</th>
- <th class="sortable" data-field="buildTime">构建时间</th>
- <th class="sortable">构建结果</th>
- <th class="sortable" data-field="buildBy">构建用户</th>
- <th class="sortable" data-field="packagePath">包路径</th>
- <th class="sortable">构建配置</th>
- <th class="sortable">构建耗时</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- <tr th:each="item:${list}">
- <td th:text="${item.branch}">分支</td>
- <td th:text="${item.commitId}">版本 ID</td>
- <td th:text="${item.buildTime}">构建时间</td>
- <td>
- <a class="open-popup" data-title="构建结果" data-size="1000,500" href="#"
- th:attr="data-url=@{'/app/bd/build/result?buildLogId='+${item.buildLogId}}">查看</a>
- </td>
- <td th:text="${item.buildBy}">构建用户</td>
- <td th:text="${item.packagePath}">包路径</td>
- <td>
- <a class="open-popup" data-title="构建配置" data-size="1000,500" href="#"
- th:attr="data-url=@{'/app/bd/build/config?buildLogId='+${item.buildLogId}}">查看</a>
- </td>
- <td>
- <a class="open-popup" data-title="构建耗时" data-size="500,200" href="#"
- th:attr="data-url=@{'/app/bd/build/consumed?buildLogId='+${item.buildLogId}}">查看</a>
- </td>
- <td>
- <a class="open-popup" th:attr="data-title=@{${item.appId} + ' 部署列表'}, data-url=@{'/app/bd/deploy?appId=' + ${item.appId} + '&buildLogId=' + ${item.buildLogId}}"
- data-size="1000,500" href="#">部署</a>
- <a class="ajax-redirect" th:href="@{'/api/app/bd/packageurl/'+${item.buildLogId}}">下载</a>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- <div th:replace="/common/fragment :: page"></div>
- </div>
- <script th:replace="/common/template :: script"></script>
- <script type="text/javascript"></script>
- </body>
- </html>
|