show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:4k
源码类别:

PlugIns编程

开发平台:

Java

  1. <html>
  2.     <head>
  3.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  4.         <meta name="layout" content="main" />
  5.         <title><g:message code="ckind.show" default="Show Ckind" /></title>
  6.     </head>
  7.     <body>
  8.         <div class="nav">
  9.             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
  10.             <span class="menuButton"><g:link class="list" action="list"><g:message code="ckind.list" default="Ckind List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="ckind.new" default="New Ckind" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="ckind.show" default="Show Ckind" /></h1>
  15.             <g:if test="${flash.message}">
  16.             <div class="message"><g:message code="${flash.message}" args="${flash.args}" default="${flash.defaultMessage}" /></div>
  17.             </g:if>
  18.             <div class="dialog">
  19.                 <table>
  20.                     <tbody>
  21.                     
  22.                         <tr class="prop">
  23.                             <td valign="top" class="name"><g:message code="ckind.id" default="Id" />:</td>
  24.                             
  25.                             <td valign="top" class="value">${ckind.id}</td>
  26.                             
  27.                         </tr>
  28.                     
  29.                         <tr class="prop">
  30.                             <td valign="top" class="name"><g:message code="ckind.ckiName" default="Cki Name" />:</td>
  31.                             
  32.                             <td valign="top" class="value">${ckind.ckiName}</td>
  33.                             
  34.                         </tr>
  35.                     
  36.                         <tr class="prop">
  37.                             <td valign="top" class="name"><g:message code="ckind.ckiFlag" default="Cki Flag" />:</td>
  38.                             
  39.                             <td valign="top" class="value">${ckind.ckiFlag}</td>
  40.                             
  41.                         </tr>
  42.                     
  43.                         <tr class="prop">
  44.                             <td valign="top" class="name"><g:message code="ckind.ckiState" default="Cki State" />:</td>
  45.                             
  46.                             <td valign="top" class="value">${ckind.ckiState}</td>
  47.                             
  48.                         </tr>
  49.                     
  50.                         <tr class="prop">
  51.                             <td valign="top" class="name"><g:message code="ckind.ckimemo" default="Ckimemo" />:</td>
  52.                             
  53.                             <td valign="top" class="value">${ckind.ckimemo}</td>
  54.                             
  55.                         </tr>
  56.                     
  57.                         <tr class="prop">
  58.                             <td valign="top" class="name"><g:message code="ckind.codes" default="Codes" />:</td>
  59.                             
  60.                             <td  valign="top" style="text-align:left;" class="value">
  61.                                 <ul>
  62.                                 <g:each var="c" in="${ckind.codes}">
  63.                                     <li><g:link controller="code" action="show" id="${c.id}">${c}</g:link></li>
  64.                                 </g:each>
  65.                                 </ul>
  66.                             </td>
  67.                             
  68.                         </tr>
  69.                     
  70.                     </tbody>
  71.                 </table>
  72.             </div>
  73.             <div class="buttons">
  74.                 <g:form>
  75.                     <input type="hidden" name="id" value="${ckind?.id}" />
  76.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  77.                     <span class="button"><g:actionSubmit class="delete" onclick="return confirm('${message(code:'delete.confirm', 'default':'Are you sure?')}');" action="Delete" value="${message(code:'delete', 'default':'Delete')}" /></span>
  78.                 </g:form>
  79.             </div>
  80.         </div>
  81.     </body>
  82. </html>