33 Commits

Author SHA1 Message Date
Sunil Mohan Adapa
657bb11bbc Add Django custom error handling pages for 404 and 500 errors 2014-06-12 23:20:49 +05:30
Sunil Mohan Adapa
4aeea83e46 Set title to 'FreedomBox' instead of 'FreedomBox Dashboard' 2014-06-06 20:44:34 +05:30
Sunil Mohan Adapa
b2b24146ef Remove unused JS files 2014-05-13 01:10:40 +05:30
Sunil Mohan Adapa
994199f096 Cleanup menu generation using templates 2014-05-13 01:00:38 +05:30
Sunil Mohan Adapa
218fc37e8f Remove erroneous onload javascript
If a page needs to run javascript on load, it is easy to do so by attaching 
onload handlers or by using corresponing jQuery utilities. There is no need
to mess with templating.
2014-05-12 23:51:41 +05:30
Sunil Mohan Adapa
d8441f8964 Move CSS embedded into pages to a separate file 2014-05-12 23:26:50 +05:30
Sunil Mohan Adapa
28dd1bf074 Remove bootstrap JS files and use debian package instead 2014-05-12 22:06:29 +05:30
Sunil Mohan Adapa
368e21c085 Remove bootstrap CSS files and use debian package instead
- Add depedency on libjs-twitter-bootstrap
2014-05-12 18:46:39 +05:30
Sunil Mohan Adapa
18908f72ea Make form messages dismissable 2014-05-12 12:56:42 +05:30
Sunil Mohan Adapa
ee9df9bfb7 Convert login page to Django forms 2014-05-12 12:21:55 +05:30
Sunil Mohan Adapa
fe56ef3761 Convert pagekite pages to use Django forms 2014-05-11 10:56:26 +05:30
Sunil Mohan Adapa
c50fe72587 Convert help pages to templates 2014-05-08 10:51:58 +05:30
Sunil Mohan Adapa
8e8ac77661 Convert pagekite introduction page to templates 2014-05-05 23:10:39 +05:30
Sunil Mohan Adapa
7e16b74718 Remove steps for compiling templates 2014-05-04 16:07:48 +05:30
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
288e4bb6ca Place page specific js after jquery so that jquery can be used 2014-03-23 18:50:41 +05:30
James Valleroy
b5591cb008 Fix typo in base template. 2013-11-13 20:05:44 -05:00
James Valleroy
13bbe7ea25 Merge branch 'master' of https://github.com/NickDaly/Plinth into replace-minified-js 2013-10-20 08:18:50 -04:00
Nick Daly
da7bd50a09 Corrected "Old Browser" warning: point to FireFox.
It's inappropriate for the FreedomBox project to recommend Non-Free
Software.  Therefore, we point users to the current version of FireFox
if their browser is too old.
2013-10-18 16:49:50 -05:00
James Valleroy
cf3eaa479c Remove local minimized copies of modernizr and HTML5 shiv.
Instead add link to system modernizr which includes HTML5 shiv.
Update base template to reflect this change.
2013-10-16 21:56:09 -04:00
James Valleroy
5026c63874 Remove local copy of jquery-min, and link to the system file instead. 2013-10-16 20:07:07 -04:00
Petter Reinholdtsen
63a5243e4b Fix typo making submenus fail to show up in plinth. 2013-09-07 20:30:56 +02: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
Sean O'Brien
2f5c98dd6f pushing changes to the theme before I modify modules 2012-03-12 14:39:32 -04:00
Sean O'Brien
638b287d1b new template based upon bootstrap 2012-03-12 14:39:31 -04:00
Sean O'Brien
575aeb7b98 Added HTML5-Reset code http://html5reset.org
Removed robots.txt (we have "noindex,nofollow" in the template meta tags, do we need this?)
Added meta noindex,nofollow,noarchive tags for specific robots (googlebot etc.)
Removed extraneous meta tags useful only for indexing
Removed HTML5-Reset "_" directory.  Not sure why it's useful to add an ambiguous folder to the directory tree.
Made sure no Google-y code wasn't included (analytics, remote copy of JQuery, etc.)
Fixed symbolic link docs/style.css
New favicon and iOS "web clip" button
2012-03-12 14:39:31 -04:00
James Vasile
8f5fdf624e use new logo materials 2012-02-19 16:43:49 -05:00
James Vasile
8e29876258 add base_href to templates 2012-02-19 15:07:15 -05:00
James Vasile
1fa54e3ec4 fix typo in make clean 2011-09-30 00:48:26 -04:00
James Vasile
4abdab3209 .pyc files should not be tracked in git 2011-09-29 23:20:52 -04:00
James Vasile
633d8318a4 add foundation name to freedombox.png 2011-03-09 10:03:37 -05:00
James Vasile
35071d7212 ... 2011-02-22 13:32:45 -05:00