akf-forum/views/threads.ejs

46 lines
1.3 KiB
Text
Raw Normal View History

2022-03-13 16:16:46 +03:00
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="/css/styles.css" />
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Threads!</title>
<meta name="description" content="Threads' page of Akf-forum!">
2022-03-13 16:16:46 +03:00
<meta name="author" content="Akif9748">
<link rel="icon" type="image/x-icon" href="/images/favicon.jpg">
</head>
<body>
<!-- Navbar: -->
<a href="/"><img class="logo" src="/images/logo.jpg" alt="AKF-FORUM"></a>
<br>
<button class="buyuk" onclick="window.location.href = '/users'">USERS</button>
<button class="buyuk" onclick="window.location.href = '/search'">SEARCH</button>
2022-03-21 23:53:22 +03:00
<button class="buyuk" onclick="window.location.href = '/threads/open/'">OPEN THREAD</button>
2022-03-13 16:16:46 +03:00
<h1 style="display:inline; float:right;"><a href=<%=user.getLink() %>> <%= user.name %></a>
<img class="yuvarlak" src=<%=user.avatar %> alt=<%= user.name %>>
</h1>
<hr>
<!-- Navbar end -->
<h1>Threads:</h1>
<ul>
<% threads.forEach(thread=>{ %>
<li>
<h1><a href=<%=links[threads.indexOf(thread)] %> > <%= thread.title %> by <%= thread.author.name %></a>
</h1>
</li>
<% }); %>
</ul>
2022-03-19 21:41:40 +03:00
<!-- This website is powered by AKF-Forum -->
2022-03-13 16:16:46 +03:00
</body>
2022-02-26 21:12:54 +03:00
</html>