From c36f4413e07e666d20d9daf57a44d163de577831 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Thu, 17 Oct 2024 13:39:25 +0200 Subject: [PATCH] login: Split alert into title/description This makes it conformant to the current PF design. Bring the DOM structure closer to current PF5's alert, and adjust/simplify CSS accordingly. Thanks Garrett for working this out! Also tighten the error message checks in the tests, in particular for check-ws-bastion. Rework the "no-cockpit" message: Telling the user which OSes are supported is nice at some level, but doesn't help operationally when they want to connect to *that* server. Thus, suggest to install cockpit-system, which is the recommended way out of this error. --- pkg/static/login.html | 41 +++++++++----- pkg/static/login.js | 46 +++++++++------ pkg/static/login.scss | 81 ++++++++++++++------------- test/verify/check-client | 5 +- test/verify/check-loopback | 3 +- test/verify/check-shell-multi-machine | 13 +++-- test/verify/check-static-login | 37 +++++++----- test/verify/check-system-realms | 3 +- test/verify/check-ws-bastion | 12 ++-- 9 files changed, 143 insertions(+), 98 deletions(-) diff --git a/pkg/static/login.html b/pkg/static/login.html index d91201916952..d2b20438653a 100644 --- a/pkg/static/login.html +++ b/pkg/static/login.html @@ -14,11 +14,13 @@ -