From 2736dd9d616a7a294f2036a9dc58e43a2d174a76 Mon Sep 17 00:00:00 2001 From: Stan Silvert Date: Fri, 12 Apr 2019 12:52:30 -0400 Subject: [PATCH] KEYCLOAK-9644: Implement Nav and Headers using PF4 React --- .../theme/keycloak-preview/account/index.ftl | 57 +- .../account/resources/app/App.tsx | 82 +- .../account/resources/app/Background.tsx | 46 + .../account/resources/app/PageNav.tsx | 81 + .../account/resources/app/PageToolbar.tsx | 97 + .../app/content/account-page/AccountPage.tsx | 2 +- .../app/content/extensions/ExtensionPages.tsx | 11 +- .../resources/app/widgets/LocaleSelectors.tsx | 126 + .../account/resources/app/widgets/Logout.tsx | 31 +- .../account/resources/app/widgets/Msg.tsx | 20 +- .../app/widgets/ReferrerDropdownItem.tsx | 47 + .../Referrer.tsx => widgets/ReferrerLink.tsx} | 15 +- .../app/{page => widgets}/features.ts | 0 .../account/resources/package-lock.json | 2224 ++++++++++++++++- .../account/resources/package.json | 11 +- .../account/resources/systemjs.config.js | 112 +- 16 files changed, 2743 insertions(+), 219 deletions(-) create mode 100644 themes/src/main/resources/theme/keycloak-preview/account/resources/app/Background.tsx create mode 100644 themes/src/main/resources/theme/keycloak-preview/account/resources/app/PageNav.tsx create mode 100644 themes/src/main/resources/theme/keycloak-preview/account/resources/app/PageToolbar.tsx create mode 100644 themes/src/main/resources/theme/keycloak-preview/account/resources/app/widgets/LocaleSelectors.tsx create mode 100644 themes/src/main/resources/theme/keycloak-preview/account/resources/app/widgets/ReferrerDropdownItem.tsx rename themes/src/main/resources/theme/keycloak-preview/account/resources/app/{page/Referrer.tsx => widgets/ReferrerLink.tsx} (71%) rename themes/src/main/resources/theme/keycloak-preview/account/resources/app/{page => widgets}/features.ts (100%) diff --git a/themes/src/main/resources/theme/keycloak-preview/account/index.ftl b/themes/src/main/resources/theme/keycloak-preview/account/index.ftl index 68c2b4e7d8..8f25b3764f 100644 --- a/themes/src/main/resources/theme/keycloak-preview/account/index.ftl +++ b/themes/src/main/resources/theme/keycloak-preview/account/index.ftl @@ -7,7 +7,7 @@ - + @@ -113,22 +106,38 @@