buildlog.html 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org">
  3. <head th:replace="/common/template :: header(~{::title},~{::link},~{::style})"></head>
  4. <body class="timo-layout-page">
  5. <div class="layui-card">
  6. <div class="timo-table-wrap">
  7. <table class="layui-table timo-table">
  8. <thead>
  9. <tr>
  10. <th class="sortable" data-field="repoBranch">分支</th>
  11. <th class="sortable" data-field="commitId">版本 ID</th>
  12. <th class="sortable" data-field="buildTime">构建时间</th>
  13. <th class="sortable">构建结果</th>
  14. <th class="sortable" data-field="buildBy">构建用户</th>
  15. <th class="sortable" data-field="packagePath">包路径</th>
  16. <th class="sortable">构建配置</th>
  17. <th class="sortable">构建耗时</th>
  18. <th>操作</th>
  19. </tr>
  20. </thead>
  21. <tbody>
  22. <tr th:each="item:${list}">
  23. <td th:text="${item.branch}">分支</td>
  24. <td th:text="${item.commitId}">版本 ID</td>
  25. <td th:text="${item.buildTime}">构建时间</td>
  26. <td>
  27. <a class="open-popup" data-title="构建结果" data-size="1000,500" href="#"
  28. th:attr="data-url=@{'/app/bd/build/result?buildLogId='+${item.buildLogId}}">查看</a>
  29. </td>
  30. <td th:text="${item.buildBy}">构建用户</td>
  31. <td th:text="${item.packagePath}">包路径</td>
  32. <td>
  33. <a class="open-popup" data-title="构建配置" data-size="1000,500" href="#"
  34. th:attr="data-url=@{'/app/bd/build/config?buildLogId='+${item.buildLogId}}">查看</a>
  35. </td>
  36. <td>
  37. <a class="open-popup" data-title="构建耗时" data-size="500,200" href="#"
  38. th:attr="data-url=@{'/app/bd/build/consumed?buildLogId='+${item.buildLogId}}">查看</a>
  39. </td>
  40. <td>
  41. <a class="open-popup" th:attr="data-title=@{${item.appId} + ' 部署列表'}, data-url=@{'/app/bd/deploy?appId=' + ${item.appId} + '&buildLogId=' + ${item.buildLogId}}"
  42. data-size="1000,500" href="#">部署</a>
  43. <a class="ajax-redirect" th:href="@{'/api/app/bd/packageurl/'+${item.buildLogId}}">下载</a>
  44. </td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. </div>
  49. <div th:replace="/common/fragment :: page"></div>
  50. </div>
  51. <script th:replace="/common/template :: script"></script>
  52. <script type="text/javascript"></script>
  53. </body>
  54. </html>