react-version #1

Merged
memartel_loc merged 290 commits from react-version into main 2023-11-04 09:48:15 -04:00
2 changed files with 9 additions and 2 deletions
Showing only changes of commit db79087632 - Show all commits

View File

@ -96,7 +96,7 @@ const Topbar = () => {
<Container>
<Dropdown.Divider />
<Dropdown.ItemText>
Gestion
<b>Gestion</b>
</Dropdown.ItemText>
<Dropdown.Item>
<Link className="nav-link" to="/inventaire" >

View File

@ -5,7 +5,7 @@ import Cookies from "universal-cookie";
const Login = () => {
const [rememberme, setPersistence] = useState(true);
const [rememberme, setPersistence] = useState(false);
const [email, setEmail] = useState("");
const [password, setPassword] = useState("");
const [returnmess, returnMessage] = useState("");
@ -81,6 +81,13 @@ const Login = () => {
value={password}
onChange={(e) => setPassword(e.target.value)} />
</div>
<div className="form-group" styles="display:flex;">
<label>Se souvenir de moi
<input type="checkbox"
value={rememberme}
onChange={(e) => setPersistence(!rememberme)} />
</label>
</div>
<Button className="btn-primary btn-ajouter-morceau" type="submit" >Connexion</Button>
</form>
</div>