cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tomek...@apache.org
Subject svn commit: r1072036 - in /cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui: browser/ common/ resources/
Date Fri, 18 Feb 2011 16:06:42 GMT
Author: tomekopo
Date: Fri Feb 18 16:06:41 2011
New Revision: 1072036

URL: http://svn.apache.org/viewvc?rev=1072036&view=rev
Log:
- Added left padding for sidebar links;
- Adjusted style for 'Sign out' link;
- Fixed cursor for all links;
- Fixed width of the 'Sign out' block (user could sign out by clicking anywhere on the top
bar);

Modified:
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
    cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml?rev=1072036&r1=1072035&r2=1072036&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/NavigationSidebarView.ui.xml
Fri Feb 18 16:06:41 2011
@@ -36,7 +36,7 @@
 
          <g:HTMLPanel>
                 <g:Label styleName='{res.css.sidebarHeader}'>Tasks</g:Label>
-                <g:Hyperlink ui:field="manageSubscriptionsHyperlink" styleName='{res.css.sidebarItem}'>
+                <g:Hyperlink  ui:field="manageSubscriptionsHyperlink" styleName='{res.css.sidebarItem}'>
                     Manage endpoints
                 </g:Hyperlink>
                 <g:Label styleName='{res.css.sidebarHeader}'>Endpoints</g:Label>

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java?rev=1072036&r1=1072035&r2=1072036&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/browser/SelectableTable.java
Fri Feb 18 16:06:41 2011
@@ -129,6 +129,7 @@ public class SelectableTable<T> extends 
             for (int j = 0; j < columnDefinitions.size(); j++) {
                 ColumnDefinition<T> columnDefinition = columnDefinitions.get(j);
                 table.setText(i, j, columnDefinition.getContent(entry));
+                table.getCellFormatter().addStyleName(i, j, resources.css().selectableTableRow());
             }
         }
 

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml?rev=1072036&r1=1072035&r2=1072036&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/common/NavigationHeaderView.ui.xml
Fri Feb 18 16:06:41 2011
@@ -19,20 +19,23 @@
   -->
 
 <ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'
-	xmlns:g='urn:import:com.google.gwt.user.client.ui'>
+             xmlns:g='urn:import:com.google.gwt.user.client.ui'>
 
-<g:HTMLPanel>
-   <table>
-    <tbody>
-       <tr >
-          <td align="right">
-            <g:Hyperlink ui:field="signOutHyperlink">
-               Sign out
-            </g:Hyperlink>
-          </td>
-       </tr>
-    </tbody>
-   </table>
-</g:HTMLPanel>
+   <ui:with field='res'
+            type='org.apache.cxf.management.web.browser.client.ui.resources.LogBrowserResources'/>
+
+   <g:HTMLPanel>
+      <table>
+         <tbody>
+            <tr>
+               <td align="right">
+                  <g:Hyperlink ui:field="signOutHyperlink" styleName='{res.css.topbarLink}'>
+                     Sign out
+                  </g:Hyperlink>
+               </td>
+            </tr>
+         </tbody>
+      </table>
+   </g:HTMLPanel>
 
 </ui:UiBinder>
\ No newline at end of file

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java?rev=1072036&r1=1072035&r2=1072036&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/LogBrowserCss.java
Fri Feb 18 16:06:41 2011
@@ -56,6 +56,10 @@ public interface LogBrowserCss extends C
     String sidebarItem();
     String sidebarHeader();
 
+    String topbarLink();
+
+    String selectableTableRow();
+
     /* Settings tab styles */
     String settingsTabHeader();
     String settingsTabBackButton();

Modified: cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css?rev=1072036&r1=1072035&r2=1072036&view=diff
==============================================================================
--- cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
(original)
+++ cxf/trunk/rt/management-web/src/main/java/org/apache/cxf/management/web/browser/client/ui/resources/logbrowser.css
Fri Feb 18 16:06:41 2011
@@ -1,3 +1,21 @@
+a {
+   cursor: pointer;
+}
+
+.topbarLink {
+   width: 5em;
+}
+
+.topbarLink > a {
+   color:#00C;
+   text-decoration: underline;
+   padding-top: 2px;
+   padding-right: 10px;
+}
+
+.selectableTableRow {
+   cursor: pointer;
+}
 
 .navigationSidebarSlot > div {
     position: absolute !important;
@@ -147,8 +165,6 @@
 .browserTabToolBar {
     border-left: 1px solid #999;
     border-bottom: 1px solid #999;
-    cursor: pointer;
-    cursor: hand;
 }
 
 .browserTabEntryTableHeaders {
@@ -183,6 +199,8 @@
 .sidebarItem {
    margin-top: 2px;
    margin-bottom: 5px;
+   padding-left:10px;
+   white-space:nowrap;
 }
 
 .sidebarHeader {
@@ -195,6 +213,7 @@
    border-width:1px;
    margin-top: 10px;
    margin-bottom: 5px;
+   white-space:nowrap;
 }
 
 .browserTabSubscriptionsSideBar {



Mime
View raw message