The base HTML structure enables the responsiveness for the
website. In addition to the primary base template, the generic
page and form templates are also modernized.
Authors: Sarah Conway <sarah.conway@crunchydata.com> and me
This also adds Bootstrap, Font Awesome to the codebase with license info.
Bootstrap and Font Awesome are CSS and font frameworks respectively
that ease modern web development.
The new CSS allows the PostgreSQL.org website to be responsive
based on browser window size as well as provide a modern look
and feel.
The redesign is built on top off the Bootstrap and Font Awesome
CSS and font frameworks respectively.
Authors: Sarah Conway <sarah.conway@crunchydata.com> and me
As the feature matrix is useful for seeing how far PostgreSQL has come, we
still want to keep older versions on display. However, this is causing
problems displaying the newer versions on smaller screens.
This change adds a filter which only shows supported versions by default,
and allows folk to choose which versions they wish to compare. This will
have no effect on browsers with Javascript disabled.
We don't want to use django style headlines and margins in the preview,
we want something that looks a bit more like the main site. It's not
going to be exact (e.g. the colors will still be wrong), but it will
be a lot closer than without this.
This will do simple html detection based on trivial regexps. If HTML is found,
it will replace it with HTML_REMOVED and also show a warning (in red color,
no less) that this is not permitted.
The actual filtering is still done server-side later, so the fact that these
regexps are trickable if you really want to doesn't matter...
Fixes#164