deploy.html 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  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="layui-card-body">
  7. <div class="timo-table-wrap">
  8. <table class="layui-table timo-table">
  9. <thead>
  10. <tr>
  11. <th class="sortable" data-field="machineIpv4">机器地址</th>
  12. <th class="sortable" data-field="commitId">当前部署版本</th>
  13. <th class="sortable" data-field="deployTime">部署时间</th>
  14. <th class="sortable" data-field="deployResult">部署结果</th>
  15. <th class="sortable" data-field="deployBy">部署用户</th>
  16. <th>操作</th>
  17. </tr>
  18. </thead>
  19. <tbody>
  20. <tr th:each="item:${list}">
  21. <td th:text="${item.machineIpv4}">机器地址</td>
  22. <td th:text="${item?.commitId}">当前部署版本</td>
  23. <td th:text="${item?.deployTime}">部署时间</td>
  24. <td th:text="${item?.deployResult}">部署结果</td>
  25. <td th:text="${item?.deployBy}">部署用户</td>
  26. <td>
  27. <a class="ajax-post"
  28. th:href="@{'/api/app/bd/deploy?appId='+${appId}+'&buildLogId='+${buildLogId}}">部署</a>
  29. </td>
  30. </tr>
  31. </tbody>
  32. </table>
  33. </div>
  34. </div>
  35. </div>
  36. <script th:replace="/common/template :: script"></script>
  37. </body>
  38. </html>