show.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:4k
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title><g:message code="system_menu.show" default="Show System_menu" /></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="list" action="list"><g:message code="system_menu.list" default="System_menu List" /></g:link></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.show" default="Show System_menu" /></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="dialog">
- <table>
- <tbody>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="system_menu.id" default="Id" />:</td>
-
- <td valign="top" class="value">${system_menu.id}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="system_menu.parent" default="Parent" />:</td>
-
- <td valign="top" class="value"><g:link controller="system_menu" action="show" id="${system_menu?.parent?.id}">${system_menu?.parent}</g:link></td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="system_menu.childrens" default="Childrens" />:</td>
-
- <td valign="top" style="text-align:left;" class="value">
- <ul>
- <g:each var="c" in="${system_menu.childrens}">
- <li><g:link controller="system_menu" action="show" id="${c.id}">${c}</g:link></li>
- </g:each>
- </ul>
- </td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="system_menu.description" default="Description" />:</td>
-
- <td valign="top" class="value">${system_menu.description}</td>
-
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="system_menu.name" default="Name" />:</td>
-
- <td valign="top" class="value">${system_menu.name}</td>
-
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <g:form>
- <input type="hidden" name="id" value="${system_menu?.id}" />
- <span class="button"><g:actionSubmit class="edit" action="Edit" value="${message(code:'edit', 'default':'Edit')}" /></span>
- <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>
- </g:form>
- </div>
- </div>
- </body>
- </html>