SpiderOak/netkes — pull request #67 by sirpengi (2014-01-02 22:14:22+00:00)
Title: Initial work on new redesign and road off of mako

Here is the initial work on getting Mako templates ported over to Django templates, as well as baseline for new style redesign.

## Mako -> Django

Goal was to make things easy to port without interfering with Ben's ability to work on the backend. To do this, I've moved the Mako templates into `mako_templates`, and modified our custom `render_to_response` function to first look for a Django template. If one is found, Django is used, otherwise we fall back to Mako. Append `?force_template=mako` or `?force_template=django` to a url to force any particular version to be used.

After everything is ported to Django templates, all we do is remove everything under `mako_templates`, and remove our custom `render_to_response` function.

Note: I'm using a context_processor to populate certain items into the Django context, so if you already have a built version you'll need to rebuild or update your `settings.py`.

## New Style

For now we're using Less and compiling in client. We'll need to work out a way to get compiled builds working. In any case, there are other issues with the styles, as the following are missing:

- icon set (standardset cannot be distributed, we either incorporate it at build time or switch to fontawesome)
- font (proximanova cannot be distributed, we either incorporate it at build time or switch to new typeface)
- spideroak logo