mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
screenshots and slight chnages
This commit is contained in:
BIN
screenshots/Activity.PNG
Normal file
BIN
screenshots/Activity.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 55 KiB |
BIN
screenshots/Home.PNG
Normal file
BIN
screenshots/Home.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 517 KiB |
BIN
screenshots/Libraries.PNG
Normal file
BIN
screenshots/Libraries.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 455 KiB |
BIN
screenshots/Users.PNG
Normal file
BIN
screenshots/Users.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 71 KiB |
BIN
screenshots/stats.PNG
Normal file
BIN
screenshots/stats.PNG
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
@@ -11,7 +11,7 @@ function Login() {
|
||||
const [config, setConfig] = useState(null);
|
||||
const [formValues, setFormValues] = useState({});
|
||||
const [processing, setProcessing] = useState(false);
|
||||
const [submitButtonText, setsubmitButtonText] = useState("Save");
|
||||
const [submitButtonText, setsubmitButtonText] = useState("Login");
|
||||
|
||||
function handleFormChange(event) {
|
||||
setFormValues({ ...formValues, [event.target.name]: event.target.value });
|
||||
@@ -40,7 +40,7 @@ function Login() {
|
||||
.then(async (response) => {
|
||||
|
||||
localStorage.setItem('token',response.data.token);
|
||||
setsubmitButtonText("Settings Saved");
|
||||
setsubmitButtonText("Success");
|
||||
setProcessing(false);
|
||||
window.location.reload();
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user