Dynamically merge CSSes into a single one
authorMagnus Hagander <magnus@hagander.net>
Sat, 28 Dec 2013 16:22:36 +0000 (17:22 +0100)
committerMagnus Hagander <magnus@hagander.net>
Sat, 28 Dec 2013 16:24:47 +0000 (17:24 +0100)
commit6dfd884f16c7c852d8f6dd6b904371c57f8903f5
treed6b16852e98debe98d8fd3a788a189053f2ce133
parentcd7c7449c865bc4aab25ecc157589ed50d1b6079
Dynamically merge CSSes into a single one

This will make CSS downloading a single request, instead of making
6-7 requests for each page as it is now. It also moves all the definitions
of URLs for CSS into the templates and not in the raw CSS itself, which
will make it possible to enable client side caching in the future.

Fixes #91
media/css/docs.css
pgweb/core/views.py
pgweb/urls.py
templates/base/base.html
templates/docs/docspage.html