Commit Graph

2 Commits

Author SHA1 Message Date
Darragh Bailey
366bd87c67 Switch plugin version menu to div and style by JS (#1540)
Replace the select options for the plugin versions with one managed
purely using div tags and style primarily using JavaScript so the entire
menu can be managed from loading from a single script.

Retain a simple base style in the generated css file to facilitate
switching themes.
2022-08-13 09:02:57 +01:00
Darragh Bailey
442ef24e64 Make switcher JavaScript unparsed and reduce elements (#1539)
Avoid the need to parse the main version switching menu creation and
handling code by moving the site constants to a separate file.

Additionally move more of the element construction into the JavaScript
code to make it closer to a web component and facilitate more control by
a common script to be loaded by all published versions.
2022-08-12 18:30:57 +01:00