Plugin GLPI — temas e branding da tela de login (Butterfly)
ValueConverter::fromPhp('#0b0e1a') gera SassString com aspas, e
'background-color:"#0b0e1a"' é CSS inválido (browser ignora — fundo
cinza). Bug latente desde os temas legados (afetava qualquer uso direto
de $var injetada, ex. cor do botão); ficou visível quando os fundos
passaram a usar $page-background-color. Hex agora entra via parseValue()
como cor de verdade — também habilita funções de cor sobre as variáveis.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
||
|---|---|---|
| front | ||
| locales | ||
| public/pics | ||
| src | ||
| themes | ||
| .gitignore | ||
| composer.json | ||
| hook.php | ||
| LICENSE.md | ||
| logo.png | ||
| plugin.png | ||
| README.md | ||
| RoboFile.php | ||
| setup.php | ||
Butterfly for GLPI >= 10.0 (Compatible with GLPI 11.x)
Allow customization of logos, background and custom CSSs
Installation
- Uncompress the archive to the
<GLPI_ROOT>/plugins/butterflydirectory - Navigate to the Configuration > Plugins page,
- Install and activate the plugin.