Compare commits
2 commits
52ebeebe4d
...
4119ee870e
| Author | SHA1 | Date | |
|---|---|---|---|
| 4119ee870e | |||
| 510cff943b |
2 changed files with 35 additions and 7 deletions
|
|
@ -172,9 +172,29 @@ export default () => {
|
|||
</FileField>
|
||||
|
||||
<Padding top={2} bottom={0} left={0} right={0}>
|
||||
<Show when={file() && password()}>
|
||||
<Row>
|
||||
<Button edges="curved" design="bo-primary" label="Register" onClick={generateSignature} wide />
|
||||
</Row>
|
||||
</Show>
|
||||
|
||||
<Show when={!file() && !password()}>
|
||||
<Row>
|
||||
<span class="already-registered">Need password and signature</span>
|
||||
</Row>
|
||||
</Show>
|
||||
|
||||
<Show when={file() && !password()}>
|
||||
<Row>
|
||||
<span class="already-registered">Need password</span>
|
||||
</Row>
|
||||
</Show>
|
||||
|
||||
<Show when={!file() && password()}>
|
||||
<Row>
|
||||
<span class="already-registered">Need signature</span>
|
||||
</Row>
|
||||
</Show>
|
||||
</Padding>
|
||||
</Show>
|
||||
|
||||
|
|
@ -211,9 +231,17 @@ export default () => {
|
|||
</FileField>
|
||||
|
||||
<Padding top={2} bottom={0} left={0} right={0}>
|
||||
<Show when={file()}>
|
||||
<Row>
|
||||
<Button edges="curved" design="bo-primary" label="Register" onClick={generateSignature} wide />
|
||||
</Row>
|
||||
</Show>
|
||||
|
||||
<Show when={!file()}>
|
||||
<Row>
|
||||
<span class="already-registered">Need signature</span>
|
||||
</Row>
|
||||
</Show>
|
||||
</Padding>
|
||||
</Show>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue