Change TeamCity background color

I have set up a TeamCity test system where we safely can try out new things. Since we do a lot by using the REST API it seems to be a good idea to separate it from the "production" TeamCity installation.

Is there any customization possible for the look and feel? I would like to change the background color so that it can be easily realized that it is the TeamCity test system and not the productive one

4 comments
Comment actions Permalink

Hi Ernesto,

You can use Static UI Extension plugin. It can inject static HTML content into various places around TeamCity UI.
We have the related request https://youtrack.jetbrains.com/issue/TW-9187, pelase vote for it.

0
Comment actions Permalink

Hi Ernesto,

not sure if this option will suit you, but you can do this directly in the browser using for instance Firefox and Greasemonkey. Define a user script based on the URL's of the test and prod system:

// Prod
document.body.style.border = "20px solid red";

// Test
document.body.style.border = "20px solid green";


This puts a big colored border around the page. The advantage is that it works for every web-based application, the drawback is that it's a local setting.

Olivier

0
Comment actions Permalink

I voted for that issue now.

0
Comment actions Permalink

Thank you.

I am using now that addon with this configuration:

<rule place-id="ALL_PAGES_HEADER" js-file="allPagesHeader.js"/>



document.addEventListener('DOMContentLoaded', function() {
    var style = "50px solid green";
    document.body.style.borderLeft = style;
    document.body.style.borderRight = style;
}, false);

0

Please sign in to leave a comment.