diff --git a/embark-ui/src/components/Unauthenticated.css b/embark-ui/src/components/Unauthenticated.css new file mode 100644 index 00000000..87c025ba --- /dev/null +++ b/embark-ui/src/components/Unauthenticated.css @@ -0,0 +1,3 @@ +.login-form { + margin-top: 1em; +} diff --git a/embark-ui/src/components/Unauthenticated.js b/embark-ui/src/components/Unauthenticated.js index 79e65351..10ded37d 100644 --- a/embark-ui/src/components/Unauthenticated.js +++ b/embark-ui/src/components/Unauthenticated.js @@ -1,6 +1,6 @@ import PropTypes from "prop-types"; import React from 'react'; -import {Page, Alert, Form, Button} from "tabler-react"; +import './Unauthenticated.css'; class Unauthenticated extends React.Component { constructor(props){ @@ -19,28 +19,37 @@ class Unauthenticated extends React.Component { render() { return ( - - {this.props.error && - {this.props.error} - } -
this.handleSubmit(e)}> - this.handleChange(e)} - placeholder="Enter Embark Host"/> - this.handleChange(e)} - placeholder="Enter Token"/> - - -
+ +

Login

+
+
this.handleSubmit(e)}> +
+ + this.handleChange(e)} + value={this.state.host}/> +
+
+ + this.handleChange(e)} + value={this.state.token}/> + Execute embark run in the command line to get your token. +
+ +
+
+
); - } + } } Unauthenticated.propTypes = {