jenkins-material-theme icon indicating copy to clipboard operation
jenkins-material-theme copied to clipboard

Icons Not Overrriden for "Dashboard View Plugin"

Open javiernaval opened this issue 8 years ago • 1 comments

I have recently linked jenkins-matherial-theme in our Jenkins, amazing job. But in our home page the weather icons aren't replaced. I've seen that is due to the "Dashboard View Plugin"

https://wiki.jenkins-ci.org/display/JENKINS/Dashboard+View

They have included the images without any 'class' in them.

<img src="/jenkins/static/90efd0f1/images/16x16/health-00to19.png" alt="Build stability: 4 out of the last 5 builds failed." title="Build stability: 4 out of the last 5 builds failed.">

My solution for this is using the same styles used to overwrite the color balls:

[src$='blue.png']

Like this:

[src$='health-80plus.png'] { background-image: url(data:image/svg+xml;base64,PHN... }

If you agree that this is the solution I can send my file with the modifications if it's from any help.

Regards

javiernaval avatar Jul 06 '16 07:07 javiernaval

Hi @javiernaval, could you create a Pull Request with these modifications?

afonsof avatar Apr 24 '17 16:04 afonsof