Merge pull request #122 from sensebox/update-login-button
Update login Button
This commit is contained in:
commit
a23f504eec
@ -124,6 +124,7 @@ export class Login extends Component {
|
|||||||
type={this.state.type}
|
type={this.state.type}
|
||||||
key={this.state.key}
|
key={this.state.key}
|
||||||
/>
|
/>
|
||||||
|
<form onSubmit={this.onSubmit}>
|
||||||
<TextField
|
<TextField
|
||||||
style={{ marginBottom: "10px" }}
|
style={{ marginBottom: "10px" }}
|
||||||
// variant='outlined'
|
// variant='outlined'
|
||||||
@ -163,7 +164,7 @@ export class Login extends Component {
|
|||||||
<Button
|
<Button
|
||||||
color="primary"
|
color="primary"
|
||||||
variant="contained"
|
variant="contained"
|
||||||
onClick={this.onSubmit}
|
type="submit"
|
||||||
style={{ width: "100%" }}
|
style={{ width: "100%" }}
|
||||||
>
|
>
|
||||||
{this.props.progress ? (
|
{this.props.progress ? (
|
||||||
@ -175,6 +176,7 @@ export class Login extends Component {
|
|||||||
)}
|
)}
|
||||||
</Button>
|
</Button>
|
||||||
</p>
|
</p>
|
||||||
|
</form>
|
||||||
<p style={{ textAlign: "center", fontSize: "0.8rem" }}>
|
<p style={{ textAlign: "center", fontSize: "0.8rem" }}>
|
||||||
<Link
|
<Link
|
||||||
rel="noreferrer"
|
rel="noreferrer"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user