Author: chanaka
Date: Fri Dec 21 04:39:17 2007
New Revision: 11668
Log:
Put the error page with existing theme
Modified:
branches/registry/0_1/modules/webapps/src/main/webapp/admin/error.jsp
Modified: branches/registry/0_1/modules/webapps/src/main/webapp/admin/error.jsp
==============================================================================
--- branches/registry/0_1/modules/webapps/src/main/webapp/admin/error.jsp
(original)
+++ branches/registry/0_1/modules/webapps/src/main/webapp/admin/error.jsp
Fri Dec 21 04:39:17 2007
@@ -2,32 +2,38 @@
<html>
<head>
<title>WSO2 Registry</title>
- <link href="/wso2registry/admin/css/styles.css" rel="stylesheet"
type="text/css" />
+ <link type="text/css" href="/wso2registry/admin/css/main.css"
rel="stylesheet" />
</head>
<body>
+<div class="page-sizer">
+ <!-- START header content -->
-<div id="banner"><img src="/wso2registry/admin/images/logo.gif" width="320"
height="64" /></div>
+ <jsp:include page="header.jsp" />
-<%
- String msg = "Unknown error";
- Object o = request.getSession().getAttribute(UIConstants.ERROR_MESSAGE);
- String errorCode = (String)
request.getSession().getAttribute(UIConstants.ERROR_CODE);
- if (o != null) {
- msg = (String) o;
- }
-
- request.getSession().setAttribute(UIConstants.ERROR_MESSAGE, null);
-%>
-
-<% if (errorCode != null) { %>
-<h2><%=errorCode%></h2>
-<% } %>
-
-<br/>
- <font color="red"><%=msg%></font>
-<br/>
+ <div class="content">
+
+ <%
+ String msg = "Unknown error";
+ Object o =
request.getSession().getAttribute(UIConstants.ERROR_MESSAGE);
+ String errorCode = (String)
request.getSession().getAttribute(UIConstants.ERROR_CODE);
+ if (o != null) {
+ msg = (String) o;
+ }
+
+
request.getSession().setAttribute(UIConstants.ERROR_MESSAGE, null);
+ %>
+
+ <% if (errorCode != null) { %>
+ <h1><%=errorCode%></h1>
+ <% } %>
+
+ <br/>
+ <font color="red"><img
src="/wso2registry/admin/images/error-message.jpg" align="bottom" />
<%=msg%></font>
+ <br/>
+ </div>
+ </div>
</body>
</html>
\ No newline at end of file
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev