ding.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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-header timo-card-header">
  7. <span><i class="fa fa-bars"></i> 钉钉账户配置</span>
  8. <i class="layui-icon layui-icon-refresh refresh-btn"></i>
  9. </div>
  10. <div class="layui-card-body">
  11. <div class="layui-row timo-card-screen put-row">
  12. <div class="pull-right screen-btn-group">
  13. <div class="btn-group-right">
  14. <button class="layui-btn open-popup" data-title="添加钉钉账户" th:attr="data-url=@{/monitor/notify/ding/add}"
  15. data-size="640,480">
  16. <i class="fa fa-plus"></i> 添加
  17. </button>
  18. </div>
  19. </div>
  20. </div>
  21. <div class="timo-table-wrap">
  22. <table class="layui-table timo-table">
  23. <thead>
  24. <tr>
  25. <th class="timo-table-checkbox">
  26. <label class="timo-checkbox"><input type="checkbox">
  27. <i class="layui-icon layui-icon-ok"></i></label>
  28. </th>
  29. <th class="sortable" data-field="notifyAccountId">账户 ID</th>
  30. <th class="sortable" data-field="username">用户名</th>
  31. <th class="sortable" data-field="password">密码</th>
  32. <th>操作</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. <tr th:each="item:${list}">
  37. <td><label class="timo-checkbox"><input type="checkbox" th:value="${item.id}">
  38. <i class="layui-icon layui-icon-ok"></i></label></td>
  39. <td th:text="${item.notifyAccountId}">账户 ID</td>
  40. <td th:text="${item.username}">用户名</td>
  41. <td th:text="${item.password}">密码</td>
  42. <td>
  43. <a class="open-popup" data-title="编辑" th:attr="data-url=@{'/sys/notify/ding/edit/'+${item.id}}"
  44. data-size="640,480" href="#">编辑</a>
  45. <a class="ajax-delete" th:attr="data-msg='确定要删除 '+ ${item.notifyAccountId} + '?'"
  46. th:href="@{'/api/sys/notify/ding/' + ${item.id}}">删除</a>
  47. </td>
  48. </tr>
  49. </tbody>
  50. </table>
  51. </div>
  52. <div th:replace="/common/fragment :: page"></div>
  53. </div>
  54. </div>
  55. <script th:replace="/common/template :: script"></script>
  56. <script type="text/javascript">
  57. </script>
  58. </body>
  59. </html>