2024-09-20 16:59:12 -04:00
|
|
|
<%- include('header.ejs') -%>
|
2024-09-22 19:11:15 -04:00
|
|
|
<form enctype='multipart/form-data' method='POST' action='/api/form/follow'>
|
2024-09-20 16:59:12 -04:00
|
|
|
<h1>User</h1>
|
2024-09-22 19:11:15 -04:00
|
|
|
<div class='form-message'></div>
|
|
|
|
<div class='user'>
|
2024-09-20 16:59:12 -04:00
|
|
|
<p>
|
|
|
|
<b>@<%= id %></b>
|
|
|
|
</p>
|
2024-09-22 19:11:15 -04:00
|
|
|
<details>
|
|
|
|
<summary> <%= following.length %> following</summary>
|
|
|
|
<% for (let user of following) { %>
|
|
|
|
<a href='/client/user?id=<%= user.target %>'><%= user.target %></a>
|
|
|
|
<%} %>
|
|
|
|
</details>
|
|
|
|
<details>
|
|
|
|
<summary> <%= followers.length %> followers</summary>
|
|
|
|
<% for (let user of followers) { %>
|
|
|
|
<a href='/client/user?id=<%= user.username %>'><%= user.username %></a>
|
|
|
|
<%} %>
|
|
|
|
</details>
|
2024-09-22 10:49:47 -04:00
|
|
|
<input name='target' hidden value="<%= id %>">
|
|
|
|
<input type='submit' value="Follow">
|
2024-09-22 19:11:15 -04:00
|
|
|
</div>
|
|
|
|
</form>
|
2024-09-20 16:59:12 -04:00
|
|
|
<div class='area'>
|
|
|
|
<h1>Uploaded Videos</h1>
|
|
|
|
<div class=' videos'>
|
|
|
|
<%- include('videos.ejs') -%>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-09-22 03:49:36 -04:00
|
|
|
<%- include('comments.ejs') -%>
|
2024-09-22 10:49:47 -04:00
|
|
|
<%- include('footer.ejs') -%>
|