Skip to content

dashboard: adopt PyData Sphinx Theme palette + logo, matching docs - #70184

Merged
dwoz merged 1 commit into
saltstack:masterfrom
dwoz:dwoz/dashboard-pst-theme
Aug 29, 2026
Merged

dashboard: adopt PyData Sphinx Theme palette + logo, matching docs#70184
dwoz merged 1 commit into
saltstack:masterfrom
dwoz:dwoz/dashboard-pst-theme

Conversation

@dwoz

@dwoz dwoz commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

What

Rethemes the salt-nightlies visibility page so it looks like the rest of the Salt Project sites (saltproject.io, docs.saltproject.io, install-guide — all pydata-sphinx-theme or its Hugo port).

Touches only `.github/scripts/generate_nightly_dashboard.py` (the generator that publish-nightly-release.yml invokes) plus a new PNG asset. The next successful publish cycle regenerates `gh-pages/index.html` on saltstack/salt-nightlies with the new theme.

Changes

  • Embed `SaltProject_altlogo_teal.png` as a base64 data URI, sourced from `salt-install-guide/docs/_static/img/` (identical asset to the docs sites).
  • Add a top navbar with logo + links to Home / Install Guide / Docs / Nightlies (active) / GitHub.
  • Swap the CSS palette to PST tokens: primary teal `#0a7d91`, link-hover purple `#8045e5`, success `#28a745`, danger `#d72d47`, warning `#9a6700`, background `#fff`, borders `#d1d5da`.
  • Switch to PST system-UI + ui-monospace font stacks.
  • Add a footer with the "Updated …" timestamp and repo link.

Fully self-contained — no CDN CSS/JS added — so the page keeps rendering on GHE / air-gapped mirrors byte-for-byte.

Test plan

  • Regenerated locally against the live gh-pages `history.json` (17 entries) — no regression in table structure, expand-on-click still works.
  • Headless-chromium screenshot confirms navbar + palette match the intended PST look.
  • `pre-commit run --files .github/scripts/generate_nightly_dashboard.py` passes.
  • After merge, mirror workflow propagates to salt-nightlies; next publish-nightly-release regenerates the gh-pages dashboard with the new theme.

Aligns the salt-nightlies visibility page
(https://saltstack.github.io/salt-nightlies) with the visual language
used across saltproject.io, docs.saltproject.io, and the install guide
(all pydata-sphinx-theme or its Hugo port).

Changes to .github/scripts/generate_nightly_dashboard.py:

- Embed SaltProject_altlogo_teal.png as a base64 data URI, sourced from
  the salt-install-guide _static/img/ set (identical to docs sites).
- Add a top navbar with logo + links to saltproject.io / install-guide
  / docs / GitHub, with the current page marked active.
- Swap the CSS palette to PST tokens: primary teal #0a7d91,
  link-hover purple #8045e5, success #28a745, danger #d72d47,
  warning #9a6700, background #fff, borders #d1d5da.
- Switch fonts to the PST system-UI + ui-monospace stacks.
- Add a footer with the "Updated ..." timestamp and repo link.

Zero external dependencies: no CDN CSS/JS, everything (logo + styles)
is self-contained in the generated index.html so the page renders on
enterprise GHE / air-gapped mirrors identically.

Rendered locally against the live gh-pages history.json — no regression
in table structure and the expand-on-click detail rows still work.
@dwoz
dwoz requested a review from a team as a code owner August 29, 2026 02:12
@dwoz
dwoz merged commit 5456549 into saltstack:master Aug 29, 2026
9 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