You are not logged in.
Pages: 1
Topic closed
I am using glpi 0.83 and project 1.3.0. I've set the project status colors to custom colors, but the gantt chart shows different colors (dark blues) as the background for the project names instead of the custom colors based on status. The dark blue colors make it very difficult to read.
Is there somewhere else that colors need to be changed, or is the image generation not picking up the colors from the database? I can't seem to find anywhere in the database or in the source files where the dark blue colors for in progress (dark) and in planning (darker) are defined.
Is this a bug, or can I fix it by defining the colors in the appropriate place... and if I can fix it, where?
Thanks!
Offline
go on Setup / dropdowns / project / task or project states and add an Associated color (#CCCCCC)
Xavier Caillaud
Blog GLPI Infotel
Offline
I've set the project status colors to custom colors
I've done that... the colors in the listings show up correctly. The colors in the gantt chart are still blue.
Here is the table from the database:
mysql> select * from glpi_plugin_projet_projetstates;
+----+-------------+---------+------------+------+
| id | name | comment | color | type |
+----+-------------+---------+------------+------+
| 2 | In Planning | | lightblue | 0 |
| 12 | Completed | | cyan | 1 |
| 22 | In Progress | | lightgreen | 0 |
| 32 | On Hold | | pink | 0 |
| 42 | Pending | | red | 0 |
+----+-------------+---------+------------+------+
5 rows in set (0.00 sec)
mysql> select * from glpi_plugin_projet_taskstates;
+----+-------------+---------+------------+----------------+--------------+
| id | name | comment | color | for_dependency | for_planning |
+----+-------------+---------+------------+----------------+--------------+
| 2 | Pending | | red | 0 | 0 |
| 12 | In Progress | | lightgreen | 0 | 0 |
| 22 | In Planning | | lightblue | 0 | 0 |
| 32 | On Hold | | Pink | 0 | 0 |
| 42 | Completed | | cyan | 0 | 1 |
+----+-------------+---------+------------+----------------+--------------+
5 rows in set (0.00 sec)
Last edited by entr04y (2012-06-21 18:14:18)
Offline
and if you use a hexadecimal code like #CCCCCC ?
Xavier Caillaud
Blog GLPI Infotel
Offline
Using the hex code was the key... thanks for your help!
Offline
Pages: 1
Topic closed