<!DOCTYPE html>
<html lang="en">
<head>
  <title>Utilisateurs</title>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <style>
  table, th, td {
    border:1px solid black;
  }
  </style>
</head>
<body>
  <script>
    function deleteUser(username) {
        fetch(`/api/users/${username}`, {
            method: "DELETE",
        })
        .then(async (response) => {
            const res = await response.json();
            console.log(res);
            if(!response.ok) return alert(res.message);
            location.reload();
        });
    }
  </script>
  <NAVBAR>
  <USERINFO>
  <a href='./'><p>Retour</p></a>
</body>
</html>