Author: chanaka
Date: Tue Dec  4 00:22:09 2007
New Revision: 10469

Log:

comment box added

Modified:
   trunk/registry/modules/webapps/src/main/webapp/admin/css/main.css
   trunk/registry/modules/webapps/src/main/webapp/admin/registry-resources.jsp

Modified: trunk/registry/modules/webapps/src/main/webapp/admin/css/main.css
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/css/main.css   
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/css/main.css   Tue Dec 
 4 00:22:09 2007
@@ -46,6 +46,10 @@
 margin-top:20px;
 padding:0px;
 }
+h3{
+margin:0px;
+padding:0px;
+}
 .headding1{
 font-size:12px;
 font-weight:bold;
@@ -331,4 +335,20 @@
 padding-left:10px;
 padding-top:10px;
 padding-bottom:10px;
+}
+/* Comment styles */
+.comments-header{
+padding-left:5px;
+padding-top:3px;
+padding-bottom:3px;
+background-color:#EDEDD1;
+border:solid 1px #c6c6c6;
+margin-top:10px;
+}
+.comments-bottom{
+border-left:solid 1px #c6c6c6;
+border-right:solid 1px #c6c6c6;
+border-bottom:solid 1px #c6c6c6;
+background-color:#ffffff;
+padding:5px;
 }
\ No newline at end of file

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 
Tue Dec  4 00:22:09 2007
@@ -134,7 +134,9 @@
         </table>
     </form>
 </div>
-<!-- Todo create the ui for the add resource form and add folder -->
+
+
+
 <table cellpadding="0" cellspacing="0" border="0" style="width:100%" 
class="data-table">
     <tr>
         <th></th>
@@ -175,6 +177,42 @@
 </table>
 
 <% } %>
+<!-- Listing Comments -->
+
+<h2>Comments</h2>
+
+<!-- START comment box -->
+       <div class="comments-header">
+               <h3>Comment Headding 1</h3>
+               <strong>Added:</strong>21/12/2007 - 12:30 <strong>By:</strong> 
<a href="#">Chanaka</a>
+       </div>
+       <div class="comments-bottom">
+               Comment content goes here..,, ,,,
+       </div>
+<!-- END comment box -->
+
+<a href="#" class="add-comment" onclick="showHide('add-comment-div')">Add 
Comment</a>
+
+<!-- START add comment box -->
+       <div id="add-comment-div">
+               <table cellpadding="0" cellspacing="0" border="0" 
class="form-table">
+                       <tr>
+                               <td style="width:150px;" valign="top">Comment 
Title</td>
+                               <td><input type="text" /></td>
+                       </tr>
+                       <tr>
+                               <td valign="top">Comment</td>
+                               <td><textarea>test</textarea></td>
+                       </tr>
+                       <tr>
+                               <td valign="top"></td>
+                               <td><input type="submit" class="button" 
value="Add" /> <input type="submit" class="button" value="Cancel" /></td>
+                       </tr>
+               </table>
+               
+               
+       </div>
+<!-- END add comment box -->
 
 <h2>Permisions</h2>
 <jsp:include page="permisions.jsp" />

_______________________________________________
Registry-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/registry-dev

Reply via email to