I have a question regarding conditionally setting the color of a table row. What I'm trying to do is similar to this post:
https://groups.google.com/forum/#!topic/web2py/gy01S0TwF70 I guess my lack of experience is keeping me from making the leap from that scenario to my own. My situation is that I have a JSON object that's returned from a REST API call, rather than a db query. That object that has a field called "entry_type" and "entry_color". I'm trying to use that to format the table in my view but i can't figure out if i should edit the CSS to set the color based on the "entry_type" or maybe simply do something in the view to pull the color form the JSON. It feels like this should be a CSS thing but I'm not sure where and how to edit the web2py CSS files appropriately. Thanks for any tips! lsc -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

