From 817ba754235aaf451f9919dcdc28b3b953890633 Mon Sep 17 00:00:00 2001 From: David Silva Date: Wed, 10 Apr 2024 04:36:04 -0300 Subject: [PATCH 1/3] feat(darkmode): add tailwind darkmode and change templates --- html/login/error.html | 10 +-- html/login/login-config-totp.html | 14 ++-- html/login/login-idp-link-confirm.html | 10 +-- html/login/login-oauth-grant.html | 12 ++-- html/login/login-otp.html | 12 ++-- html/login/login-page-expired.html | 12 ++-- html/login/login-password.html | 12 ++-- .../login-recovery-authn-code-config.html | 16 ++--- .../login-recovery-authn-code-input.html | 12 ++-- html/login/login-reset-password.html | 12 ++-- html/login/login-update-password.html | 14 ++-- html/login/login-update-profile.html | 18 ++--- html/login/login-username.html | 72 ++++++++++++------- html/login/login-x509-info.html | 12 ++-- html/login/login.html | 72 ++++++++++++------- html/login/logout-confirm.html | 10 +-- html/login/register.html | 16 ++--- html/login/select-authenticator.html | 10 +-- html/login/webauthn-authenticate.html | 10 +-- html/login/webauthn-error.html | 10 +-- package.json | 3 +- tailwind.config.ts | 1 + .../keywind/login/components/atoms/alert.ftl | 10 +-- theme/keywind/login/components/atoms/body.ftl | 4 +- .../keywind/login/components/atoms/button.ftl | 2 +- theme/keywind/login/components/atoms/card.ftl | 2 +- .../login/components/atoms/checkbox.ftl | 2 +- .../keywind/login/components/atoms/input.ftl | 2 +- .../molecules/identity-provider.ftl | 36 +++++----- .../resources/dist/assets/index-a7b84447.js | 1 - .../dist/assets/module.esm-9a996e1c.js | 5 -- .../dist/assets/module.esm-a81817bb.js | 5 ++ .../resources/dist/assets/rfc4648-b81320ce.js | 1 + theme/keywind/login/resources/dist/index.css | 2 +- theme/keywind/login/resources/dist/index.js | 2 +- .../login/resources/dist/recoveryCodes.js | 2 +- .../resources/dist/webAuthnAuthenticate.js | 2 +- .../login/resources/dist/webAuthnRegister.js | 2 +- theme/keywind/login/template.ftl | 2 +- 39 files changed, 250 insertions(+), 202 deletions(-) delete mode 100644 theme/keywind/login/resources/dist/assets/index-a7b84447.js delete mode 100644 theme/keywind/login/resources/dist/assets/module.esm-9a996e1c.js create mode 100644 theme/keywind/login/resources/dist/assets/module.esm-a81817bb.js create mode 100644 theme/keywind/login/resources/dist/assets/rfc4648-b81320ce.js diff --git a/html/login/error.html b/html/login/error.html index 061fb6e12..3d5f67dcc 100644 --- a/html/login/error.html +++ b/html/login/error.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,11 +17,11 @@

We are sorry...

-
diff --git a/html/login/login-config-totp.html b/html/login/login-config-totp.html index f348b1f32..8547f77d4 100644 --- a/html/login/login-config-totp.html +++ b/html/login/login-config-totp.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,7 +17,7 @@

Mobile Authenticator Setup

-
- +
diff --git a/html/login/login-idp-link-confirm.html b/html/login/login-idp-link-confirm.html index 149daf805..ecf1d4604 100644 --- a/html/login/login-idp-link-confirm.html +++ b/html/login/login-idp-link-confirm.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,14 +17,14 @@

Account already exists

-
diff --git a/html/login/login-oauth-grant.html b/html/login/login-oauth-grant.html index 493fe8552..51a38fe64 100644 --- a/html/login/login-oauth-grant.html +++ b/html/login/login-oauth-grant.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -18,7 +18,7 @@

Grant Access to null

-
diff --git a/html/login/login-otp.html b/html/login/login-otp.html index 8476be5c6..dfdfa0696 100644 --- a/html/login/login-otp.html +++ b/html/login/login-otp.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,12 +17,12 @@

Sign In

-
- +
diff --git a/html/login/login-page-expired.html b/html/login/login-page-expired.html index 64db4a42f..c4d1ab61e 100644 --- a/html/login/login-page-expired.html +++ b/html/login/login-page-expired.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,14 +17,14 @@

Page has expired

-
diff --git a/html/login/login-password.html b/html/login/login-password.html index cdca5ef9d..71aff975f 100644 --- a/html/login/login-password.html +++ b/html/login/login-password.html @@ -1,4 +1,4 @@ - + Sign in to @@ -7,9 +7,9 @@ - +
-
+
Keywind @@ -17,14 +17,14 @@

Sign In

-