mirror of
https://github.com/Akif9748/akf-forum.git
synced 2024-11-23 04:10:40 +03:00
30 lines
754 B
Text
30 lines
754 B
Text
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<%- include("extra/meta", {title: "Thread list!" }) %>
|
|
|
|
<body>
|
|
<link rel="stylesheet" href="/css/threads.css" />
|
|
|
|
<%- include("extra/navbar") %>
|
|
|
|
<div class="threads">
|
|
|
|
<% threads.forEach(thread=>{ %>
|
|
<a href="<%= thread.getLink() %>" class="">
|
|
<div class="threads-box">
|
|
<div class="thread-box-title">
|
|
<% if (thread.deleted) { %> <span>[DELETED]</span><% } %>
|
|
<%= thread.title %>
|
|
</div>
|
|
<div class="box-username">
|
|
<%= thread.author.name %> <div class="avatar"><img src="<%=thread.author.avatar %>"> </div>
|
|
</div>
|
|
|
|
</div>
|
|
</a>
|
|
<br>
|
|
<% }); %>
|
|
|
|
</div>
|
|
|
|
</body>
|