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="user.show" default="Show Person" /></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="user.list" default="User List" /></g:link></span>
- <span class="menuButton"><g:link class="create" action="create"><g:message code="user.new" default="New Person" /></g:link></span>
- </div>
-
- <div class="body">
- <h1><g:message code="user.show" default="Show Person" /></h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <div class="dialog">
- <table>
- <tbody>
-
- <tr class="prop">
- <td valign="top" class="name">Id:</td>
- <td valign="top" class="value">${person.id?.encodeAsHTML()}</td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.loginName" default="Login Name:" /></td>
- <td valign="top" class="value">
- ${person.username?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.fullName" default="Full Name:" /></td>
- <td valign="top" class="value">
- ${person.userRealName?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.enabled" default="Enabled:" /></td>
- <td valign="top" class="value">
- ${person.enabled?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.description" default="Description:" /></td>
- <td valign="top" class="value">
- ${person.description?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.email" default="Email:" /></td>
- <td valign="top" class="value">
- ${person.email?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.showEmail" default="Show Email:" /></td>
- <td valign="top" class="value">
- ${person.email_show?.encodeAsHTML()}
- </td>
- </tr>
-
- <tr class="prop">
- <td valign="top" class="name"><g:message code="user.assignRoles" default="Assign Roles:" /></td>
- <td valign="top" class="value">
- <ul>
- <g:collect in="${person.authorities}" expr="${it.authority}">
- <li>${it?.substring(5)?.toLowerCase()}</li>
- </g:collect>
- </ul>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
-
- <div class="buttons">
- <g:form controller="user">
- <input type="hidden" name="id" value="${person?.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>