group_check.html 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>组详情</title>
  7. </head>
  8. <body layout:fragment="content">
  9. <article class="page-container">
  10. <form action="" method="post" class="form form-horizontal" id="form-admin-group-edit" th:object="${model}">
  11. <input type="hidden" th:name="id" th:value="*{id}" th:id="id">
  12. <div class="row cl">
  13. <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>用户组名称:</label>
  14. <div class="formControls col-xs-8 col-sm-9">
  15. [[*{name}]]
  16. </div>
  17. </div>
  18. <div class="row cl">
  19. <label class="form-label col-xs-4 col-sm-2">描述:</label>
  20. <div class="formControls col-xs-8 col-sm-9">
  21. [[*{remark}]]
  22. </div>
  23. </div>
  24. <div class="row cl">
  25. </div>
  26. <table class="table table-border table-bordered table-hover table-bg">
  27. <thead>
  28. <tr class="text-c">
  29. <th>用户名</th>
  30. <th>姓名</th>
  31. <th>角色</th>
  32. <th>所属部门</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. <tr class="text-c" th:each="user:${model.users}" th:object="${user}">
  37. <td th:text="*{nick_name}"></td>
  38. <td th:text="*{user_name}"></td>
  39. <td th:text="*{role_names}"></td>
  40. <td th:text="*{department_name}"></td>
  41. </tbody>
  42. </table>
  43. <div class="row cl">
  44. <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
  45. <button onClick="removeIframe();" class="btn btn-default radius" type="button">&nbsp;&nbsp;取消&nbsp;&nbsp;</button>
  46. </div>
  47. </div>
  48. </form>
  49. </article>
  50. <script th:inline="javascript">
  51. /**
  52. * 取消
  53. */
  54. function removeIframe() {
  55. var index = parent.layer.getFrameIndex(window.name);
  56. parent.layer.close(index);
  57. }
  58. </script>
  59. </body>
  60. </html>