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="ckind.list" default="Ckind 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="ckind.new" default="New Ckind" /></g:link></span>
- </div>
- <div class="body">
- <h1><g:message code="ckind.list" default="Ckind 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="ckind.id" />
-
- <g:sortableColumn property="ckiName" title="Cki Name" titleKey="ckind.ckiName" />
-
- <g:sortableColumn property="ckiFlag" title="Cki Flag" titleKey="ckind.ckiFlag" />
-
- <g:sortableColumn property="ckiState" title="Cki State" titleKey="ckind.ckiState" />
-
- <g:sortableColumn property="ckimemo" title="Ckimemo" titleKey="ckind.ckimemo" />
-
- </tr>
- </thead>
- <tbody>
- <g:each in="${ckindList}" status="i" var="ckind">
- <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
-
- <td><g:link action="show" id="${ckind.id}">${ckind.id?.encodeAsHTML()}</g:link></td>
-
- <td>${ckind.ckiName?.encodeAsHTML()}</td>
-
- <td>${ckind.ckiFlag?.encodeAsHTML()}</td>
-
- <td>${ckind.ckiState?.encodeAsHTML()}</td>
-
- <td>${ckind.ckimemo?.encodeAsHTML()}</td>
-
- </tr>
- </g:each>
- </tbody>
- </table>
- </div>
- <div class="paginateButtons">
- <g:paginate total="${Ckind.count()}" />
- </div>
- </div>
- </body>
- </html>