e35a6e7c73
Put jenkins_master into jenkins::master and jenkins_job_builder into jenkins::job_builder and jenkins_slave into jenkins::slave. Change-Id: Icb0e3071894730c17d8f36f49e9d34979d9c568e Reviewed-on: https://review.openstack.org/11249 Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
23 lines
811 B
Plaintext
23 lines
811 B
Plaintext
function makeDoubleDelegate(function1, function2) {
|
|
return function() {
|
|
if (function1)
|
|
function1();
|
|
if (function2)
|
|
function2();
|
|
}
|
|
}
|
|
|
|
function chgeLogo() {
|
|
var imgs=document.getElementsByTagName("img");
|
|
var imgTag = document.createElement("img");
|
|
imgTag.setAttribute("src","https://<%= vhost_name %>/plugin/simple-theme-plugin/title.png");
|
|
imgTag.setAttribute("style", "vertical-align: middle;padding-left: 0.75em;");
|
|
imgs[0].parentNode.appendChild(imgTag);
|
|
var spanTag = document.createElement("span");
|
|
spanTag.id="heading_text";
|
|
spanTag.innerHTML="Jenkins CI";
|
|
imgs[0].parentNode.appendChild(spanTag);
|
|
}
|
|
|
|
window.onload = makeDoubleDelegate(window.onload, chgeLogo);
|