mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-12-23 08:09:08 +03:00
35 lines
No EOL
892 B
Text
35 lines
No EOL
892 B
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<%- include("extra/meta", {title:"Message search!" }) %>
|
|
|
|
|
|
<body style="text-align: center;">
|
|
<%- include("extra/navbar") %>
|
|
<link rel="stylesheet" href="/css/messages.css" />
|
|
|
|
<div id="messages">
|
|
|
|
<% messages.filter(Boolean).forEach(message=>{ %>
|
|
|
|
<div class="message" id="message-<%= message.id %>">
|
|
<div class="left">
|
|
<img src="<%= message.author.avatar %>" />
|
|
<div class="username"><a href="/users/<%=message.authorID %>"><%=message.author.name %></a></div>
|
|
<div class="date">
|
|
<%= new Date(message.time).toLocaleDateString() %>
|
|
</div>
|
|
<div class="date">
|
|
<%= new Date(message.time).toLocaleTimeString() %>
|
|
</div>
|
|
</div>
|
|
<div class="content"><%- message.content %></div>
|
|
</div>
|
|
|
|
<% }); %>
|
|
</div>
|
|
<%- include("extra/footer") %>
|
|
|
|
</body>
|
|
|
|
</html> |