[Registry-dev] svn commit r9896 - in
trunk/registry/modules/webapps/src/main/webapp/admin: css tiles
svn at wso2.org
svn at wso2.org
Mon Nov 19 01:35:57 PST 2007
Author: prasad
Date: Mon Nov 19 01:35:49 2007
New Revision: 9896
Modified:
trunk/registry/modules/webapps/src/main/webapp/admin/css/styles.css
trunk/registry/modules/webapps/src/main/webapp/admin/tiles/resource_detail.jsp
Log:
Changed Assign permissions section.
Modified: trunk/registry/modules/webapps/src/main/webapp/admin/css/styles.css
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/css/styles.css (original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/css/styles.css Mon Nov 19 01:35:49 2007
@@ -213,6 +213,19 @@
}
+.tblPermission td{
+ border:1px solid #E1E1E1;
+}
+
+.tblPermission th{
+border:1px solid #E1E1E1;
+ background-color:#E8E8E8;
+ font-size:8pt;
+ font-weight:bold;
+ color:#000000;
+
+}
+
.link-cloud{
margin-left:25px;
Modified: trunk/registry/modules/webapps/src/main/webapp/admin/tiles/resource_detail.jsp
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/tiles/resource_detail.jsp (original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/tiles/resource_detail.jsp Mon Nov 19 01:35:49 2007
@@ -2,6 +2,7 @@
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
+
<div class="heading">
<s:if test="parentPath=='root'"><a href="Resources.action?path=/">Browse Registry root</a></s:if>
<s:else><a href="Resources.action?path=<s:property value="parentPath"/>">Go to parent collection</a></s:else>
@@ -36,7 +37,7 @@
</tr>
</table>
- </div>
+ </div>
</div>
<br/>
@@ -120,23 +121,71 @@
<div class="detail-section">
<s:form action="Authorization.action" theme="simple" method="post">
<s:hidden name="pathToAuthorize" value="%{path}"/>
- User <s:select label="Select Day"
+
+ <%--list="#{'01':'Chathura','02':'Asankha','03':'Deepal','04':'Ruwan','05':'Chanaka','06':'Amila'}"/><br/>--%>
+ <img src="images/blank.gif" width="10" height="10" />
+
+ <table width="100%" border="0" cellpadding="5" cellspacing="0" bgcolor="#ECECEC">
+ <tr>
+ <td colspan="3"><strong>Add Permission</strong></td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+ <tr>
+ <td width="50">User</td>
+ <td width="150"><s:select label="Select Day"
name="userToAuthorize"
headerKey="1"
headerValue="-- Please Select --"
- list="userNames"/><br/>
- <%--list="#{'01':'Chathura','02':'Asankha','03':'Deepal','04':'Ruwan','05':'Chanaka','06':'Amila'}"/><br/>--%>
- <img src="images/blank.gif" width="10" height="10" />
- <table width="300" border="0" cellspacing="0" cellpadding="2">
- <tr>
- <td width="50%" nowrap><s:checkbox name="get"/> Get</td>
- <td nowrap><s:checkbox name="put" /> Put</td>
- </tr>
- <tr>
- <td nowrap><s:checkbox name="authorize" /> Change permissions</td>
- <td nowrap><s:checkbox name="delete" /> Delete</td>
- </tr>
- </table>
+ list="userNames"/><br/></td>
+ <td width="50" align="right">Action</td>
+ <td width="150"><select name="select">
+ </select></td>
+ <td width="75" nowrap><input name="radiobutton" type="radio" value="radiobutton">
+ Allow</td>
+ <td width="75" nowrap><input name="radiobutton" type="radio" value="radiobutton">
+ Deny</td>
+ <td align="right"><input type="button" name="Button" value="Apply"></td>
+ </tr>
+</table><br>
+<table width="100%" class="tblPermission" border="0" cellpadding="3" cellspacing="0">
+ <tr >
+ <th rowspan="2" align="left" >User Name </th>
+ <th colspan="2" align="center">Read</th>
+ <th colspan="2" align="center">Write</th>
+ <th colspan="2" align="center">Delete</th>
+ </tr>
+ <tr>
+ <th align="center">Allow</th>
+ <th align="center">Deny</th>
+ <th align="center">Allow</th>
+ <th align="center">Deny</th>
+ <th align="center">Allow</th>
+ <th align="center">Deny</th>
+ </tr>
+ <tr>
+ <td> </td>
+ <td width="100"> </td>
+ <td width="100"> </td>
+ <td width="100"> </td>
+ <td width="100"> </td>
+ <td width="100"> </td>
+ <td width="100"> </td>
+ </tr>
+ <tr>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ <td> </td>
+ </tr>
+</table>
+
+
<img src="images/blank.gif" width="10" height="12" /><br/>
<s:submit value="Grant Permissions" />
More information about the Registry-dev
mailing list