Author: chanaka
Date: Mon Feb  4 09:26:13 2008
New Revision: 13245

Log:

usability, look and feel improvements

Modified:
   trunk/registry/modules/webapps/src/main/webapp/admin/css/main.css
   trunk/registry/modules/webapps/src/main/webapp/admin/images/header-back.jpg
   trunk/registry/modules/webapps/src/main/webapp/admin/js/common.js
   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   Mon Feb 
 4 09:26:13 2008
@@ -10,7 +10,7 @@
 background-image:url(../images/header-back.jpg);
 background-repeat:repeat-x;
 background-position:0px 0px;
-
+background-color:#fff0b6;
 }
 .leftColoumSizer{
 width:65%;
@@ -689,4 +689,15 @@
 font-size:13px;
 *position:absolute;
 *right:400px;
+}
+#propertiesAddDiv{
+padding-left:10px;
+}
+.propertiesCol{
+height:35px;
+}
+.small-text-box{
+width:100px;
+height:12px;
+font-size:10px;
 }
\ No newline at end of file

Modified: 
trunk/registry/modules/webapps/src/main/webapp/admin/images/header-back.jpg
==============================================================================
Binary files. No diff available.

Modified: trunk/registry/modules/webapps/src/main/webapp/admin/js/common.js
==============================================================================
--- trunk/registry/modules/webapps/src/main/webapp/admin/js/common.js   
(original)
+++ trunk/registry/modules/webapps/src/main/webapp/admin/js/common.js   Mon Feb 
 4 09:26:13 2008
@@ -306,7 +306,7 @@
             } else {
                 prepareLoginBox();
                 loginProgress();
-                window.location = "/wso2registry/web";
+                window.location.reload(false);
             }
         },
         onFailure: function(){}
@@ -374,6 +374,7 @@
         var tag = document.getElementById('tfTag').value;
         new Ajax.Updater('cloude-text', '/wso2registry/system/applyTag', { 
method: 'post', parameters: {resourcePath: resourcePath, tag: tag} });
         document.getElementById('tfTag').value = "";
+        showHideCommon('tagAddTable');
     }
 }
 

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 Feb  4 09:26:13 2008
@@ -174,11 +174,11 @@
                 <% } %>
 
                </td>
-               <td>
-            <div id="propertiesAddDiv" style="display:none; 
padding-left:10px;"><form>
-                               <input type="hidden" id="propRPath" 
value="<%=details.getPath()%>"/>
-                               Name: <input type="text" id="propName"/> Value: 
<input type="text" id="propValue"/>
-                               <input type="button" class="button" value="Add" 
onclick="setProperty();showHideCommon('propertiesAddDiv');"/>
+               <td class="propertiesCol">
+            <div id="propertiesAddDiv" style="display:none;"><form>
+                               <input type="hidden" id="propRPath" 
value="<%=details.getPath()%>"  />
+                               Name: <input type="text" id="propName" 
class="small-text-box" /> Value: <input type="text" id="propValue" 
class="small-text-box" />
+                               <input type="button" class="button" value="Add" 
onclick="setProperty();showHideCommon('propertiesAddDiv');" />
                        </form>
                 </div>
             </td>
@@ -529,7 +529,7 @@
             <table cellpadding="0" cellspacing="0" border="0" 
class="toolBarTable">
                     <tr>
                         <td>
-                        <% if (details.isLoggedIn() && 
!details.isVersionView()) { %><a href="#" 
onclick="showHideCommon('tagAddTable');expandIfNot('comments');"><img 
src="/wso2registry/admin/images/universal-add.gif" border="0" valign="top" 
title="Add New Tag" /></a><% } %>
+                        <% if (details.isLoggedIn() && 
!details.isVersionView()) { %><a href="#" 
onclick="showHideCommon('tagAddTable');expandIfNot('tag');"><img 
src="/wso2registry/admin/images/universal-add.gif" border="0" valign="top" 
title="Add New Tag" /></a><% } %>
                         </td>
                         
                         <td>
@@ -568,7 +568,7 @@
         <tr>
             <td>
                 <input id="tfPath" type="hidden" name="resourcePath" 
value="<%=details.getPath()%>"/>
-                <input id="tfTag" type="text" name="tag" 
onkeypress="applyTag(event)"/>
+                <input id="tfTag" type="text" name="tag" 
onkeypress="applyTag(event);"/>
             </td>
 
         </tr>
@@ -622,7 +622,7 @@
         <h3>Add Comment</h3>
         <form>
             <textarea id="comment" name="comment" class="comment-textbox" 
style="width:99%"></textarea>
-            <div style="margin-top:10px;"><input type="button" class="button" 
value="Add" onclick="addComment('<%=details.getPath()%>');" /> <input 
type="button" class="button" value="Cancel" 
onclick="showHideCommon('add-comment-div');" /></div>
+            <div style="margin-top:10px;"><input type="button" class="button" 
value="Add" 
onclick="addComment('<%=details.getPath()%>');showHideCommon('add-comment-div');"
 /> <input type="button" class="button" value="Cancel" 
onclick="showHideCommon('add-comment-div');" /></div>
         </form>
     </div>
     <!-- END add comment box -->

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

Reply via email to