blob: 3ebab03ef25318ad46e8ea50269c0a18607e056f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
import { colors } from '@0xproject/react-shared';
import Dialog from 'material-ui/Dialog';
import FlatButton from 'material-ui/FlatButton';
import * as React from 'react';
import { constants } from 'ts/utils/constants';
interface U2fNotSupportedDialogProps {
isOpen: boolean;
onToggleDialog: () => void;
}
export const U2fNotSupportedDialog = (props: U2fNotSupportedDialogProps) => {
return (
<Dialog
title="U2F Not Supported"
titleStyle={{ fontWeight: 100 }}
actions={[<FlatButton key="u2fNo" label="Ok" onTouchTap={props.onToggleDialog} />]}
open={props.isOpen}
onRequestClose={props.onToggleDialog}
autoScrollBodyContent={true}
>
<div className="pt2" style={{ color: colors.grey700 }}>
<div>
It looks like your browser does not support U2F connections required for us to communicate with your
hardware wallet. Please use a browser that supports U2F connections and try again.
</div>
<div>
<ul>
<li className="pb1">Chrome version 38 or later</li>
<li className="pb1">Opera version 40 of later</li>
<li>
Firefox with{' '}
<a
href={constants.URL_FIREFOX_U2F_ADDON}
target="_blank"
style={{ textDecoration: 'underline' }}
>
this extension
</a>.
</li>
</ul>
</div>
</div>
</Dialog>
);
};
|