Commit Graph

153 Commits

Author SHA1 Message Date
1d78793add Remove inline script from debian/ubuntu download page 2019-01-05 13:15:58 +01:00
25860344de Remove inline styles from feature matrix generator.
This moves the HTML code generated for the filters into the Django
template, instead of the JavaScript portion.
2018-12-22 11:35:31 -05:00
48db40f71e Get rid of all inline styles
Some of these should be replaced with proper responsive tables for
example at some point, but this is a quick-fix.
2018-12-21 14:14:24 +01:00
d258d66481 Move admin custom css over to separate css file instead of inline 2018-12-21 14:14:24 +01:00
b5e5c2970a Move google analytics and scrolling code into main.js
This moves the remaining inline javascript out of the base templates
2018-12-21 14:14:03 +01:00
436fcf837a Move scripts from admin changeform to their own JS file
Could be made more efficient by combining some files, but tihs is just
the /admin/ interface so not used very often.
2018-12-20 17:18:11 +01:00
c622ecd02a Move javascript for forms into separate JS file
In passing also clean up a few things that can be passed directly in the
template instead, and simplify things now that we have jquery all the
time.
2018-12-20 17:18:11 +01:00
a33bc4630b Move debian/ubuntu downloads javascript into main.js 2018-12-20 17:18:11 +01:00
6ee5d9c58d Move featurematrix javascript into a separate script file 2018-12-20 17:18:11 +01:00
5f8ca8d672 Add PostgreSQL 11 Server Side Programming Quick Start Guide book 2018-12-03 10:00:32 +00:00
f710814f35 Add new book. 2018-11-20 13:44:55 +00:00
34dffd674c Remove padding from inline documentation elements.
In some situations, this would make it look like some directives
required spaces (e.g. .pgpass file set up), which would be incorrect.

Reported By: Vik Fearing
2018-10-22 12:52:22 +01:00
69476ee578 Allow for blue section headers for tables in older documentation.
Some of the loaded documentation uses "<b>" tags instead of "<p>"
tags, so this accounts for those documents.
2018-10-16 20:16:29 -04:00
d25c8bfe0f Make section headers for tables in documentation more clear.
Ensure the section headers for tables in the documentation are both
blue and bold.
2018-10-16 20:01:55 -04:00
0938dba4b8 Fix text on CTA buttons.
The anchor tag updates were overriding the font color on the CTA buttons. This
ensures that they should not be overriden.

Author: Sarah Conway
2018-10-16 10:35:47 -04:00
a2f47aedcb Ensure all navigation URLs match top nav colors.
This should create more consistency for the navigation experience.
2018-10-16 10:20:37 -04:00
6679835174 Apply modern pgweb styles to web-based documentation.
This patch brings the web-based documentation to match the current styles
on the main postgresql.org website. The CSS supports the generated markup
from the main PostgreSQL documentation and supports the new/old class
that are visible in the documentation (e.g. uppercase classes pre-v10).

Authors: Sarah Conway, Jonathan Katz
2018-10-16 09:40:52 -04:00
35405bb886 Modify preformatted block / code styles.
Based on feedback, this should help readability.

Author: Sarah Conway
2018-10-16 09:40:52 -04:00
e0efdc6707 Apply padding to shoutbox for larger screen sizes.
Prior to this, there was limited padding on the shoutbox and it would look
smushed.

Author: Sarah Conway
2018-10-16 09:40:52 -04:00
068578f524 Updated color of anchor tags in body of site.
This should allow more distinction between main content and clickable
URLs.

Authors: Sarah Conway, Jonathan Katz
2018-10-16 09:40:52 -04:00
65bd64db5c Change global site font color.
This should make the text crisper and easier to read on the entire site.

Author: Sarah Conway
2018-10-16 09:40:52 -04:00
b1187f1185 Update font and style for headers.
The global headers by default were uppercase and at times were challenging to
read. This modification sets the font to be the same throughout the entire site,
and allows the text author to decide whether or not content should be
capitalized.

Author: Sarah Conway
2018-10-16 09:40:51 -04:00
15480483a7 Added "PostgreSQL for Beginners" book. 2018-07-02 19:13:24 -04:00
1279f7a295 Band-aid formatting on events listing page
Since we allow markdown, we need to somewhat constrain what it looks
like on the site, so we don't end up with events that have headlines
that are bigger than the actual page headlines.

