Metzploreur/views/profile.ejs
clement callaert cd1381db39 commit
2023-11-04 00:48:04 +01:00

45 lines
No EOL
1.3 KiB
Text

<%- include('includes/head', {Title : 'My profile'}) %>
<link rel="stylesheet" type="text/css" href="css/profile.css">
</head>
<body>
<%- include('includes/header') %>
<main>
<video id="background-video" autoplay loop muted>
<source src="video/videoBackground.mp4" type="video/mp4">
</video>
<div id="first_div">
<h1>
This is your profile
</h1>
<ul>
<li>
<p>
Nom : <%= locals.user.nom %>
</p>
</li>
<li>
<p>
Prénom : <%= locals.user.prenom %>
</p>
</li>
<li>
<p>
Nom d'utilisateur : <%= locals.user.nom_dutilisateur %>
</p>
</li>
<li>
<p>
Adresse email : <%= locals.user.email %>
</p>
</li>
<form action="/supprimer-compte" method="post">
<button>
Supprimer son compte
</button>
</form>
</ul>
</div>
</main>
<%- include('includes/footer')%>
</body>