INSTALL: Update the database configuration instructions

That's the "new" (django 1.5+) way of defining databases, strictly
following the instructions wasn't working. This should save the next
user a bit of time.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
INSTALL: Sprinkle a few UTF-8 in the mysql documentation

When not specifying the charset/collation, I managed to create a latin1
database where all strings were encoded in latin1. That's really not
ideal. Adding 'CHARACTER SET utf8' when creating the DB fixes it. Then:

$ ./manage.py syncdb

will correctly create tables with UTF-8 encoded rows.

However, for some reason, when django creates the test tables, that
default, DB wide, encoding is not respected and one needs to provide an
additional TEST_CHARSET entry in the config dictionary.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
HACKING: Add some documentation about using virtualenv with patchwork

virtualenv is super nice to isolate devevelopment from the python
packages installed in the sytem. It also allows to have parallel
configurations to run tests againsts.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
docs: Add requirements.txt for django 1.5/MySQL

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
docs: Add requirements.txt for django 1.6/MySQL

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
docs: Add requirements.txt for django 1.7/MySQL

Note: a lot of tests fail due to the removal of the long deprecated
AUTH_PROFILE_MODULE.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
settings: Make sure to use a tuple for TEMPLATE_DIRS

Django 1.7 has added a check to make sure TEMPLATE_DIRS is a tuple. We
were missing a ',', the key piece to define a tuple with one element.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
jquery: Fix jqeury typo

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
templates: Pull jquery into base.html

Bootstrap needs jquery for its own JS facilities, so include it on every
page.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
htdocs: Add bootstrap

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
template: Add bootstrap to the base template

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
urls: Expose the fonts directy for bootstrap's glyphicons

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
list: Replace the 16-arrow* icons by glyphicons

They look more modern.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
sytle.css: Remove the body selector, letting bootstrap's shine through

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
style.css: Move the global <a> styling at the top

Otherwise we can properly have a generic <a> styling that gets
specialized as needed.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
templates: Redesign the title bar

Let's use HTML5 <nav> and bootstrap navigation facilities for this.

Among the nice things that bootstrap brings to the table, the navigation
bar is now mobile friendly: it will collapse when either, being
displayed on a mobile device or when the screen isn't wide enough, to
show the various items in a togglable menu. This can be tested by
resizing the browser to have a width < 768px.

This commit is just about layout changes, keeping the exact same
information displayed on the page.

This is based on work from Belén Barros Peña, but transposed to
bootstrap.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
templates: Redesign the breadcrumbs bar

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
templates: Move "About" at the bottom of the page

This is part of the steps needed to make the "nav" bar into a pure
breadcrumb trail. It's quite usual these days to have "about" style
links at the bottom of pages.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Belén Barros Peña <belen.barros.pena@intel.com>
templates: Remove extraneous blank line at the end of base.html

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
base: Move the project info into the navigation bar

The goal is still to have a proper breadcrumb bar. One more little step
towards it.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>