| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- <!DOCTYPE HTML>
- <html xmlns:th="http://www.thymeleaf.org"
- xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
- layout:decorate="~{admin/common/common}">
- <head>
- <title>组详情</title>
- </head>
- <body layout:fragment="content">
- <article class="page-container">
- <form action="" method="post" class="form form-horizontal" id="form-admin-group-edit" th:object="${model}">
- <input type="hidden" th:name="id" th:value="*{id}" th:id="id">
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2"><span class="c-red">*</span>用户组名称:</label>
- <div class="formControls col-xs-8 col-sm-9">
- [[*{name}]]
- </div>
- </div>
- <div class="row cl">
- <label class="form-label col-xs-4 col-sm-2">描述:</label>
- <div class="formControls col-xs-8 col-sm-9">
- [[*{remark}]]
- </div>
- </div>
- <div class="row cl">
- </div>
- <table class="table table-border table-bordered table-hover table-bg">
- <thead>
- <tr class="text-c">
- <th>用户名</th>
- <th>姓名</th>
- <th>角色</th>
- <th>所属部门</th>
- </tr>
- </thead>
- <tbody>
- <tr class="text-c" th:each="user:${model.users}" th:object="${user}">
- <td th:text="*{nick_name}"></td>
- <td th:text="*{user_name}"></td>
- <td th:text="*{role_names}"></td>
- <td th:text="*{department_name}"></td>
- </tbody>
- </table>
- <div class="row cl">
- <div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
- <button onClick="removeIframe();" class="btn btn-default radius" type="button"> 取消 </button>
- </div>
- </div>
- </form>
- </article>
- <script th:inline="javascript">
- /**
- * 取消
- */
- function removeIframe() {
- var index = parent.layer.getFrameIndex(window.name);
- parent.layer.close(index);
- }
- </script>
- </body>
- </html>
|