I know that I could write my own page to do this, instead of over-relying on the admin; but before I do that, I'd like to be sure there's no easy way to get the admin to do this.
If you look at the usual "poll" app from the tutorial:
I'd like the row whose question text is "blue" to be colored blue, and the row whose text is "red" to be colored red. In general, I'd like to write a bit of code somewhere that
- gets the value of the question column
- uses that as the key to a table, to get (say) a hex code for color
- somehow applies that color to the row
Is this easily doable?