login time
This commit is contained in:
parent
1e4f21cc76
commit
649d704693
@ -15,7 +15,7 @@ export function useCredentialsChecker() {
|
|||||||
scope: "readwrite" as "write", //FIX: different than merchant
|
scope: "readwrite" as "write", //FIX: different than merchant
|
||||||
duration: {
|
duration: {
|
||||||
// d_us: "forever" //FIX: should return shortest
|
// d_us: "forever" //FIX: should return shortest
|
||||||
d_us: 1000 * 1000 * 5 //60 * 60 * 24 * 7
|
d_us: 60 * 60 * 24 * 7
|
||||||
},
|
},
|
||||||
refreshable: true,
|
refreshable: true,
|
||||||
}
|
}
|
||||||
|
@ -81,7 +81,7 @@ export function BankFrame({
|
|||||||
<div class="relative flex h-16 items-center justify-between ">
|
<div class="relative flex h-16 items-center justify-between ">
|
||||||
<div class="flex items-center px-2 lg:px-0">
|
<div class="flex items-center px-2 lg:px-0">
|
||||||
<div class="flex-shrink-0 bg-white rounded-lg">
|
<div class="flex-shrink-0 bg-white rounded-lg">
|
||||||
<a href="#/">
|
<a href="http://test.taler.net/" target="_blank" rel="noreferrer noopener">
|
||||||
<img
|
<img
|
||||||
class="h-8 w-auto"
|
class="h-8 w-auto"
|
||||||
src={logo}
|
src={logo}
|
||||||
@ -365,7 +365,6 @@ function StatusBanner(): VNode {
|
|||||||
n.remove();
|
n.remove();
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Close
|
|
||||||
<svg class="h-8 w-8" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
<svg class="h-8 w-8" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
|
||||||
<path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" />
|
<path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z" />
|
||||||
</svg>
|
</svg>
|
||||||
@ -402,18 +401,20 @@ function TestingTag(): VNode {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
|
const { i18n } = useTranslationContext()
|
||||||
return (
|
return (
|
||||||
<footer class="bottom-4 mb-4">
|
<footer class="bottom-4 mb-4">
|
||||||
<div class="mt-8 mx-8 md:order-1 md:mt-0">
|
<div class="mt-8 mx-8 md:order-1 md:mt-0">
|
||||||
<div>
|
<div>
|
||||||
<p class="text-xs leading-5 text-gray-400">
|
<p class="text-xs leading-5 text-gray-400">
|
||||||
You can learn more about GNU Taler on our{" "}
|
<i18n.Translate>
|
||||||
<a target="_blank" rel="noreferrer noopener" class="font-semibold text-gray-500 hover:text-gray-400" href="https://taler.net">main website</a>.
|
Learn more about <a target="_blank" rel="noreferrer noopener" class="font-semibold text-gray-500 hover:text-gray-400" href="https://taler.net">GNU Taler</a>
|
||||||
|
</i18n.Translate>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div style="flex-grow:1" />
|
<div style="flex-grow:1" />
|
||||||
<p class="text-xs leading-5 text-gray-400">
|
<p class="text-xs leading-5 text-gray-400">
|
||||||
Copyright © 2014—2022 Taler Systems SA. {versionText}{" "}
|
Copyright © 2014—2023 Taler Systems SA. {versionText}{" "}
|
||||||
<TestingTag />
|
<TestingTag />
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -181,7 +181,7 @@ function RegistrationForm({ onComplete, onCancel }: { onComplete: () => void, on
|
|||||||
|
|
||||||
<div class="flex min-h-full flex-col justify-center">
|
<div class="flex min-h-full flex-col justify-center">
|
||||||
<div class="sm:mx-auto sm:w-full sm:max-w-sm">
|
<div class="sm:mx-auto sm:w-full sm:max-w-sm">
|
||||||
<h2 class="text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{i18n.str`Registration form`}</h2>
|
<h2 class="text-center text-2xl font-bold leading-9 tracking-tight text-gray-900">{i18n.str`Account registration`}</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
|
<div class="mt-10 sm:mx-auto sm:w-full sm:max-w-sm">
|
||||||
@ -374,7 +374,7 @@ function RegistrationForm({ onComplete, onCancel }: { onComplete: () => void, on
|
|||||||
doRegistrationStep()
|
doRegistrationStep()
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<i18n.Translate>Confirm</i18n.Translate>
|
<i18n.Translate>Register</i18n.Translate>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user