akf-forum/views/users.ejs
2022-08-31 18:14:21 +03:00

26 lines
640 B
Text

<!DOCTYPE html>
<html lang="en">
<%- include("extra/meta", {title: "User list!" }) %>
<body>
<link rel="stylesheet" href="/css/users.css" />
<%- include("extra/navbar") %>
<div class="users">
<% users.forEach(user=>{ %>
<div style="display:flex;justify-content:center;">
<div class="user-box">
<img src="<%= user.avatar %>" class="user-box-img">
<div class="user-box-title"> <a href="<%= user.getLink() %>">
<% if (user.deleted) { %> <span style="color: var(--important);">[DELETED]</span><% } %>
<%= user.name %></a></div>
</div>
</div>
<% }); %>
</div>
</body>