Alec Thomas wrote:
This is an ideal time to mention the themes section at Trac Hacks:

    http://trac-hacks.org/wiki/theme

There is only one theme there at the moment, but it's a good example of
what can be done with a small amount of CSS.

Trac could really do with some more themes so if anybody has anything
to contribute, I'm sure it would be greatly appreciated.

[re-sending with the right email account... apologies if this appears twice]

I've minimally modified Trac's templates and CSS to embed it in a larger site
whose header and footer are generated by Apache 2 filter scripts (and which,
incidentally, passes the output HTML through HTML Tidy so that e.g. in-<body>
style links get migrated up to their proper place in the <head> area). You can
see an example here (and on other projects on the "HepForge" site:
http://hepforge.cedar.ac.uk/hepdata/bugtrack/

While I'm not sure if anyone else would find these hacks useful, it would be
very handy if the default Trac header and footer defined a div element with a
predictable id (e.g. <div id="trac">, if that id isn't already in use) and the
CSS rules only applied to the contents of that div. I had to add something like
this by hand and then prefix all the relevant CSS rules with e.g. #trac to
ensure that the Trac CSS rules don't get applied to elements in the main site
navigation, which isn't something I want to have to do every time I update Trac!

Cheers,
Andy

--
Andy Buckley: CEDAR @ IPPP, Durham
Work: www.cedar.ac.uk
www.insectnation.org
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to