akf-forum/views/users.ejs

27 lines
627 B
Text
Raw Normal View History

2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
2022-08-26 16:27:29 +03:00
<%- include("extra/meta", {title: "User list!" }) %>
2022-03-26 23:28:10 +03:00
2022-08-26 16:27:29 +03:00
<body>
<link rel="stylesheet" href="/css/users.css" />
2022-03-26 23:28:10 +03:00
2022-08-26 16:27:29 +03:00
<%- include("extra/navbar") %>
2022-03-26 23:28:10 +03:00
2022-08-26 16:27:29 +03:00
<div class="users">
<% users.forEach(user=>{ %>
2022-08-27 14:08:28 +03:00
<div style="display:flex;justify-content:center;">
2022-08-26 16:27:29 +03:00
<div class="user-box">
2022-08-27 10:31:16 +03:00
<img src="<%= user.avatar %>" class="user-box-img">
2022-08-26 16:27:29 +03:00
<div class="user-box-title"> <a href="<%= user.getLink() %>">
2022-08-27 10:31:16 +03:00
<% if (user.deleted) { %> <span style="color: RED;">[DELETED]</span><% } %>
2022-08-26 16:27:29 +03:00
<%= user.name %></a></div>
</div>
2022-08-27 14:08:28 +03:00
</div>
2022-08-26 16:27:29 +03:00
<% }); %>
2022-03-26 23:28:10 +03:00
2022-08-26 16:27:29 +03:00
</div>
</body>
2022-03-26 23:28:10 +03:00