aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-12 03:38:25 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-13 01:41:09 +0800
commit679d60cd5a5debcacff42c38967c1f8b7d972882 (patch)
tree47fc95928051b285c93bf828ec71f0c5bf9b0b70 /packages/website/ts/components/ui
parentbc36c0faed11d61164027efad5b2ad9d07f0573f (diff)
downloaddexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar.gz
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar.bz2
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar.lz
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar.xz
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.tar.zst
dexon-0x-contracts-679d60cd5a5debcacff42c38967c1f8b7d972882.zip
Implement large screen open positions
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/retry.tsx33
1 files changed, 33 insertions, 0 deletions
diff --git a/packages/website/ts/components/ui/retry.tsx b/packages/website/ts/components/ui/retry.tsx
new file mode 100644
index 000000000..f18b5abac
--- /dev/null
+++ b/packages/website/ts/components/ui/retry.tsx
@@ -0,0 +1,33 @@
+import FlatButton from 'material-ui/FlatButton';
+import { GridList } from 'material-ui/GridList';
+import * as React from 'react';
+
+import { colors } from 'ts/style/colors';
+
+export interface RetryProps {
+ onRetry: () => void;
+}
+export const Retry = (props: RetryProps) => (
+ <div className="clearfix center" style={{ color: colors.black }}>
+ <div className="mx-auto inline-block align-middle" style={{ lineHeight: '44px', textAlign: 'center' }}>
+ <div className="h2" style={{ fontFamily: 'Roboto Mono' }}>
+ Something went wrong.
+ </div>
+ <div className="py3">
+ <FlatButton
+ label={'reload'}
+ backgroundColor={colors.black}
+ labelStyle={{
+ fontSize: 18,
+ fontFamily: 'Roboto Mono',
+ fontWeight: 'lighter',
+ color: colors.white,
+ textTransform: 'lowercase',
+ }}
+ style={{ width: 280, height: 62, borderRadius: 5 }}
+ onClick={props.onRetry}
+ />
+ </div>
+ </div>
+ </div>
+);