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

PlugIns编程

开发平台:

Java

  1. <%@ page contentType="text/html;charset=UTF-8" %>
  2. <html>
  3.     <head>
  4.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  5.         <meta name="layout" content="main" />
  6.         <title><g:message code="error.title" default="error.title" /></title>
  7.     </head>
  8.   <body>
  9.          %{--<div class="nav">
  10.             <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}"><g:message code="home" default="default.home" /></a></span>
  11.         </div>--}%
  12.                 <div class="body">
  13.                 <h1><g:message code="error.title" default="error.title" /></h1>
  14.             <div class="dialog">
  15.                 <table  align="center"  style="width:98%;background-color: #FFF;"  cellpadding="0" cellspacing="0">
  16.                 <tbody>
  17.                     <tr><td align="center"></td>
  18.                         <td style="text-align:center">
  19.                         <g:if test="${flash.message}">
  20.                         <div class="message"><g:message code="${flash.message}" default="${flash.defaultMessage}" /></div>
  21.                         </g:if>
  22.                         <g:else>
  23.                             <g:message code="error.else" default="error.else" />
  24.                         </g:else>
  25.                         </td> <td align="center"></td></tr>
  26.                </tbody>
  27.                 </table>
  28.                 </div>
  29.                 </div>
  30.             <br>
  31.            &nbsp;
  32.   <div class="buttons">
  33.       <span class="button"><input class="delete" type="button" onclick=" history.go(-1);" value="${message(code:'default.return', 'default':'Return')}"/> </span>
  34.   <span class="button"> <g:link class="link" controller="login" target="_top"><g:message code="login" default="Login" /></g:link> </span>
  35.   <span class="button"> <g:link class="link" controller="logout" target="_top"><g:message code="logout" default="logout" /></g:link> </span>
  36.   </div>
  37.   </body>
  38. </html>