Commit Graph

7 Commits

Author SHA1 Message Date
9256e2f00d New base HTML for PostgreSQL.org
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
2018-04-17 13:43:04 -04:00
6f96c14452 Override some CSS classes from django-admin in the markdown previews
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.
2013-02-12 17:57:34 +01:00
e897b7a6a4 Detect HTML in markdown submission forms
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
2012-06-05 11:36:43 +02:00
bb30e59c56 Link to markdown specification for markdown fields 2011-08-17 20:02:10 +02:00
6ab39b4eb7 Add markdown previews for generic forms in the site as well, not
just the admin site.
2009-09-18 15:40:20 +02:00
e808d4cdb3 Add (working) previewing of markdown fields in the admin interface. 2009-09-18 10:18:41 +02:00
90b758c247 A first very basic import.
Contains basic functionality, and an import of most of the static content
from the old site.

There is still plenty more to do...
2009-09-14 14:39:25 +02:00