adop-jenkins icon indicating copy to clipboard operation
adop-jenkins copied to clipboard

Add a pretty theme as default

Open john-pw opened this issue 7 years ago • 2 comments

just a case of adding the simple theme plugin; curling a theme into the $jenkins_home/userContent/. and setting the url string ni the jenkins system config to /userContent/<theme .css>

would also be nice for optional theme for visually impaired users

john-pw avatar Oct 07 '16 13:10 john-pw

As we already have this "Jenkins Simple Theme Plugin" in Jenkins, we just need to find/add a way how to add it on initialization stage, may be something like via "Environment Variables":

jenkins:
  container_name: jenkins
  restart: always
  image: accenture/adop-jenkins:0.2.0
  ...
  environment:
    ADOP_PLATFORM_MANAGEMENT_VERSION: "0.1.1"
    JENKINS_SIMPLE_THEME_MATERIAL_CSS: "http://afonsof.com/jenkins-material-theme/dist/material-green.css"
    JENKINS_SIMPLE_THEME_MATERIAL_LOGO: "https://avatars3.githubusercontent.com/u/10454368?v=3&s=200"

I think it's can be implemented easily, what do you think guys @nickdgriffin @SachinKSingh28 ?

anton-kasperovich avatar Oct 07 '16 13:10 anton-kasperovich

really the url should be local not remote. if the url is remote then its requested from the remote site by your browser. Security concerns aside this adds unnecessary latency.

note : its seems if you set it up as local then it doesn't skin the login page

john-pw avatar Oct 07 '16 13:10 john-pw