Skip to content

Modernize the UI - #476

Merged
Mariatta merged 1 commit into
python:mainfrom
Mariatta:modernize-styling
Oct 22, 2026
Merged

Mariatta merged 1 commit into
python:mainfrom
Mariatta:modernize-styling

Conversation

@Mariatta

Copy link
Copy Markdown
Member

The pages were built on Bootstrap 4.1 with jQuery and a 2018 social-buttons stylesheet, with inline form rows that cramp the labels against the inputs and stretch the textarea across the whole screen.

This moves to Bootstrap 5.3.3, still on the Bootswatch Pulse theme, loaded from jsDelivr with integrity hashes. jQuery, Popper and bootstrap-social.css are gone; Font Awesome 4 stays for the GitHub and wrench icons.

  • The header is a navbar that collapses to a toggler on small screens.
  • The add_blurb form sits in a card, with labels above full-width inputs in a two-column grid that stacks on phones.
  • The landing, install, howto and error pages share one centred layout.
  • The 14px base font size is dropped in favour of the Bootstrap default.

The form's field names, ids, patterns and option values are unchanged, so the handler receives exactly the same data. The error page keeps its plain <h1> for the middleware tests.

Screenshots

Landing page:

Landing page with the navbar and sign-in button

The add_blurb form:

The add_blurb form in a card with stacked labels

Howto page:

The howto page

Move from Bootstrap 4.1 with jQuery and the social-buttons stylesheet
to Bootstrap 5.3 with the Bootswatch Pulse theme, pinned on jsDelivr
with integrity hashes. The header becomes a navbar that collapses on
small screens, the add_blurb form sits in a card with labels stacked
above full-width inputs in a two-column grid, and the landing, install,
howto and error pages share the same centred layout. The 14px base
font size is dropped in favour of the Bootstrap default.
@Mariatta
Mariatta merged commit a96c1e9 into python:main Oct 22, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant