Mantis bug coloring for Bugzilla

Makes any Bugzilla-based bugtracker bearable to use

  1. // ==UserScript==
  2. // @name Mantis bug coloring for Bugzilla
  3. // @author Swyter
  4. // @description Makes any Bugzilla-based bugtracker bearable to use
  5. // @namespace userscripts.org/user/swyter
  6. // @include *://bugzilla.*/buglist.cgi*
  7. // @version 2019.02.09
  8. // @grant GM_addStyle
  9. // @run-at document-start
  10. // ==/UserScript==
  11.  
  12. GM_addStyle
  13. (`
  14. .bz_NEW { background-color: #fcbdbd; } /* swy: i.e. new */
  15. .bz_FEEDBACK { background-color: #e3b7eb; } /* swy: i.e. feedback */
  16. .bz_RELEASED_TO_TEST { background-color: #ffcd85; } /* swy: i.e. released to test */
  17. .bz_CONFIRMED { background-color: #fff494; } /* swy: i.e. confirmed */
  18. .bz_ASSIGNED { background-color: #c2dfff; } /* swy: i.e. assigned */
  19. .bz_RESOLVED { background-color: #d2f5b0; } /* swy: i.e. resolved */
  20. .bz_CLOSED { background-color: #c9ccc4; } /* swy: i.e. closed */
  21. `);