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="code.show" default="Show Code" /></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="code.list" default="Code List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="code.new" default="New Code" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="code.show" default="Show Code" /></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="code.id" default="Id" />:</td>
  24.                             
  25.                             <td valign="top" class="value">${code.id}</td>
  26.                             
  27.                         </tr>
  28.                     
  29.                         <tr class="prop">
  30.                             <td valign="top" class="name"><g:message code="code.codName" default="Cod Name" />:</td>
  31.                             
  32.                             <td valign="top" class="value">${code.codName}</td>
  33.                             
  34.                         </tr>
  35.                     
  36.                         <tr class="prop">
  37.                             <td valign="top" class="name"><g:message code="code.codValue1" default="Cod Value1" />:</td>
  38.                             
  39.                             <td valign="top" class="value">${code.codValue1}</td>
  40.                             
  41.                         </tr>
  42.                     
  43.                         <tr class="prop">
  44.                             <td valign="top" class="name"><g:message code="code.codValue2" default="Cod Value2" />:</td>
  45.                             
  46.                             <td valign="top" class="value">${code.codValue2}</td>
  47.                             
  48.                         </tr>
  49.                     
  50.                         <tr class="prop">
  51.                             <td valign="top" class="name"><g:message code="code.codValue3" default="Cod Value3" />:</td>
  52.                             
  53.                             <td valign="top" class="value">${code.codValue3}</td>
  54.                             
  55.                         </tr>
  56.                     
  57.                         <tr class="prop">
  58.                             <td valign="top" class="name"><g:message code="code.codValue4" default="Cod Value4" />:</td>
  59.                             
  60.                             <td valign="top" class="value">${code.codValue4}</td>
  61.                             
  62.                         </tr>
  63.                     
  64.                         <tr class="prop">
  65.                             <td valign="top" class="name"><g:message code="code.ckind" default="Ckind" />:</td>
  66.                             
  67.                             <td valign="top" class="value"><g:link controller="ckind" action="show" id="${code?.ckind?.id}">${code?.ckind}</g:link></td>
  68.                             
  69.                         </tr>
  70.                     
  71.                     </tbody>
  72.                 </table>
  73.             </div>
  74.             <div class="buttons">
  75.                 <g:form action="edit">
  76.                     <input type="hidden" name="id" value="${code?.id}" />
  77.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  78.                     <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>
  79.                 </g:form>
  80.             </div>
  81.         </div>
  82.     </body>
  83. </html>