Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordmills2013-02-27 10:07:39 -0500
committerdmills2013-02-27 10:07:39 -0500
commit4ba3f62e51d09ae2c211fc72276260fda79b4cd6 (patch)
treea1685e208cd4f8f82f5b2965f0b88db8f3ce54bd
parente3bb0bea318be4790254787ea374b19a055475d6 (diff)
downloadorg.eclipse.hudson.core-4ba3f62e51d09ae2c211fc72276260fda79b4cd6.tar.gz
org.eclipse.hudson.core-4ba3f62e51d09ae2c211fc72276260fda79b4cd6.tar.xz
org.eclipse.hudson.core-4ba3f62e51d09ae2c211fc72276260fda79b4cd6.zip
added powered by Hudson OSS banner in page footer
-rw-r--r--hudson-core/src/main/resources/lib/layout/layout.jelly16
-rw-r--r--hudson-core/src/main/resources/lib/layout/layout.properties5
-rw-r--r--hudson-war/src/main/webapp/css/style.css42
3 files changed, 53 insertions, 10 deletions
diff --git a/hudson-core/src/main/resources/lib/layout/layout.jelly b/hudson-core/src/main/resources/lib/layout/layout.jelly
index 046d1bdf..687a585a 100644
--- a/hudson-core/src/main/resources/lib/layout/layout.jelly
+++ b/hudson-core/src/main/resources/lib/layout/layout.jelly
@@ -178,8 +178,8 @@
<td colspan="2">
<table cellpadding="2" cellspacing="3" width="100%" border="0">
<tr>
- <td style="vertical-align: middle; text-align: center;">
- Hudson Dev 1
+ <td class="instanceTagHeader">
+ <!-- For future use -->
</td>
<td style="vertical-align: middle; text-align: right; padding-right: 1em;">
<!-- search box -->
@@ -298,8 +298,16 @@
<tr>
<table width="100%">
+ <tr class="poweredByBand">
+ <td class="poweredByText" colspan="3">
+ ${%poweredBy}
+ </td>
+ </tr>
<tr>
- <td class="footer">
+ <td d="footer-left-panel" class="footer">
+ <!-- For future use -->
+ </td>
+ <td id="footer-center-panel" class="footer">
<j:out value="${app.privacyMessage}"/>
</td>
<td id="footer-right-panel" class="footer">
@@ -307,7 +315,7 @@
${%Page generated}:
<i:formatDate value="${h.getCurrentTime()}" type="both" dateStyle="medium" timeStyle="medium"/>
</span>
- <a href="http://hudson-ci.org/">Hudson ver. ${h.version}</a>
+ <a href="http://hudson-ci.org/">Hudson: ${h.version}</a>
</td>
</tr>
</table>
diff --git a/hudson-core/src/main/resources/lib/layout/layout.properties b/hudson-core/src/main/resources/lib/layout/layout.properties
index 3ae37ed6..6a26091e 100644
--- a/hudson-core/src/main/resources/lib/layout/layout.properties
+++ b/hudson-core/src/main/resources/lib/layout/layout.properties
@@ -1,6 +1,6 @@
#**************************************************************************
#
-# Copyright (c) 2004-2009 Oracle Corporation
+# Copyright (c) 2004-2013 Oracle Corporation
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
@@ -9,10 +9,11 @@
#
# Contributors:
#
-# Kohsuke Kawaguchi, Seiji Sogabe
+# Kohsuke Kawaguchi, Seiji Sogabe, Duncan Mills
#
#
#**************************************************************************
searchBox.url=http://wiki.hudson-ci.org/display/HUDSON/Search+Box
logout=log out
+poweredBy=Powered by Hudson Open Source Continuous Integration Server from the Eclipse Foundation
diff --git a/hudson-war/src/main/webapp/css/style.css b/hudson-war/src/main/webapp/css/style.css
index 4bf879a0..b06c42b4 100644
--- a/hudson-war/src/main/webapp/css/style.css
+++ b/hudson-war/src/main/webapp/css/style.css
@@ -98,6 +98,14 @@ dt {
color: white;
}
+.instanceTagHeader{
+ vertical-align: middle;
+ text-align: left;
+ font-size:18pt;
+ color:white;
+ padding-left:20px;
+}
+
#main-panel-rounded-corner{
width:25px;
height:25px;
@@ -121,24 +129,50 @@ dt {
}
+.poweredByBand{
+ background: #b69cc5; /* Old browsers */
+ background: -moz-linear-gradient(top, #b69cc5 0%, #b094c1 50%, #7d769a 100%); /* FF3.6+ */
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b69cc5), color-stop(50%,#b094c1), color-stop(100%,#7d769a)); /* Chrome,Safari4+ */
+ background: -webkit-linear-gradient(top, #b69cc5 0%,#b094c1 50%,#7d769a 100%); /* Chrome10+,Safari5.1+ */
+ background: -o-linear-gradient(top, #b69cc5 0%,#b094c1 50%,#7d769a 100%); /* Opera 11.10+ */
+ background: -ms-linear-gradient(top, #b69cc5 0%,#b094c1 50%,#7d769a 100%); /* IE10+ */
+ background: linear-gradient(to bottom, #b69cc5 0%,#b094c1 50%,#7d769a 100%); /* W3C */
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#b69cc5', endColorstr='#7d769a',GradientType=0 ); /* IE6-9 */
+}
+
+.poweredByText{
+ font-size: 10pt;
+ color:white;
+ text-align:center;
+ padding:6px 0px 8px 0px;
+}
+
.footer {
font-size: 8pt;
- margin-top: 10em;
+ margin-top: 8em;
padding: 10px;
- border-top: 1px solid #d4bde6;
color: #a58fb5;
- text-align: left;
}
.footer a {
color: #a58fb5;
}
+
+#footer-left-panel {
+ text-align: left;
+ width:25%;
+}
+
#footer-right-panel {
text-align: right;
+ width:25%;
}
-
+#footer-center-panel{
+ text-align: center;
+ width:50%;
+}
#tasks {
padding: 4px;

Back to the top