Author: chanaka
Date: Mon Dec 17 20:25:08 2007
New Revision: 11303
Log:
The new theme is added to these pages
Modified:
trunk/registry/modules/webapps/src/main/webapp/admin/header.jsp
trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
trunk/registry/modules/webapps/src/main/webapp/admin/user.jsp
Modified: trunk/registry/modules/webapps/src/main/webapp/admin/header.jsp
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/header.jsp
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/header.jsp Mon Dec
17 20:25:08 2007
@@ -19,10 +19,6 @@
<form action="/wso2registry/system/signin" method="post">
<table class="form-table" border="0" cellspacing="0"
cellpadding="0" style="widht:100%">
<tr>
- <td width="110"> </td>
- <td> </td>
- </tr>
- <tr>
<td>User Name:</td>
<td><input type="text" name="userName" id="userName"
/></td>
</tr>
@@ -80,7 +76,7 @@
</td>
<td align="left"><img
src="/wso2registry/admin/images/menu-left.jpg" /></td>
<td>
- <a
href="<%=webPath%>" class="top-menu-selected">
+ <a
href="<%=webPath%>">
<img
src="/wso2registry/admin/images/icon-registryResources.gif" border="0"
align="top" /> Resources
</a>
</td>
Modified:
trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp
Mon Dec 17 20:25:08 2007
@@ -483,7 +483,7 @@
<div class="box2-mid" id="commentsExpanded">
<!-- START add comment box -->
- <div id="add-comment-div"
style="display:none;margin-bottom:10px;">
+ <div id="add-comment-div"
style="display:none;padding-bottom:10px;">
<h3>Add Comment</h3>
<form action="/wso2registry/system/addComment"
method="post">
Modified: trunk/registry/modules/webapps/src/main/webapp/admin/user.jsp
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/user.jsp
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/user.jsp Mon Dec
17 20:25:08 2007
@@ -21,70 +21,99 @@
<div class="content">
<h1 class="headding-user-manage">People</h1>
-
-<table cellpadding="0" cellspacing="0" border="0">
-<tr>
-<td style="width:700px;" valign="top">
-
-<!-- Display the details of main node -->
-<div class="breadcrumb"><a href="/wso2registry/system/people">People</a> |
<%=userDetailsAction.getUserName()%> (Settings)</div>
-<h2><%=userDetailsAction.getUserName()%></h2>
-
- <h3>Add roles to <%=userDetailsAction.getUserName()%></h3>
-
- <form action="/wso2registry/system/addUserToRole" method="post">
- <input type="hidden" name="userName"
value="<%=userDetailsAction.getUserName()%>"/>
- <select name="roleToAdd">
- <%
- Iterator iRoles = userDetailsAction.getAllRoles().iterator();
- while (iRoles.hasNext()) {
- String roleName = (String) iRoles.next();
- %>
- <option value="<%=roleName%>"><%=roleName%></option>
- <% } %>
- </select>
- <input type="submit" class="button" value="Add"/>
- </form>
- <h3>Available roles to <%=userDetailsAction.getUserName()%></h3>
- <table cellpadding="0" cellspacing="0" border="0" style="width:100%"
class="data-table">
- <tr>
- <th>Role Name</th>
- <th style="width:100px;" align="left">Action</th>
-
- </tr>
- <%
- Iterator iUserRoles = userDetailsAction.getUserRoles().iterator();
- while (iUserRoles.hasNext()) {
- String userRole = (String) iUserRoles.next();
- %>
- <tr><td><%=userRole%></td><td><a
href="/wso2registry/system/removeUserFromRole?user=<%=userDetailsAction.getUserName()%>&role=<%=userRole%>"><img
src="/wso2registry/admin/images/icon-trash.gif" border="0" /></a></td></tr>
- <% } %>
-
- </table>
- <h3 style="margin-top:10px;">Recent activity of
<%=userDetailsAction.getUserName()%></h3>
-
- <ul>
- <%
- Iterator iActivity =
userDetailsAction.getUserActivity().iterator();
- while (iActivity.hasNext()) {
- String activity = (String) iActivity.next();
- %>
- <li><%=activity%></li>
- <% } %>
- </ul>
+<div class="breadcrumb" style="margin-bottom:10px;"><a
href="/wso2registry/system/people">People</a> |
<%=userDetailsAction.getUserName()%> (Settings)</div>
+
+ <!-- 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><%=userDetailsAction.getUserName()%></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 -->
+
+
+
+ <h3>Add roles to
<%=userDetailsAction.getUserName()%></h3>
+
+ <form action="/wso2registry/system/addUserToRole"
method="post">
+ <input type="hidden" name="userName"
value="<%=userDetailsAction.getUserName()%>"/>
+ <select name="roleToAdd">
+ <%
+ Iterator iRoles =
userDetailsAction.getAllRoles().iterator();
+ while (iRoles.hasNext()) {
+ String roleName = (String)
iRoles.next();
+ %>
+ <option
value="<%=roleName%>"><%=roleName%></option>
+ <% } %>
+ </select>
+ <input type="submit" class="button"
value="Add"/>
+ </form>
+ <h3>Available roles to
<%=userDetailsAction.getUserName()%></h3>
+ <table cellpadding="0" cellspacing="0"
border="0" style="width:100%" class="data-table">
+ <tr>
+ <th>Role Name</th>
+ <th style="width:100px;"
align="left">Action</th>
+
+ </tr>
+ <%
+ Iterator iUserRoles =
userDetailsAction.getUserRoles().iterator();
+ while (iUserRoles.hasNext()) {
+ String userRole = (String)
iUserRoles.next();
+ %>
+ <tr><td><%=userRole%></td><td><a
href="/wso2registry/system/removeUserFromRole?user=<%=userDetailsAction.getUserName()%>&role=<%=userRole%>"><img
src="/wso2registry/admin/images/icon-trash.gif" border="0" /></a></td></tr>
+ <% } %>
+
+ </table>
+ <h3 style="margin-top:10px;">Recent activity of
<%=userDetailsAction.getUserName()%></h3>
+
+ <table cellspacing="0" cellpadding="0" border="0"
style="width:100%">
+ <%
+ Iterator iActivity =
userDetailsAction.getUserActivity().iterator();
+ while (iActivity.hasNext()) {
+ String activity = (String)
iActivity.next();
+ %>
+ <tr><td><%=activity%></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" />
-</td>
-<td valign="top" style="padding-left:10px;padding-right:10px;">
-
-
-</td>
-</tr>
-</table>
</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