On Mon, Jul 28, 2014 at 11:26 AM, Jared Bownds <[email protected]>
wrote:

> Next, how do we implement the desired error feedback outlined below?
>
>    - Visually distinguish tickets resolved as 'Signed' by either slightly
>    changing the color of the description body, or add a draft style 'SIGNED'
>    watermark to the right and left side of the description body.
>
>
The following works for me:

1. Install ContextChromePlugin:
http://trac-hacks.org/wiki/ContextChromePlugin#TikcetcolorbyType
2. Add site.html to your Environment templates directory:
http://trac.edgewall.org/wiki/TracInterfaceCustomization#SiteAppearance
(the first code snippet in that section is what you want to copy to
site.html)
3. Add site.css to your Environment htdocs directory.
4. Add the following to site.css as a test case:
body.resolution_is_signed { background-color: #f5deb3; /* wheat */    }
5. Enabled ContextChromePlugin:
[components]
contextchrome.style.typeclasstoticket = enabled

Now you can add whatever CSS rules you want using the selector
body.resolution_is_signed. For example, you could use any of the background
properties: http://www.w3schools.com/css/css_background.asp

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to