Hashar has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/197910

Change subject: Customize Jenkins top left icon
......................................................................

Customize Jenkins top left icon

Since we can not reliably change an img src attribute, shrink the image
to 0px and use a padding that will show the background image for the
element.  Rather hacky but works reliably.

The stylesheet jenkins-wmf.css is injected in <head> by a plugin. Url
can be changed in Jenkins settings.

Change-Id: I183b191b3560d85b2da58697fbde8c6f8d2565bc
---
A org/wikimedia/integration/jenkins-wmf.css
1 file changed, 4 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/integration/docroot 
refs/changes/10/197910/1

diff --git a/org/wikimedia/integration/jenkins-wmf.css 
b/org/wikimedia/integration/jenkins-wmf.css
new file mode 100644
index 0000000..6fbbe0b
--- /dev/null
+++ b/org/wikimedia/integration/jenkins-wmf.css
@@ -0,0 +1,4 @@
+#jenkins-head-icon {
+       width:0px; height:0px; padding:19px;
+       background-image: 
url('//upload.wikimedia.org/wikipedia/commons/thumb/8/81/Wikimedia-logo.svg/37px-Wikimedia-logo.svg.png');
+}

-- 
To view, visit https://gerrit.wikimedia.org/r/197910
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I183b191b3560d85b2da58697fbde8c6f8d2565bc
Gerrit-PatchSet: 1
Gerrit-Project: integration/docroot
Gerrit-Branch: master
Gerrit-Owner: Hashar <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to