Giter Club home page Giter Club logo

material-theme-plugin's Introduction

A Material Theme plugin for Jenkins.

Build Status Gitter Changelog Jenkins Plugin Jenkins Plugin Installs

Description

This a port of Afonso F's Jenkins material theme (http://afonsof.com/jenkins-material-theme/) to use Theme Manager plugin (https://github.com/jenkinsci/theme-manager-plugin#configuring-the-plugin). This should allow Jenkins administrators to easily switch themes and allow users to select their own theme.

Screenshots

'Red':

Screenshot jenkins-material-red main

'Indigo':

Screenshot jenkins-material-red main

'Grey':

Screenshot jenkins-material-red main

'Light Blue':

Screenshot jenkins-material-red main

Installation

To install this theme search for 'Material theme' in your Jenkins update center.

Configuration

Go to the "Configure System" page, search for 'Built-in Themes' and select 'Material - Indigo' or 'Material - Red'

Or with the configuration-as-code plugin:

unclassified:
  themeManager:
    disableUserThemes: true
    theme: "material-indigo" # or 'material-red' or 'material-grey' or 'material-light-blue' 

Running (development)

To build and run this plugin you should only need to run:

mvn clean hpi:run

Development tools

Here is a list of the tools (and versions) I have in my development enviornment - outside of those handeled in the pom.xml. Java 11 Maven 3.5

Releasing

To release a new version of this plugin, please follow these steps: https://www.jenkins.io/doc/developer/publishing/releasing/

Disclaimer

I am not a front-end web or Java developer. The CCS in the project has mostly been copied from http://afonsof.com/jenkins-material-theme/. The Java in this project has modified from the dark theme plugin (https://github.com/jenkinsci/dark-theme-plugin).

Future work

  • Add the ability for users to define custom theme pallets.
  • Need to add tests to check:
    • That when a theme is loaded through the UI, that the correct theme is loaded.

Thanks to

material-theme-plugin's People

Contributors

bhartshorn avatar dependabot[bot] avatar jetersen avatar jonesbusy avatar markewaite avatar offa avatar pyguy2 avatar timbrown5 avatar timja avatar tkensiski avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.