Skip to content

UI polish: penguin logo and favicon, refresh icons, wider form layout - #20

Merged
rumkit merged 3 commits into
masterfrom
ui-polish
Dec 1, 2026
Merged

rumkit merged 3 commits into
masterfrom
ui-polish

Conversation

@rumkit

@rumkit rumkit commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

What

  • Penguin logo (inline SVG, colours from CSS classes, follows light/dark) in the header and on the login page.
  • Favicon: /assets/logo.svg (own prefers-color-scheme rules), /assets/favicon-32.png fallback, and a public GET /favicon.ico so the browser's default request is not redirected to login.
  • Double-arrow refresh icon on "Check all now", per-card "Check now" and the target page "Check now" (hx-sync attributes from Target page: refresh state every 10 s, Check now without reload #18 kept).
  • Responsive form layout: target form in exactly two columns on wide screens, settings fieldsets side by side, Telegram/Email cards side by side with the queue below; one column on phones. main max-width is now 72rem.
  • Checkbox labels with <code> now wrap as normal text (label text in a <span>).
  • Tests for the new assets, content types and /favicon.ico; docs in docs/dashboard.md and assets/README.md.

Not included / follow-up

#19 (notify-polish) is merged and rebased in: the secret-state line and Clear buttons are styled for the new notifications grid.

Checked locally: fmt, clippy, 454 tests, and screenshots at 1920 and 390 px (light and dark).

🤖 Generated with Claude Code

rumkit and others added 2 commits December 1, 2026 19:54
- Penguin logo in the header and on the login page (inline SVG, colours
  from CSS classes so it follows light/dark).
- SVG favicon with prefers-color-scheme rules, a 32 px PNG fallback, and a
  public GET /favicon.ico so the browser's default request is not
  redirected to the login page.
- Double-arrow refresh icon on the Check now buttons.
- Responsive form grid: target form in two columns, settings fieldsets
  side by side, Telegram and Email cards side by side; one column on phones.
  main max-width is now 72rem.
- Docs and tests for the new assets and /favicon.ico.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…sses

- SVG responses get 'default-src none; style-src unsafe-inline' so the
  favicon's internal prefers-color-scheme style is not blocked by the page CSP.
- Logo shapes live in templates/logo_shapes.html, included by base and login.
- Remove unused lg-bg / lg-n classes.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@rumkit
rumkit merged commit 962a09c into master Dec 1, 2026
5 checks passed
@rumkit
rumkit deleted the ui-polish branch December 3, 2026 20:30
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