9 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
9239d2c627 Migrate from Cheetah to Django template system
Compiled templates are an unnecessary pain in maintance and
packaging. If each module is to bring its own templates, compiling
them in the build process becomes unnecessarily more complex. The
current state of template mess can somewhat be attributed to this.

Cheetah only partially supports dynamic templates. It does not support
inheritence of dynamic templates. From its documentation: "There is no
support for extending from a class that is not imported; e.g., from a
template dynamically created from a string. Since the most practical
way to get a parent template into a module is to precompile it, all
parent templates essentially have to be precompiled."
2014-05-04 16:01:17 +05:30
Sunil Mohan Adapa
2079b3639a Dont use exec for importing templates 2014-04-05 14:52:51 +09:00
Nick Daly
2af1617f51 Set the template's basehref from cfg.server_dir.
Previously, the cfg.base_href variable was never set (it's not even in
the sample.config file!).  Now, Plinth uses the specified root
directory (from the *--server_dir* argument) in each URL reference.
2013-10-31 19:36:35 -05:00
Nick Daly
f55c7a48ea Merged with James's upstream.
Hope I did it right.  If I screwed up, withsqlite is borked.
2013-04-23 17:49:22 -05:00
Sean O'Brien
5685d3f387 fixes to boostrap, new icons, mobile view works 2012-03-12 14:39:32 -04:00
James Vasile
1f72739447 base href defaults to blank 2012-02-19 15:07:15 -05:00
James Vasile
02baab57a0 mkdir 2012-02-19 15:07:14 -05:00
James Vasile
00a310a209 added default title of '' 2011-03-09 11:28:31 -05:00
James Vasile
35071d7212 ... 2011-02-22 13:32:45 -05:00