akf-forum/views/users.ejs

25 lines
538 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=>{ %>
<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>[DELETED]</span><% } %>
<%= user.name %></a></div>
</div>
<% }); %>
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