2022-09-01 16:23:46 +03:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/meta"), {title:"Message search!" }) %>
|
2022-09-01 16:23:46 +03:00
|
|
|
|
|
|
|
|
|
|
|
<body style="text-align: center;">
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/navbar")) %>
|
|
|
|
|
2022-09-01 16:23:46 +03:00
|
|
|
|
|
|
|
<div id="messages">
|
|
|
|
|
|
|
|
<% messages.filter(Boolean).forEach(message=>{ %>
|
|
|
|
|
|
|
|
<div class="message" id="message-<%= message.id %>">
|
|
|
|
<div class="left">
|
2022-09-09 16:29:36 +03:00
|
|
|
<img src="<%= message.author.avatar %>" />
|
2022-09-01 16:23:46 +03:00
|
|
|
<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>
|
2023-05-25 17:23:31 +03:00
|
|
|
<%- include(dataset.getFile(dataset.theme.codename +"/views/extra/footer")) %>
|
2022-09-17 00:51:52 +03:00
|
|
|
|
2022-09-01 16:23:46 +03:00
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|