2024-11-25 14:12:43 -05:00
|
|
|
<%- include('header.ejs') -%>
|
2024-11-25 14:12:44 -05:00
|
|
|
<form class='banner' enctype='multipart/form-data' method='POST' action='/api/form/follow'>
|
|
|
|
<img class="banner-background" src="/pfp/<%= id %>.png">
|
|
|
|
<div class="banner-content">
|
|
|
|
<div class='form-message'></div>
|
|
|
|
<div class='avatar'>
|
|
|
|
<img src='/pfp/<%= id %>.png' class='avatar-img'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div>
|
2024-11-25 14:12:44 -05:00
|
|
|
<b>@<%= id %></b>
|
2024-11-25 14:12:44 -05:00
|
|
|
<input class='form-button' type='submit' value="Follow">
|
2024-11-25 14:12:44 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
<input name='target' hidden value="<%= id %>">
|
2024-11-25 14:12:44 -05:00
|
|
|
|
2024-11-25 14:12:44 -05:00
|
|
|
<pre class='form-input'><%= user[0] ? user[0].bio : 'This user has not set a bio.' %></pre>
|
2024-11-25 14:12:43 -05:00
|
|
|
</div>
|
|
|
|
</form>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='content'>
|
|
|
|
<details>
|
|
|
|
<summary>
|
|
|
|
<%= following.length %> following
|
|
|
|
</summary>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='flex-row'>
|
|
|
|
<% for (let user of following) { %>
|
2024-11-25 14:12:44 -05:00
|
|
|
<%- include('user-clickable.ejs', {user: user.target}) %>
|
2024-11-25 14:12:44 -05:00
|
|
|
<%} %>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
</details>
|
|
|
|
<details>
|
|
|
|
<summary>
|
|
|
|
<%= followers.length %> followers
|
|
|
|
</summary>
|
2024-11-25 14:12:44 -05:00
|
|
|
<div class='flex-row'>
|
2024-11-25 14:12:44 -05:00
|
|
|
<% for (let user of followers) { %>
|
|
|
|
<%- include('user-clickable.ejs', {user: user.username}) %>
|
|
|
|
<%} %>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
</details>
|
|
|
|
</div>
|
2024-11-25 14:12:44 -05:00
|
|
|
<h1 class='content-header'>Uploaded Videos</h1>
|
|
|
|
<div class=' videos'>
|
|
|
|
<%- include('videos.ejs') -%>
|
2024-11-25 14:12:43 -05:00
|
|
|
</div>
|
2024-11-25 14:12:43 -05:00
|
|
|
<%- include('comments.ejs') -%>
|
2024-11-25 14:12:43 -05:00
|
|
|
<%- include('footer.ejs') -%>
|