From 3303510d3dabc4c1efdf39c52db026229d909490 Mon Sep 17 00:00:00 2001 From: Roald de Vries Date: Mon, 5 Dec 2016 17:13:13 +0100 Subject: no difference between dev and prod static files --- web-ui/src/images/LOADING-transparent.gif | Bin 0 -> 16170 bytes web-ui/src/images/fa-sent.svg | 15 +++++++++++ web-ui/src/images/favicon.png | Bin 0 -> 592 bytes web-ui/src/images/logo.svg | 30 +++++++++++++++++++++ web-ui/src/images/pixelated-logo-orange.svg | 29 ++++++++++++++++++++ .../pixelated-symbol-blue-transparent-01.png | Bin 0 -> 9075 bytes web-ui/src/images/sent_email.png | Bin 0 -> 9160 bytes web-ui/src/js/index.js | 6 ++--- 8 files changed, 77 insertions(+), 3 deletions(-) create mode 100644 web-ui/src/images/LOADING-transparent.gif create mode 100644 web-ui/src/images/fa-sent.svg create mode 100644 web-ui/src/images/favicon.png create mode 100644 web-ui/src/images/logo.svg create mode 100644 web-ui/src/images/pixelated-logo-orange.svg create mode 100644 web-ui/src/images/pixelated-symbol-blue-transparent-01.png create mode 100644 web-ui/src/images/sent_email.png (limited to 'web-ui/src') diff --git a/web-ui/src/images/LOADING-transparent.gif b/web-ui/src/images/LOADING-transparent.gif new file mode 100644 index 00000000..ac9abcde Binary files /dev/null and b/web-ui/src/images/LOADING-transparent.gif differ diff --git a/web-ui/src/images/fa-sent.svg b/web-ui/src/images/fa-sent.svg new file mode 100644 index 00000000..a4b4bea4 --- /dev/null +++ b/web-ui/src/images/fa-sent.svg @@ -0,0 +1,15 @@ + + + + fa-sent + Created with Sketch. + + + + + + + + + + \ No newline at end of file diff --git a/web-ui/src/images/favicon.png b/web-ui/src/images/favicon.png new file mode 100644 index 00000000..e14841c7 Binary files /dev/null and b/web-ui/src/images/favicon.png differ diff --git a/web-ui/src/images/logo.svg b/web-ui/src/images/logo.svg new file mode 100644 index 00000000..6c2d8989 --- /dev/null +++ b/web-ui/src/images/logo.svg @@ -0,0 +1,30 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/web-ui/src/images/pixelated-logo-orange.svg b/web-ui/src/images/pixelated-logo-orange.svg new file mode 100644 index 00000000..7e0ef43d --- /dev/null +++ b/web-ui/src/images/pixelated-logo-orange.svg @@ -0,0 +1,29 @@ + + + + + + + + + + + + + + + + diff --git a/web-ui/src/images/pixelated-symbol-blue-transparent-01.png b/web-ui/src/images/pixelated-symbol-blue-transparent-01.png new file mode 100644 index 00000000..96b92155 Binary files /dev/null and b/web-ui/src/images/pixelated-symbol-blue-transparent-01.png differ diff --git a/web-ui/src/images/sent_email.png b/web-ui/src/images/sent_email.png new file mode 100644 index 00000000..ddaa11d0 Binary files /dev/null and b/web-ui/src/images/sent_email.png differ diff --git a/web-ui/src/js/index.js b/web-ui/src/js/index.js index 57ec42a6..8e66db06 100644 --- a/web-ui/src/js/index.js +++ b/web-ui/src/js/index.js @@ -16,7 +16,7 @@ class PixelatedComponent extends React.Component { } componentWillUnmount() { - this.unsubscribe() + this.unsubscribe(); } } @@ -26,7 +26,7 @@ class PixelatedForm extends PixelatedComponent { const immutableActionProperties = new Map(actionProperties); this.props.store.dispatch(immutableActionProperties.merge({status: 'STARTED'}).toJS()); fetch(url).then((response) => { - return response.json() + return response.json(); }).then((json) => { setTimeout(() => { this.props.store.dispatch(immutableActionProperties.merge({status: 'SUCCESS', json: json}).toJS()); @@ -93,7 +93,7 @@ class CreateAccountForm extends PixelatedForm { _handleClick(event) { event.stopPropagation(); event.preventDefault(); - this.props.store.dispatch({type: 'SUBMIT_CREATE_ACCOUNT', username: event.target['username'].value, password: event.target['password'].value}); + this.props.store.dispatch({type: 'SUBMIT_CREATE_ACCOUNT', username: event.target.username.value, password: event.target.password.value}); } } -- cgit v1.2.3