On Sat, 4 May 2013 22:41:26 +0200
Stephan Beal <sgb...@googlemail.com> wrote:

> On Sat, May 4, 2013 at 9:41 PM, Stephan Beal <sgb...@googlemail.com> wrote:
> 
> > But i couldn't resist adding this quick hack:
> >
> > http://fossil-scm.org/index.html/info/c5ea75133a
> >
> 
> Okay, okay, Richard, you convinced me to take a break from work and do
> something more interesting...
> 
> Screenshot: http://wanderinghorse.net/tmp/fossil-activity-commits.png
> (It's so small b/c i had to zoom out to get the whole list in the
> screenshot)
> 
> Commit: http://fossil-scm.org/index.html/info/495bf1ea8d
> 
> Notes/caveats:
> 
> - Requires some new CSS in order to be useful (it'll be really ugly without
> this (or equivalent)):
> 
> .activity-graph-line {
>   background-color: #446979;
> }
> .activity-table-commits-by-month th {
>   padding: 0 1em 0 1em;
> }
> .activity-table-commits-by-month td {
>   padding: 0.1em 1em 0.1em 1em;
> }
> tr.row0 {
>   background: #fff;
> }
> tr.row1 {
>   background-color: #dadada;
> }
> 
> - Year/month links open up the timeline view for that particular month.
> 
> - i'm not terribly happy with the page's name ("/activity"), but nothing
> else comes to mind at the moment.
> 
> - There are no links to it anywhere - those would have to be added
> somewhere once we settle on a name. i wanted to use "/timeline/activity"
> but the page dispatching mechanism doesn't directly support sub-paths like
> that.
> 
> Comments/criticisms/etc. are welcomed.

You can use javascript library Raphael (MIT Licence, similar to BSD) to draw 
svg graphics. It's 221KB uncompressed, 31KB gzipped and is HTML4-safe.

http://raphaeljs.com/

Other drawing js libraries needs a HTML5 capable browser, but IE<=8 aren't.

HTH

> -- 
> ----- stephan beal
> http://wanderinghorse.net/home/stephan/
> http://gplus.to/sgbeal


---   ---
Eduardo Morras <emorr...@yahoo.es>
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to