From e51babfd9d220285945307e988842d8d2f65d3f2 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Fri, 24 Jul 2026 12:56:36 +0200 Subject: [PATCH] Wire in AlmaLinux web UI branding Ship and enable the AlmaLinux branding set for the openQA web UI: - Branding templates (templates/webapi/branding/AlmaLinux/): docbox, sponsorbox, style and a self-contained external_reporting that links failing jobs to bugs.almalinux.org (preselecting the AlmaLinux-N MantisBT project by job version; no reporter plugin dependency). - Logo asset almalinux.svg installed into assets/images/ (served at /images/almalinux.svg). - Wire the branding-layout patch into the spec: swap the navbar logo for the AlmaLinux mark and pull the branding stylesheet into the page head. - Enable the branding by default via an openqa.ini.d drop-in (00-almalinux-branding.ini) so a fresh install is branded out of the box. - style.html.ep: restore symmetric .navbar-brand>img padding so the navbar logo matches the openqa.almalinux.org rendering (openQA 5's bootstrap sets padding-top:0, which otherwise enlarges/top-aligns the logo). --- .../0001-EL9-AlmaLinux-branding-layout.patch | 2 +- SOURCES/almalinux.svg | 86 +++++++++++++++ SOURCES/branding-AlmaLinux-docbox.html.ep | 3 + ...nding-AlmaLinux-external_reporting.html.ep | 19 ++++ SOURCES/branding-AlmaLinux-sponsorbox.html.ep | 6 + SOURCES/branding-AlmaLinux-style.html.ep | 103 ++++++++++++++++++ SOURCES/openqa-branding.ini | 7 ++ SPECS/openqa.spec | 34 ++++++ 8 files changed, 259 insertions(+), 1 deletion(-) create mode 100644 SOURCES/almalinux.svg create mode 100644 SOURCES/branding-AlmaLinux-docbox.html.ep create mode 100644 SOURCES/branding-AlmaLinux-external_reporting.html.ep create mode 100644 SOURCES/branding-AlmaLinux-sponsorbox.html.ep create mode 100644 SOURCES/branding-AlmaLinux-style.html.ep create mode 100644 SOURCES/openqa-branding.ini diff --git a/SOURCES/0001-EL9-AlmaLinux-branding-layout.patch b/SOURCES/0001-EL9-AlmaLinux-branding-layout.patch index bf5d2df..dea280f 100644 --- a/SOURCES/0001-EL9-AlmaLinux-branding-layout.patch +++ b/SOURCES/0001-EL9-AlmaLinux-branding-layout.patch @@ -5,7 +5,7 @@