summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshawn.f.cook2011-10-18 12:20:56 (EDT)
committerRoberto E. Escobar2011-10-18 12:20:56 (EDT)
commit97e45cf6fa1ece1c20559756dd205df5a4679c74 (patch)
tree607d6b1b9161eaa7b698ef288caeefb7d503617e
parent586ccdb0c7647860db429bf505b4f4182b07e253 (diff)
downloadorg.eclipse.osee-97e45cf6fa1ece1c20559756dd205df5a4679c74.zip
org.eclipse.osee-97e45cf6fa1ece1c20559756dd205df5a4679c74.tar.gz
org.eclipse.osee-97e45cf6fa1ece1c20559756dd205df5a4679c74.tar.bz2
feature[ats_265Q7]: Change color and text in osee web footer
-rw-r--r--plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/OseeFooter.java23
-rw-r--r--plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css3
2 files changed, 12 insertions, 14 deletions
diff --git a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/OseeFooter.java b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/OseeFooter.java
index da79e844..3d6dbb1 100644
--- a/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/OseeFooter.java
+++ b/plugins/org.eclipse.osee.display.view.web/src/org/eclipse/osee/display/view/web/OseeFooter.java
@@ -1,10 +1,10 @@
package org.eclipse.osee.display.view.web;
+import com.vaadin.ui.HorizontalLayout;
import com.vaadin.ui.Label;
-import com.vaadin.ui.VerticalLayout;
@SuppressWarnings("serial")
-public class OseeFooter extends VerticalLayout {
+public class OseeFooter extends HorizontalLayout {
private boolean populated;
@@ -18,23 +18,22 @@ public class OseeFooter extends VerticalLayout {
return;
}
- // Label ll = new Label("Add Navigation Links Here");
- // ll.setWidth(null);
- // addComponent(ll);
- // setComponentAlignment(ll, Alignment.MIDDLE_CENTER);
- //
Label summary = new Label(getApplicationInfo());
addComponent(summary);
populated = true;
+
+ this.setStyleName(CssConstants.OSEE_FOOTER_BAR);
+ this.setWidth(100, UNITS_PERCENTAGE);
+ this.setHeight(null);
}
public String getApplicationInfo() {
StringBuilder builder = new StringBuilder();
- String productName = getProductName();
- if (productName != null) {
- builder.append(productName);
- builder.append(", ");
- }
+ // String productName = getProductName();
+ // if (productName != null) {
+ // builder.append(productName);
+ // builder.append(", ");
+ // }
builder.append("Version: ");
builder.append(getApplication().getVersion());
return builder.toString();
diff --git a/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css b/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css
index db15c4a..18377d8 100644
--- a/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css
+++ b/plugins/org.eclipse.osee.vaadin.themes/src/VAADIN/themes/osee/styles.css
@@ -61,11 +61,10 @@
.osee-footer-bar {
height: 300px;
- background: black repeat-x;
+ background: #333333 repeat-x;
background-image: url(img/bg.png);
color: #d1d3d6;
text-shadow: rgba(0, 0, 0, .9) 0 1px 0;
- padding: 5px 10px;
}
.osee-product-summary {