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="system_menu.show" default="Show System_menu" /></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="system_menu.list" default="System_menu List" /></g:link></span>
  11.             <span class="menuButton"><g:link class="create" action="create"><g:message code="system_menu.new" default="New System_menu" /></g:link></span>
  12.         </div>
  13.         <div class="body">
  14.             <h1><g:message code="system_menu.show" default="Show System_menu" /></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="system_menu.id" default="Id" />:</td>
  24.                             
  25.                             <td valign="top" class="value">${system_menu.id}</td>
  26.                             
  27.                         </tr>
  28.                     
  29.                         <tr class="prop">
  30.                             <td valign="top" class="name"><g:message code="system_menu.parent" default="Parent" />:</td>
  31.                             
  32.                             <td valign="top" class="value"><g:link controller="system_menu" action="show" id="${system_menu?.parent?.id}">${system_menu?.parent}</g:link></td>
  33.                             
  34.                         </tr>
  35.                     
  36.                         <tr class="prop">
  37.                             <td valign="top" class="name"><g:message code="system_menu.childrens" default="Childrens" />:</td>
  38.                             
  39.                             <td  valign="top" style="text-align:left;" class="value">
  40.                                 <ul>
  41.                                 <g:each var="c" in="${system_menu.childrens}">
  42.                                     <li><g:link controller="system_menu" action="show" id="${c.id}">${c}</g:link></li>
  43.                                 </g:each>
  44.                                 </ul>
  45.                             </td>
  46.                             
  47.                         </tr>
  48.                     
  49.                         <tr class="prop">
  50.                             <td valign="top" class="name"><g:message code="system_menu.description" default="Description" />:</td>
  51.                             
  52.                             <td valign="top" class="value">${system_menu.description}</td>
  53.                             
  54.                         </tr>
  55.                     
  56.                         <tr class="prop">
  57.                             <td valign="top" class="name"><g:message code="system_menu.name" default="Name" />:</td>
  58.                             
  59.                             <td valign="top" class="value">${system_menu.name}</td>
  60.                             
  61.                         </tr>
  62.                     
  63.                     </tbody>
  64.                 </table>
  65.             </div>
  66.             <div class="buttons">
  67.                 <g:form>
  68.                     <input type="hidden" name="id" value="${system_menu?.id}" />
  69.                     <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
  70.                     <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>
  71.                 </g:form>
  72.             </div>
  73.         </div>
  74.     </body>
  75. </html>