mirror of
https://github.com/openziti/zrok.git
synced 2025-02-27 15:42:19 +01:00
more forgot password ui tweakage (#840)
This commit is contained in:
parent
06c20a1a93
commit
66c13a6877
ui100/src
@ -1,6 +1,7 @@
|
||||
import {Box, Button, Container, TextField, Typography} from "@mui/material";
|
||||
import {useState} from "react";
|
||||
import zroket from "./assets/zrok-1.0.0-rocket-purple.svg";
|
||||
import {Link} from "react-router";
|
||||
|
||||
const ForgotPassword = () => {
|
||||
const [email, setEmail] = useState("");
|
||||
@ -28,6 +29,9 @@ const ForgotPassword = () => {
|
||||
<Button type="submit" fullWidth variant="contained" sx={{ mt: 3, mb: 2 }} style={{ color: "#9bf316" }}>
|
||||
Send Password Reset Email
|
||||
</Button>
|
||||
<Box component="div" style={{ textAlign: "center" }}>
|
||||
<Link to="/">Return to Login</Link>
|
||||
</Box>
|
||||
</Box>
|
||||
</Box>
|
||||
</Container>
|
||||
|
@ -81,7 +81,7 @@ const Login = ({ onLogin }: LoginProps) => {
|
||||
Log In
|
||||
</Button>
|
||||
<Box component="div" style={{ textAlign: "center" }}>
|
||||
<Box component="h3" style={{color: "red"}}>{message}</Box>
|
||||
<Box component="h3" style={{ color: "red" }}>{message}</Box>
|
||||
</Box>
|
||||
<Box component="div" style={{ textAlign: "center" }}>
|
||||
<Link to="/forgotPassword">Forgot Password?</Link>
|
||||
|
Loading…
Reference in New Issue
Block a user