Author: chanaka
Date: Fri Dec 21 02:05:40 2007
New Revision: 11656
Log:
layout modified to new theme
Modified:
branches/registry/0_1/modules/webapps/src/main/webapp/admin/versions.jsp
Modified:
branches/registry/0_1/modules/webapps/src/main/webapp/admin/versions.jsp
==============================================================================
--- branches/registry/0_1/modules/webapps/src/main/webapp/admin/versions.jsp
(original)
+++ branches/registry/0_1/modules/webapps/src/main/webapp/admin/versions.jsp
Fri Dec 21 02:05:40 2007
@@ -12,32 +12,93 @@
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
-<head><title>Simple jsp page</title></head>
-
+<head>
+ <title>Simple jsp page</title>
+ <link type="text/css" href="/wso2registry/admin/css/main.css"
rel="stylesheet" />
+</head>
<body>
-<div class="box2-mid" id="versionsList">
-
- <%
- VersionsBean versionBean = (VersionsBean)
request.getSession().getAttribute(UIConstants.VERSIONS_BEAN);
- Iterator iVersions = versionBean.getVersionPaths().iterator();
- while (iVersions.hasNext()) {
- VersionPath versionPath = (VersionPath) iVersions.next();
- %>
-
- <h3>Version <%=versionPath.getVersionNumber()%></h3>
-
- <strong style="color:#696969;">Last Modified:</strong><br>
- <%=versionPath.getUpdatedOn().toString()%>
- <br><strong style="color:#696969;">By:</strong>
<%=versionPath.getUpdater()%>
- <br>
- <div style="margin-bottom:10px;">
- <a href="/wso2registry/web<%=versionPath.getCompleteVersionPath()%>"
title="Details">Details <img src="/wso2registry/admin/images/icon-details.gif"
border="0" hspace="3" /></a>
- <a
href="/wso2registry/system/restore?versionPath=<%=versionPath.getCompleteVersionPath()%>"
title="Restore" style="margin-left:5px;">Restore <img
src="/wso2registry/admin/images/icon-restore.gif" border="0" /></a>
- </div>
+<div class="page-sizer">
+
+<jsp:include page="header.jsp" />
+<div class="content">
+<h1 class="headding-recent-activity">Versions</h1>
+
+
+
+ <!-- Hear comes the box1 table -->
+ <div class="box1-head">
+ <table cellspacing="0" cellpadding="0"
border="0" style="width:100%">
+ <tr>
+ <td valign="top"
style="padding-top:0px;width:14px;"><img
src="/wso2registry/admin/images/box1-lefttop.jpg" /></td>
+ <td valign="top">
+ <h2>Search Activities</h2>
+ </td>
+ <td align="right" valign="top">
+ <a href="#"
onclick="showHideCommon('userIconExpanded');showHideCommon('userIconMinimized');showHideCommon('userExpanded');showHideCommon('userMinimized');">
+ <img
src="/wso2registry/admin/images/icon-expanded.gif" border="0" align="top"
id="userIconExpanded" />
+ <img
src="/wso2registry/admin/images/icon-minimized.gif" border="0" align="top"
id="userIconMinimized" style="display:none;" />
+ </a>
+ </td>
+ <td valign="top" align="right"
style="width:14px; padding-top:0px;" ><img
src="/wso2registry/admin/images/box1-righttop.jpg" /></td>
+ </tr>
+ </table>
+ </div>
+ <div class="box1-mid" id="userMinimized"
style="display:none;">
+ Expand to view details
+ </div>
+ <div class="box1-mid" id="userExpanded">
+ <!-- all the content goes here -->
+
+
+ <table cellpadding="0" cellspacing="0" border="0"
class="data-table" style="width:650px;">
+ <tr>
+ <th>Version </th>
+ <th>Last Modified</th>
+ <th>By</th>
+ <th style="width:150px;"></th>
+ </tr>
+ <%
+ VersionsBean versionBean = (VersionsBean)
request.getSession().getAttribute(UIConstants.VERSIONS_BEAN);
+ Iterator iVersions =
versionBean.getVersionPaths().iterator();
+ while (iVersions.hasNext()) {
+ VersionPath versionPath = (VersionPath)
iVersions.next();
+ %>
+ <tr>
+ <td><%=versionPath.getVersionNumber()%></td>
+
<td><%=versionPath.getUpdatedOn().toString()%></td>
+ <td><%=versionPath.getUpdater()%></td>
+ <td>
+ <a
href="/wso2registry/web<%=versionPath.getCompleteVersionPath()%>"
title="Details">Details <img src="/wso2registry/admin/images/icon-details.gif"
border="0" hspace="3" /></a>
+ <a
href="/wso2registry/system/restore?versionPath=<%=versionPath.getCompleteVersionPath()%>"
title="Restore" style="margin-left:5px;">Restore <img
src="/wso2registry/admin/images/icon-restore.gif" border="0" /></a>
+ </td>
+ </tr>
+
+
+ <% } %>
+ </table>
+
+ <!-- End box1-mid div -->
+ </div>
+ <div class="box1-bot">
+ <table cellspacing="0" cellpadding="0"
border="0" style="width:100%" >
+ <tr>
+ <td><img
src="/wso2registry/admin/images/box1-leftbot.jpg" /></td>
+ <td align="right"><img
src="/wso2registry/admin/images/box1-rightbot.jpg" /></td>
+ </tr>
+ </table>
+ </div>
+
+
+
+
+
+</div>
+<!-- START footer content -->
+<jsp:include page="footer.jsp" />
- <% } %>
</div>
+
</body>
-</html>
\ No newline at end of file
+</html>
_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev