Updated login and register pages
This commit is contained in:
parent
8f56210acf
commit
3eaec928a4
2 changed files with 13 additions and 5 deletions
|
|
@ -102,7 +102,7 @@ export default () => {
|
||||||
|
|
||||||
<Padding top={2} left={0} right={0} bottom={0}>
|
<Padding top={2} left={0} right={0} bottom={0}>
|
||||||
<Row>
|
<Row>
|
||||||
<Box curved thickness={2} padding="2.25rem" color="#2f465cd7" background="#04040660">
|
<Box curved thickness={2} padding="2.25rem" color="#253849be" background="#04040660">
|
||||||
{/* <section class="box"> */}
|
{/* <section class="box"> */}
|
||||||
<Row>
|
<Row>
|
||||||
<span class="box-title">Login</span>
|
<span class="box-title">Login</span>
|
||||||
|
|
|
||||||
|
|
@ -161,7 +161,7 @@ export default () => {
|
||||||
|
|
||||||
<Padding top={2} left={0} right={0} bottom={0}>
|
<Padding top={2} left={0} right={0} bottom={0}>
|
||||||
<Row>
|
<Row>
|
||||||
<Box curved thickness={2} padding="2.25rem" color="#2f465cd7" background="#04040660">
|
<Box curved thickness={2} padding="2.25rem" color="#253849be" background="#04040660">
|
||||||
<Row>
|
<Row>
|
||||||
<span class="box-title">Registration</span>
|
<span class="box-title">Registration</span>
|
||||||
</Row>
|
</Row>
|
||||||
|
|
@ -195,9 +195,17 @@ export default () => {
|
||||||
|
|
||||||
<Padding top={2} bottom={0} left={0} right={0}>
|
<Padding top={2} bottom={0} left={0} right={0}>
|
||||||
<Show when={file() && password()}>
|
<Show when={file() && password()}>
|
||||||
<Row>
|
<Show when={file() && password() && password().length >= 4}>
|
||||||
<Button edges="curved" design="bo-primary" label="Register" onClick={generateSignature} wide />
|
<Row>
|
||||||
</Row>
|
<Button edges="curved" design="bo-primary" label="Register" onClick={generateSignature} wide />
|
||||||
|
</Row>
|
||||||
|
</Show>
|
||||||
|
|
||||||
|
<Show when={file() && password() && password().length < 4}>
|
||||||
|
<Row>
|
||||||
|
<span class="already-registered">Password too short</span>
|
||||||
|
</Row>
|
||||||
|
</Show>
|
||||||
</Show>
|
</Show>
|
||||||
|
|
||||||
<Show when={!file() && !password()}>
|
<Show when={!file() && !password()}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue