2p2r / velobs_web

Application web permettant aux cyclistes de signaler les problèmes sur les aménagements cyclables.
GNU General Public License v3.0
22 stars 14 forks source link

add new statuses, more colors and a way to deactivate a status #197

Closed gerald2545 closed 5 years ago

gerald2545 commented 5 years ago

in the admin interface > Observations > Status : allow to add new statuses, to deactivate a status and allow to choose more than 4 base colors

gerald2545 commented 5 years ago

to add a color for a status : add a new icon in resources\icon filled with the desired color, be aware that the name must be composed with "shadowHover" + color name + ".png", e.g. shadowHovergreen.png add a color in array predefinedColorsForStatus (key.js.template), e.g. [['Vert','green'],xxxx], the color must be the same as written in the icon name

gerald2545 commented 5 years ago