From 0bfea7cd93f97db96e580b37831e34a7d67ad0c3 Mon Sep 17 00:00:00 2001 From: Cedric Date: Sun, 1 Nov 2026 20:03:15 +0100 Subject: [PATCH] UI: replace Lucide icons with Papicons Swap the inline SVG icons of the web UI (top bar, view mode, time range, export, close, empty state, back to top, settings tabs, save, delete, lock) for their Papicons equivalents (MIT, Association Papillon). Papicons are filled shapes: they carry class "pi", which sets fill: currentColor and no stroke, so the stroked Lucide icons that stay (zoom out, Docker badge) are unaffected. Add THIRD_PARTY_NOTICES.md with the Papicons MIT notice and a pointer from both READMEs. Co-Authored-By: Claude Opus 5.5 (1M context) --- README.fr.md | 5 +++++ README.md | 5 +++++ THIRD_PARTY_NOTICES.md | 39 ++++++++++++++++++++++++++++++++ web/app.js | 6 ++--- web/index.html | 50 +++++++++++++++++++++--------------------- web/login.html | 4 ++-- web/style.css | 1 + 7 files changed, 80 insertions(+), 30 deletions(-) create mode 100644 THIRD_PARTY_NOTICES.md diff --git a/README.fr.md b/README.fr.md index 1a219d5..b3fe541 100644 --- a/README.fr.md +++ b/README.fr.md @@ -729,3 +729,8 @@ Pour mettre à jour l'une d'elles : Avec Docker Desktop (macOS/Windows), l'IP source vue par le conteneur pour les paquets UDP est la passerelle Docker. Le champ `host` vient toujours de l'en-tête syslog, qui porte normalement le vrai nom de l'émetteur. + +## Composants tiers + +Les icônes de l'interface viennent de [Papicons](https://github.com/PapillonApp/papicons) (MIT) et, pour quelques-unes, +de [Lucide](https://lucide.dev) (ISC). Licences et notices : [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). diff --git a/README.md b/README.md index bc85bfd..23de05a 100644 --- a/README.md +++ b/README.md @@ -671,3 +671,8 @@ To update one of them: With Docker Desktop (macOS/Windows), the source IP seen by the container for UDP packets is the Docker gateway. The `host` field still comes from the syslog header, which normally carries the sender's real name. + +## Third-party assets + +UI icons come from [Papicons](https://github.com/PapillonApp/papicons) (MIT) and, for a few of them, +[Lucide](https://lucide.dev) (ISC). Licenses and notices: [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md). diff --git a/THIRD_PARTY_NOTICES.md b/THIRD_PARTY_NOTICES.md new file mode 100644 index 0000000..61289fd --- /dev/null +++ b/THIRD_PARTY_NOTICES.md @@ -0,0 +1,39 @@ +# Third-party notices + +## Papicons + +Most UI icons (inline SVG with `class="pi"` in `web/index.html`, `web/login.html` and +`web/app.js`) come from Papicons: https://github.com/PapillonApp/papicons + +``` +MIT License + +Copyright (c) 2025 Association Papillon + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +``` + +## Lucide + +The few icons Papicons has no equivalent for (zoom out in the time range bar, Docker source +badge) come from Lucide (ISC license): https://github.com/lucide-icons/lucide/blob/main/LICENSE + +## Fonts + +The bundled fonts are covered by the license files next to them in `web/fonts/`. diff --git a/web/app.js b/web/app.js index 023e77f..9d0471a 100644 --- a/web/app.js +++ b/web/app.js @@ -2357,7 +2357,7 @@ function fileRowHTML(s) {

${esc(text)}

@@ -2448,7 +2448,7 @@ $('#addFile').addEventListener('click', () => { let dockerState = null; const dockerView = { showStopped: store.get('dockerShowStopped', '0') === '1', filter: '' }; -const LOCK_ICON = ''; +const LOCK_ICON = ''; async function loadDocker() { try { dockerState = await api('/api/docker'); } catch (e) { dockerState = { enabled: true, connected: false, error: e.message }; } @@ -2872,7 +2872,7 @@ function tagRowHTML(tag) { ${opt('enabled', t('optActive'), t('optActiveTitle'))}
`; diff --git a/web/index.html b/web/index.html index 3427453..fc126e3 100644 --- a/web/index.html +++ b/web/index.html @@ -24,7 +24,7 @@ @@ -34,17 +34,17 @@ Live @@ -53,25 +53,25 @@