Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Frost2012-12-18 11:25:18 -0500
committerChristopher Frost2012-12-18 11:25:18 -0500
commit4246bee1aff1e18ac2918e21266d258568b384b2 (patch)
treeacf34146385dd0b1500c599b78d0930fdb314bb0
parent378bcb4fa5912a042af518bb407258f7100aa6bc (diff)
downloadorg.eclipse.virgo.kernel-4246bee1aff1e18ac2918e21266d258568b384b2.tar.gz
org.eclipse.virgo.kernel-4246bee1aff1e18ac2918e21266d258568b384b2.tar.xz
org.eclipse.virgo.kernel-4246bee1aff1e18ac2918e21266d258568b384b2.zip
Adding EE support :)
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/images/logo-hat-holly.pngbin0 -> 30872 bytes
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/js/common.js8
-rw-r--r--org.eclipse.virgo.management.console/src/main/webapp/styles/common.css2
3 files changed, 8 insertions, 2 deletions
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/images/logo-hat-holly.png b/org.eclipse.virgo.management.console/src/main/webapp/images/logo-hat-holly.png
new file mode 100644
index 00000000..84b783c7
--- /dev/null
+++ b/org.eclipse.virgo.management.console/src/main/webapp/images/logo-hat-holly.png
Binary files differ
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
index 367fcffe..bc97b0f9 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
+++ b/org.eclipse.virgo.management.console/src/main/webapp/js/common.js
@@ -18,6 +18,14 @@ $(document).ready(function() {
util.start();
v_servers = new Servers();
v_servers.loadServers();
+
+ var today = new Date();
+ if(today.getMonth() == 11 || (today.getMonth() == 0 && today.getDate() <= 5)){
+ $('#site-name').css({'background': 'url("' + util.getHostAndAdminPath() + '/resources/images/logo-hat-holly.png") no-repeat scroll center center transparent'});
+ $('#site-name').css({'height': '150px'});
+ $('#site-name').css({'width': '361px'});
+ }
+
pageinit();
});
diff --git a/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css b/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
index 260f3b9e..d52fc34a 100644
--- a/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
+++ b/org.eclipse.virgo.management.console/src/main/webapp/styles/common.css
@@ -32,13 +32,11 @@ body {
#header {
background: #fff url(../images/header-right.png) no-repeat scroll right top;
width: 100%;
- height: 100px;
}
#name-and-company {
background: transparent url(../images/header-left.png) no-repeat top left;
width: 100%;
- height: 100px;
top: 0px;
left: 0px;
}

Back to the top