notifybatch.html 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html xmlns:th="http://www.thymeleaf.org">
  3. <head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
  4. </head>
  5. <body>
  6. <div class="layui-form timo-compile">
  7. <form th:action="@{/api/monitor/app/notify/batch}">
  8. <table class="layui-table timo-detail-table">
  9. <tbody>
  10. <tr>
  11. <th>环境</th>
  12. <td>
  13. <div class="layui-form-item">
  14. <div class="layui-input-inline">
  15. <select name="env">
  16. <option th:each="item : ${environments}" th:value="${item.key}">[[${item.value}]]</option>
  17. </select>
  18. </div>
  19. </div>
  20. </td>
  21. </tr>
  22. <tr>
  23. <th>应用类型</th>
  24. <td>
  25. <div class="layui-form-item">
  26. <div class="layui-input-inline">
  27. <select name="appType">
  28. <option th:each="item : ${appTypes}" th:value="${item.key}">[[${item.value}]]</option>
  29. </select>
  30. </div>
  31. </div>
  32. </td>
  33. </tr>
  34. <tr>
  35. <th>构建通知</th>
  36. <td>
  37. <div class="layui-form-item">
  38. <div class="layui-input-inline">
  39. <select name="appBuild">
  40. <option th:each="item : ${notifyGroups}" th:value="${item.key}">[[${item.value}]]</option>
  41. </select>
  42. </div>
  43. </div>
  44. </td>
  45. </tr>
  46. <tr>
  47. <th>部署通知</th>
  48. <td>
  49. <div class="layui-form-item">
  50. <div class="layui-input-inline">
  51. <select name="appDeploy">
  52. <option th:each="item : ${notifyGroups}" th:value="${item.key}">[[${item.value}]]</option>
  53. </select>
  54. </div>
  55. </div>
  56. </td>
  57. </tr>
  58. <tr>
  59. <th>健康检查通知</th>
  60. <td>
  61. <div class="layui-form-item">
  62. <div class="layui-input-inline">
  63. <select name="appHealthCheck">
  64. <option th:each="item : ${notifyGroups}" th:value="${item.key}">[[${item.value}]]</option>
  65. </select>
  66. </div>
  67. </div>
  68. </td>
  69. </tr>
  70. </tbody>
  71. </table>
  72. <div class="layui-form-item timo-finally">
  73. <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
  74. <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
  75. </div>
  76. </form>
  77. </div>
  78. <script th:replace="/common/template :: script"></script>
  79. </body>
  80. </html>