Commit Graph

15 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
c72d7cefd1 New CSS base for the PostgreSQL website.
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
2018-04-16 15:06:42 -04:00
fb8ab1c4c5 Remove duplicate closing of </style>
Noted by Peter Eisentraut
2017-04-14 21:37:50 +02:00
d7957a214d Fix font adjustment for double-code embedding
Add additional CSS injection to prevent code tag embedded in code tag
from having its font size adjusted twice.

Discussion: https://postgr.es/m/20170408015201.GA18573@momjian.us
2017-04-14 20:45:12 +02:00
41e1b3b1b2 Import jquery and jquery-ui
We need these for autocomplete in the admin interface, to come shortly.
2016-06-23 17:59:45 +02:00
e495cae03c Replace locally-hosted jQuery with CDN-hosted version. 2014-03-15 14:35:59 +00:00
92d2b72c15 Add filters to feature matrix.
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.
2014-03-13 15:26:19 +00:00
78c698c180 Remove links to smaller/normal text size
This functionality is already implemented in browsers, there is no need
for us to have our own implementation.
2014-02-09 13:58:34 +01: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
ac612423f5 Synchronize documentation stylesheet changes to the new layout
Thom Brown
2011-06-15 12:27:14 +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