Mantis bug coloring for Bugzilla

Makes any Bugzilla-based bugtracker bearable to use

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

You will need to install an extension such as Tampermonkey to install this script.

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name        Mantis bug coloring for Bugzilla
// @author      Swyter
// @description Makes any Bugzilla-based bugtracker bearable to use
// @namespace   userscripts.org/user/swyter
// @include     *://bugzilla.*/buglist.cgi*
// @version     2019.02.09
// @grant       GM_addStyle
// @run-at      document-start
// ==/UserScript==

GM_addStyle
(`
  .bz_NEW              { background-color: #fcbdbd; } /* swy: i.e. new              */
  .bz_FEEDBACK         { background-color: #e3b7eb; } /* swy: i.e. feedback         */
  .bz_RELEASED_TO_TEST { background-color: #ffcd85; } /* swy: i.e. released to test */
  .bz_CONFIRMED        { background-color: #fff494; } /* swy: i.e. confirmed        */
  .bz_ASSIGNED         { background-color: #c2dfff; } /* swy: i.e. assigned         */
  .bz_RESOLVED         { background-color: #d2f5b0; } /* swy: i.e. resolved         */
  .bz_CLOSED           { background-color: #c9ccc4; } /* swy: i.e. closed           */
`);