added account gestion page
This commit is contained in:
parent
0448f4599c
commit
0bc09b340e
28
Views/account/edit.php
Normal file
28
Views/account/edit.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
$array_account = array(
|
||||
"username" => "Jean_Michel_du_13",
|
||||
"email" => "jeanmicheldu13@gmail.com"
|
||||
);
|
||||
?>
|
||||
|
||||
<main>
|
||||
<a href="/disconnect">Se déconnecter</a>
|
||||
|
||||
<form action="/account/disconnect" method="post">
|
||||
<label for="profilPicture">Changer l'image de profil </label>
|
||||
<input type="file" name="profilPicture" id="profilPicture" accept="image/*">
|
||||
|
||||
<label for="username">Changer le nom d'utilisateur </label>
|
||||
<input type="text" name="username" id="username" placeholder="<?= $array_account["username"] ?>">
|
||||
|
||||
<label for="email">Changer d'e-mail </label>
|
||||
<input type="email" name="email" id="email" placeholder="<?= $array_account["email"] ?>">
|
||||
|
||||
<button type="button">Enregistrer</button>
|
||||
</form>
|
||||
|
||||
<hr>
|
||||
|
||||
<a href="/account/delete">Supprimer le compte ⚠️</a>
|
||||
|
||||
</main>
|
1
static/img/defaultProfil.svg
Normal file
1
static/img/defaultProfil.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50" width="50px" height="50px"><path d="M 30.933594 32.527344 C 30.785156 30.914063 30.84375 29.789063 30.84375 28.316406 C 31.574219 27.933594 32.882813 25.492188 33.101563 23.429688 C 33.675781 23.382813 34.582031 22.824219 34.847656 20.613281 C 34.988281 19.425781 34.421875 18.757813 34.074219 18.546875 C 35.007813 15.738281 36.949219 7.046875 30.488281 6.148438 C 29.820313 4.980469 28.117188 4.390625 25.90625 4.390625 C 17.050781 4.554688 15.984375 11.078125 17.925781 18.546875 C 17.578125 18.757813 17.011719 19.425781 17.152344 20.613281 C 17.421875 22.824219 18.324219 23.382813 18.898438 23.429688 C 19.117188 25.492188 20.476563 27.933594 21.210938 28.316406 C 21.210938 29.789063 21.265625 30.914063 21.117188 32.527344 C 19.367188 37.238281 7.546875 35.914063 7 45 L 45 45 C 44.453125 35.914063 32.683594 37.238281 30.933594 32.527344 Z"/></svg>
|
After Width: | Height: | Size: 919 B |
Loading…
Reference in New Issue
Block a user