Author: norman
Date: Fri Jul 3 19:49:01 2009
New Revision: 791000
URL: http://svn.apache.org/viewvc?rev=791000&view=rev
Log:
More css styling
Modified:
labs/hupa/src/main/java/org/apache/hupa/client/model/ModelReturnData.java
labs/hupa/src/main/java/org/apache/hupa/client/view/MainView.java
labs/hupa/war/Hupa.css
Modified:
labs/hupa/src/main/java/org/apache/hupa/client/model/ModelReturnData.java
URL:
http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/model/ModelReturnData.java?rev=791000&r1=790999&r2=791000&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/model/ModelReturnData.java
(original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/model/ModelReturnData.java
Fri Jul 3 19:49:01 2009
@@ -1,3 +1,22 @@
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one *
+ * or more contributor license agreements. See the NOTICE file *
+ * distributed with this work for additional information *
+ * regarding copyright ownership. The ASF licenses this file *
+ * to you under the Apache License, Version 2.0 (the *
+ * "License"); you may not use this file except in compliance *
+ * with the License. You may obtain a copy of the License at *
+ * *
+ * http://www.apache.org/licenses/LICENSE-2.0 *
+ * *
+ * Unless required by applicable law or agreed to in writing, *
+ * software distributed under the License is distributed on an *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY *
+ * KIND, either express or implied. See the License for the *
+ * specific language governing permissions and limitations *
+ * under the License. *
+ ****************************************************************/
+
package org.apache.hupa.client.model;
Modified: labs/hupa/src/main/java/org/apache/hupa/client/view/MainView.java
URL:
http://svn.apache.org/viewvc/labs/hupa/src/main/java/org/apache/hupa/client/view/MainView.java?rev=791000&r1=790999&r2=791000&view=diff
==============================================================================
--- labs/hupa/src/main/java/org/apache/hupa/client/view/MainView.java (original)
+++ labs/hupa/src/main/java/org/apache/hupa/client/view/MainView.java Fri Jul
3 19:49:01 2009
@@ -127,8 +127,7 @@
navPanel.add(navigatorBar);
centerVP.add(navPanel);
- mailTable.getRowFormatter().setStyleName(0,
"hupa-Mailtable-Header");
-
+
final CheckBox headerCheckbox = new CheckBox();
headerCheckbox.addClickHandler(new ClickHandler() {
@@ -149,6 +148,13 @@
mailTable.getFlexCellFormatter().setWidth(0, 2, "500px");
mailTable.setText(0, 3, constants.mailTableDate());
mailTable.getFlexCellFormatter().setWidth(0, 3, "200px");
+
mailTable.getRowFormatter().setStyleName(0,"hupa-Mailtable-Header");
+
+
mailTable.getFlexCellFormatter().addStyleName(0,0,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(0,1,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(0,2,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(0,3,"hupa-Mailtable");
+
mailTable.addClickHandler(new ClickHandler() {
@@ -265,6 +271,10 @@
false);
mailTable.getCellFormatter().setWordWrap(rows, 3,
false);
+
mailTable.getFlexCellFormatter().addStyleName(rows,0,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(rows,1,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(rows,2,"hupa-Mailtable");
+
mailTable.getFlexCellFormatter().addStyleName(rows,3,"hupa-Mailtable");
rows++;
}
Modified: labs/hupa/war/Hupa.css
URL:
http://svn.apache.org/viewvc/labs/hupa/war/Hupa.css?rev=791000&r1=790999&r2=791000&view=diff
==============================================================================
--- labs/hupa/war/Hupa.css (original)
+++ labs/hupa/war/Hupa.css Fri Jul 3 19:49:01 2009
@@ -42,6 +42,10 @@
background-color: #E6E6FA;
}
+.hupa-Mailtable{
+ border-bottom: 1px solid silver;
+}
+
.hupa-Mailtable-Header {
background-color: #E6E6FA;
text-align: center;
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]