akf-forum/views/users.ejs
2022-08-11 15:36:28 +03:00

27 lines
No EOL
644 B
Text

<!DOCTYPE html>
<html lang="en">
<%- include("extra/header", {title: "User list!" }) %>
<body>
<%- include("extra/navbar", {user}) %>
<h1>USERS:</h1>
<ul>
<% users.forEach(user=>{ %>
<li>
<h1><a href=<%= user.getLink() %> > <%= user.name %> <%= user.deleted ? "(DELETED)" :"" %></a>
<img class="circle" src=<%=user.avatar %> alt=<%= user.name %>>
</h1>
</li>
<% }); %>
</ul>
<%- include("extra/footer") %>
</body>
</html>