feat: add css for members

This commit is contained in:
Martin Eyben 2024-12-03 17:56:49 +00:00
parent c887d2a26c
commit ff4179c283

View File

@ -1,5 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
@ -9,22 +10,36 @@
<%- include('partials/links.ejs') %> <%- include('partials/links.ejs') %>
</head> </head>
<body> <body>
<%- include('partials/header.ejs') %> <%- include('partials/header.ejs') %>
<main>
<h1> <h1>
Liste des membres Liste des membres
</h1> </h1>
<table>
<thead>
<tr>
<th>Id Membre</th>
<th>Nom</th>
<th></th>
</tr>
</thead>
<tbody>
<ul>
<% members.forEach(function(member) { %> <% members.forEach(function(member) { %>
<li> <tr>
<a href="/membres/byname/<%=member.name%>"> <td><%=member.id_member%></td>
<%=member.name%> <td><%=member.name%></td>
</a> <td><a href="/membres/byname/<%=member.name%>"><i class="fa-solid fa-eye"></i></a></td>
</li> </tr>
<% }); %> <% }); %>
</ul> </tbody>
</table>
</main>
</body> </body>