diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-20 12:38:16 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-20 12:38:16 -0300 |
commit | 6138846050563e0dca95b0b6d792776925e4c35f (patch) | |
tree | b33cd36acf4b38d3a016506d4f7fa681c83beb63 /packages/aml-backoffice-ui/src/Dashboard.tsx | |
parent | 7ed3e78f790837479fc2bb2eb6ddc40c78ce59b5 (diff) | |
download | wallet-core-6138846050563e0dca95b0b6d792776925e4c35f.tar.xz |
new forms api
Diffstat (limited to 'packages/aml-backoffice-ui/src/Dashboard.tsx')
-rw-r--r-- | packages/aml-backoffice-ui/src/Dashboard.tsx | 27 |
1 files changed, 18 insertions, 9 deletions
diff --git a/packages/aml-backoffice-ui/src/Dashboard.tsx b/packages/aml-backoffice-ui/src/Dashboard.tsx index b813f83d5..2d75de660 100644 --- a/packages/aml-backoffice-ui/src/Dashboard.tsx +++ b/packages/aml-backoffice-ui/src/Dashboard.tsx @@ -5,7 +5,7 @@ import { useEffect, useErrorBoundary } from "preact/hooks"; import { useOfficer } from "./hooks/useOfficer.js"; import { getAllBooleanSettings, getLabelForSetting, useSettings } from "./hooks/useSettings.js"; import { Pages } from "./pages.js"; -import { PageEntry, useChangeLocation, useCurrentLocation } from "./route.js"; +import { PageEntry, useChangeLocation } from "./route.js"; import { uiSettings } from "./settings.js"; function classNames(...classes: string[]) { @@ -73,8 +73,17 @@ const versionText = VERSION * 4.- tooltip are not placed correctly: the arrow should point the question mark * and the text area should be bigger * - * 5.- date field should have the calendar icon clickable so the user can select date without - * writing text with the correct format + */ + +/** + * check this fields + * + * Signature of Contracting partner, 902_9e + * Currency and amount of deposited assets, 902_5e + * Signature on declaration of trust, 902.13e + * also fundations + * also life insurance + * */ export function ExchangeAmlFrame({ @@ -140,17 +149,17 @@ export function ExchangeAmlFrame({ <GlobalNotificationsBanner /> - <main class="-mt-32 flex grow "> + <div class="-mt-32 flex grow "> {officer.state !== "ready" ? undefined : <Navigation /> } <div class="flex mx-auto my-4"> - <div class="rounded-lg bg-white px-5 py-6 shadow sm:px-6"> + <main class="rounded-lg bg-white px-5 py-6 shadow"> {children} - </div> + </main> </div> - </main> + </div> <Footer testingUrl={localStorage.getItem("exchange-base-url") ?? undefined} @@ -169,7 +178,7 @@ function Navigation(): VNode { ] const location = useChangeLocation(); return ( - <div class="hidden sm:block w-48 min-w-min bg-indigo-600 divide-y rounded-r-lg divide-cyan-800 overflow-y-auto overflow-x-clip"> + <div class="hidden sm:block min-w-min bg-indigo-600 divide-y rounded-r-lg divide-cyan-800 overflow-y-auto overflow-x-clip"> <nav class="flex flex-1 flex-col mx-4 mt-4 mb-2"> <ul role="list" class="flex flex-1 flex-col gap-y-7"> @@ -179,7 +188,7 @@ function Navigation(): VNode { return <li> <a href={p.url} data-selected={location == p.url} - class="data-[selected=true]:bg-indigo-700 data-[selected=true]:text-white text-indigo-200 hover:text-white hover:bg-indigo-700 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"> + class="data-[selected=true]:bg-indigo-700 pr-4 data-[selected=true]:text-white text-indigo-200 hover:text-white hover:bg-indigo-700 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold"> {p.Icon && <p.Icon />} <span class="hidden md:inline"> {p.name} |