wiki:ContextChromePlugin

Version 3 (modified by matobaa, 2 years ago) (diff)

--

Add context-aware css attribute

Description

  1. Tikcet color by Type ... Set css-class to type on ticket. You can design for each type of ticket with trac:wiki:CookBook/SiteStyleCss feature.
  2. 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 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

[13414] by matobaa on 2013-10-15 13:43:24
ContextChromePlugin: fix a bug for new ticket page added on [13404].
[13413] by matobaa on 2013-10-12 03:55:09
ContextChromePlugin: fix a bug for CORS - Cross Origin Resource Sharing
refs #6827
[13405] by matobaa on 2013-10-05 01:15:36
ContextChromePlugin.TypeClassToTicket: Support for TagsPlugin.

Author/Contributors

Author: matobaa?
Maintainer: matobaa?
Contributors:

Attachments (5)

Download all attachments as: .zip