fix: style OIDC login button with divider line and icon
Replace the plain boxy btn-secondary with a modern outlined button that has a login icon, horizontal "or" divider, and hover effects.
This commit is contained in:
+1
-1
@@ -98,7 +98,7 @@ async function loadOidcLoginButton() {
|
||||
const cfg = await res.json();
|
||||
const section = document.getElementById('oidc-login-section');
|
||||
if (cfg.enabled) {
|
||||
document.getElementById('btn-oidc-login').textContent = cfg.button_label || 'Sign in with SSO';
|
||||
document.getElementById('btn-oidc-login-label').textContent = cfg.button_label || 'Sign in with SSO';
|
||||
section.hidden = false;
|
||||
} else {
|
||||
section.hidden = true;
|
||||
|
||||
Reference in New Issue
Block a user