Compare commits

..

No commits in common. "4119ee870e925243da6e8b31d2d4991211d0f90a" and "52ebeebe4d57adaf2675b491355a54b9ff6c83d1" have entirely different histories.

2 changed files with 7 additions and 35 deletions

View file

@ -12,7 +12,7 @@ export default (props: Props) => {
return (
<>
<section>
<img src={qrcode()} alt="QR Code" style={`width: ${props.width || 'auto'}rem`} />
<img src={qrcode()} alt="QR Code" style={`width: ${props.width || 'auto' }rem`}/>
</section>
</>
)

View file

@ -172,29 +172,9 @@ 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>
@ -231,17 +211,9 @@ 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>