Hi Ryan,

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)

Response:  Is this the code I want to add in *site.html* contained within
my environments template directory?


*site.html*

<html xmlns="http://www.w3.org/1999/xhtml";


      xmlns:py="http://genshi.edgewall.org/";


      py:strip="">

   <!--! Add site-specific style sheet -->


  <head py:match="head" py:attrs="select('@*')">


    ${select('*|comment()|text()')}


    <link rel="stylesheet" type="text/css"


          href="${href.chrome('site/style.css')}" />


  </head>


  <body py:match="body" py:attrs="select('@*')">


    <!--! Add site-specific header -->

    <div id="siteheader">


      <!--! Place your header content here... -->

    </div>

     ${select('*|text()')}


    <!--! Add site-specific footer -->

    <div id="sitefooter">


      <!--! Place your footer content here... -->

    </div>

  </body>

</html>



4. Add the following to site.css as a test case:
body.resolution_is_signed { background-color: #f5deb3; /* wheat */    }

Response:  I've done this, and also tried variations such as
*body.resolution_is_closed* and I am not seeing the desired results, with
any color background i.e. #0000FF



On Mon, Jul 28, 2014 at 12:00 PM, Ryan Ollos <rjol...@gmail.com> wrote:

> On Mon, Jul 28, 2014 at 11:26 AM, Jared Bownds <jared.bow...@gmail.com>
> 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 a topic in the
> Google Groups "Trac Users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/trac-users/1GNDHTObQKg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> trac-users+unsubscr...@googlegroups.com.
> To post to this group, send email to trac-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.
>



-- 

Jared Bownds

c. 916-224-2324
e. Jared.Bownds@g <jared.bow...@gmail.com>mail.com

-- 
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 trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
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