mirror of https://github.com/trezor/trezor-wallet
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
1.4 KiB
60 lines
1.4 KiB
6 years ago
|
import React from 'react';
|
||
|
import styled from 'styled-components';
|
||
6 years ago
|
import Input from 'components/inputs/Input';
|
||
|
import Textarea from 'components/Textarea';
|
||
6 years ago
|
|
||
6 years ago
|
import { H2 } from 'components/Heading';
|
||
6 years ago
|
import colors from 'config/colors';
|
||
|
|
||
|
const Wrapper = styled.div`
|
||
|
display: flex;
|
||
|
flex: 1;
|
||
|
flex-direction: row;
|
||
|
background: ${colors.WHITE};
|
||
|
`;
|
||
|
|
||
|
const StyledH2 = styled(H2)`
|
||
|
padding-bottom: 10px;
|
||
|
`;
|
||
|
|
||
|
const Column = styled.div`
|
||
|
display: flex;
|
||
|
flex: 1;
|
||
|
flex-direction: column;
|
||
|
`;
|
||
|
|
||
|
const Sign = styled(Column)``;
|
||
|
|
||
|
const Verify = styled(Column)`
|
||
|
padding-left: 20px;
|
||
|
`;
|
||
|
|
||
|
const Label = styled.div`
|
||
|
color: ${colors.LABEL};
|
||
|
padding: 5px 0px;
|
||
|
`;
|
||
|
|
||
6 years ago
|
const AccountSignVerify = () => (
|
||
6 years ago
|
<Wrapper>
|
||
|
<Sign>
|
||
|
<StyledH2>Sign message</StyledH2>
|
||
|
<Label>Message</Label>
|
||
|
<Textarea rows="4" maxLength="255" />
|
||
|
<Label>Address</Label>
|
||
|
<Input type="text" />
|
||
|
<Label>Signature</Label>
|
||
|
<Textarea rows="4" maxLength="255" readOnly="readonly" />
|
||
|
</Sign>
|
||
|
<Verify>
|
||
|
<StyledH2>Verify message</StyledH2>
|
||
|
<Label>Message</Label>
|
||
|
<Textarea rows="4" maxLength="255" />
|
||
|
<Label>Address</Label>
|
||
|
<Input type="text" />
|
||
|
<Label>Signature</Label>
|
||
|
<Textarea rows="4" maxLength="255" />
|
||
|
</Verify>
|
||
|
</Wrapper>
|
||
|
);
|
||
|
|
||
6 years ago
|
export default AccountSignVerify;
|