From 22b6428eba8ab57b0e081f1f79f2a67ddc265497 Mon Sep 17 00:00:00 2001 From: "@lukin" Date: Sun, 25 Sep 2022 20:00:00 +0100 Subject: [PATCH] feat: add logout confirm page --- README.md | 1 + theme/keywind/login/logout-confirm.ftl | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 theme/keywind/login/logout-confirm.ftl diff --git a/README.md b/README.md index 66a9726..c1b1fb6 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ Keywind is a component-based Keycloak Login Theme built with [Tailwind CSS](http - Login Reset Password - Login Update Password - Login Update Profile +- Logout Confirm - Register ### Social Media Icons diff --git a/theme/keywind/login/logout-confirm.ftl b/theme/keywind/login/logout-confirm.ftl new file mode 100644 index 0000000..35bff01 --- /dev/null +++ b/theme/keywind/login/logout-confirm.ftl @@ -0,0 +1,24 @@ +<#import "template.ftl" as layout> +<#import "components/button/primary.ftl" as buttonPrimary> +<#import "components/link/secondary.ftl" as linkSecondary> + +<@layout.registrationLayout; section> + <#if section = "header"> + ${msg("logoutConfirmTitle")} + <#elseif section = "form"> +

${msg("logoutConfirmHeader")}

+
+ + <@buttonPrimary.kw type="submit"> + ${msg("doLogout")} + +
+ <#if !logoutConfirm.skipLink> + <#if (client.baseUrl)?has_content> + <@linkSecondary.kw href=client.baseUrl> + ${kcSanitize(msg("backToApplication"))?no_esc} + + + + +