list.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:3k
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title><g:message code="system_menu.list" default="System_menu List" /></title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- <span class="menuButton"><g:link class="create" action="create"><g:message code="system_menu.new" default="New System_menu" /></g:link></span>
- </div>
- <div class="body">
- <h1><g:message code="system_menu.list" default="System_menu List" /></h1>
- <g:if test="${flash.message}">
- <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
- </g:if>
- <div class="list">
- <table>
- <thead>
- <tr>
-
- <g:sortableColumn property="id" title="Id" titleKey="system_menu.id" />
-
- <th><g:message code="system_menu.parent" default="Parent" /></th>
-
- <g:sortableColumn property="description" title="Description" titleKey="system_menu.description" />
-
- <g:sortableColumn property="name" title="Name" titleKey="system_menu.name" />
-
- </tr>
- </thead>
- <tbody>
- <g:each in="${system_menuList}" status="i" var="system_menu">
- <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
-
- <td><g:link action="show" id="${system_menu.id}">${system_menu.id?.encodeAsHTML()}</g:link></td>
-
- <td>${system_menu.parent?.encodeAsHTML()}</td>
-
- <td>${system_menu.description?.encodeAsHTML()}</td>
-
- <td>${system_menu.name?.encodeAsHTML()}</td>
-
- </tr>
- </g:each>
- </tbody>
- </table>
- </div>
- <div class="paginateButtons">
- <g:paginate total="${System_menu.count()}" />
- </div>
- </div>
- </body>
- </html>