react-version #1
@ -96,7 +96,7 @@ const Topbar = () => {
|
|||||||
<Container>
|
<Container>
|
||||||
<Dropdown.Divider />
|
<Dropdown.Divider />
|
||||||
<Dropdown.ItemText>
|
<Dropdown.ItemText>
|
||||||
Gestion
|
<b>Gestion</b>
|
||||||
</Dropdown.ItemText>
|
</Dropdown.ItemText>
|
||||||
<Dropdown.Item>
|
<Dropdown.Item>
|
||||||
<Link className="nav-link" to="/inventaire" >
|
<Link className="nav-link" to="/inventaire" >
|
||||||
|
@ -5,7 +5,7 @@ import Cookies from "universal-cookie";
|
|||||||
|
|
||||||
const Login = () => {
|
const Login = () => {
|
||||||
|
|
||||||
const [rememberme, setPersistence] = useState(true);
|
const [rememberme, setPersistence] = useState(false);
|
||||||
const [email, setEmail] = useState("");
|
const [email, setEmail] = useState("");
|
||||||
const [password, setPassword] = useState("");
|
const [password, setPassword] = useState("");
|
||||||
const [returnmess, returnMessage] = useState("");
|
const [returnmess, returnMessage] = useState("");
|
||||||
@ -81,6 +81,13 @@ const Login = () => {
|
|||||||
value={password}
|
value={password}
|
||||||
onChange={(e) => setPassword(e.target.value)} />
|
onChange={(e) => setPassword(e.target.value)} />
|
||||||
</div>
|
</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>
|
<Button className="btn-primary btn-ajouter-morceau" type="submit" >Connexion</Button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user