Packaging web styles

Daniel Santa Cruz byteshack at gmail.com
Thu Jun 15 08:41:27 CDT 2006


Hello all,

While looking over templating the webinterface, I came across 2 things
that called my attention:

(1) Styles all live in /templates : Seems that this can become hairy
quickly.  Would it be possible to start "packaging" styles into
folders?  All the files for a style can then be easily managed.

(2) Seems that styles need to be placed on the installed path for
/templates.  Is this restriction really necessary?  I we do (1), then
allowing the user to indicate a path to a style would be quite nice
and handy.

Not sure what the best structure for this would be, as I notice that
there are style specific files also under /templates/static.  Maybe:

/style-name/
    map-style
    all.other.style.files
    /static

Any thoughts?


More information about the Mercurial mailing list