Version 4 (modified by 12 years ago) (diff) | ,
---|
Contents
Add context-aware css attribute
Description
- Ticket color by Type ... Set css-class to type on ticket. You can design for each type of ticket with trac:wiki:CookBook/SiteStyleCss feature.
- Decayed Wiki ... Indicate how old the wiki page is. You can specify colors by age in seconds at trac.ini.
Bugs/Feature Requests
Existing bugs and feature requests for ContextChromePlugin are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from [download:contextchromeplugin here].
Source
You can check out ContextChromePlugin from here using Subversion, or browse the source with Trac.
Example
example trac.ini:
[components] contextchrome.style.typeclasstoticket = enabled decayed.wiki.decayedwiki = enabled
Decayed Wiki
example trac.ini:
[wiki] decay_colors = 86400:#ffffff, 604800:#eeeeee, 2678400:#dddddd, 31536000:#aaaaaa, 2147483647: #777777
background of wiki pages are colored by age, white for modified in a day, light grey for in a week, and so on.
Tikcet color by Type
example style.css:
body.defect { background-color: #f5deb3; /* wheat */ } body.enhancement { background-color: #87ceeb; /* sky blue */ } body.task { background-color: #ffd700; /* gold */ }
Recent Changes
- 17546 by matobaa on 2019-10-19 10:34:22
-
ContextChromePlugin: cosmetic changes
- 17535 by matobaa on 2019-10-01 16:21:17
-
ContextChromePlugin: support Trac 1.4+ by Jinja2 template
- 16959 by matobaa on 2017-11-06 03:17:17
-
Fixes #13317; a bug of TracLinksPlugin, by ContextChromePlugin
(more)
Author/Contributors
Attachments (5)
- TypeClassToTicket.png (47.0 KB) - added by 12 years ago.
- linkdeco.png (28.7 KB) - added by 11 years ago.
- newpage.png (20.6 KB) - added by 11 years ago.
- TracTicketValidator.png (21.4 KB) - added by 11 years ago.
- cors.png (53.8 KB) - added by 11 years ago.
Download all attachments as: .zip