We can probably do something cleaner for this, but this will do as a
start.
2018-06-14 16:31:40 +02:00
e695b9909f Relax the linespacing on messages in archives. 2018-06-11 16:44:08 -04:00
1a53b2f784 Decrease spacing between paragraphs in message content view in archives.
This should make it both easier to read and scroll through the text.
2018-06-11 15:24:15 -04:00
0a4979e31d Preserve whitespace and newlines in messages in the archive.
This will help with readability of code segments and match what
people see in their email clients.
2018-06-11 14:35:12 -04:00
b47c801958 Added "Practical SQL" book to books list. 2018-06-07 15:57:31 -04:00
a01e20616a Fix a typo that causes inconsistent line heights in the archives.
A typo caused the h3.messages class to be larger than the h1.subject class that
was apparent when reading the archives. This makes both the CSS valid as well
as brings a better user experience.
2018-06-03 13:45:38 -04:00
f13fc8ae9b Remove "Shaded" URLs for clicked links site wide. 2018-06-03 13:32:35 -04:00
b0333ec417 Add "PostgreSQL 10 Administration Cookbook" 2018-05-31 15:55:42 -04:00
fdb1f607d2 Add PostgreSQL 10 High Performance book 2018-05-09 13:09:38 +01:00
a0c3faacf4 Fix spacing between content and navigation in archives code. 2018-05-02 15:34:04 -04:00
1e84557d40 Refactor the navigation bar for desktop, tablet, and mobile.
Specifically, the navigation bar now shrinks in height on scroll
and when on devices smaller than 768px. Additionally, the search
box disappears at the 1280px break point to avoid text wrapping.
A JavaScript file was added (main.js) to apply the "compressed"
class when scrolling, which is what provides the menu shrinking.
2018-04-25 14:01:04 -07:00
f007d006d0 Add a new PostGIS book. 2018-04-25 11:19:09 +01:00
f235a2ffd3 Use Bootstrap's default for line height.
This will help to bring more content "above-the-fold" and in
particular help with the scrollability of pages that tend to have
much more content, e.g. mail archives.
2018-04-21 20:09:02 -04:00
66a4175236 Remove padding from month/tread view tables in archives.
This will help improve "information density" available on a given
page.
2018-04-21 18:03:38 -04:00
b3be5dcf00 Adjust color of <strong> tags to help them stand out more. 2018-04-21 12:25:14 -04:00
36b5579824 Change colors for visited links.
This changes the color for visited links to be a darker blue shade
in order to make it easier to distinguish between visited/unvisited
URLs.
2018-04-21 12:16:15 -04:00
9db89d6c39 CSS changes related to mailing list message view fix.
The CSS will help with the mobile scrolling / viewport wrapping
of text.
2018-04-20 20:18:29 -04:00
839ab0637c Add View Archives button to mailing lists box 2018-04-20 14:30:36 -04:00
974e332e6f CSS changes to go with pgarchives changes for easier scrolling 2018-04-18 23:17:47 -04:00
8ee383b614 Add CSS styles for pgarchives changes.
This is because there is some shared infrastructure between the
two apps.
2018-04-18 16:21:10 -04:00
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
88e3c9d4d9 Added more books to /docs/books/
Information collected by Sarah Conway <sarah.conway@crunchydata.com>
2018-03-18 11:17:31 -04:00
fd2295ebf5 Add a top margin on the newstag
The newstag label was sitting close on the textblock, add a bit of
top-margin to create separation.

Reviewed by: Magnus Hagander <magnus@hagander.net>
2018-02-08 21:57:42 +01:00
0cb56d9355 Database:ify the list of security patches
This finally moves the patches into the db, which makes it a lot easier
to filter patches in the views.

It also adds the new way of categorising patches, which is assigning
them a CVSSv3 score.

For now, there are no public views to this, and the old static pages
remain. This is so we can backfill all existing security patches before
we make it public.
2018-01-25 21:59:13 +01:00
04debdf5ed Update for new edition of book 2017-12-15 19:06:10 +01:00
2c8faa5db4 Avoid spans overlapping each other when there are many tags 2017-12-13 21:30:25 +01:00