css improvements
This commit is contained in:
parent
3929c07717
commit
5b9197bb20
11 changed files with 385 additions and 242 deletions
|
@ -1,46 +1,43 @@
|
|||
<%- include('header.ejs') -%>
|
||||
<form enctype='multipart/form-data' method='POST' action='/api/form/follow'>
|
||||
<h1>User</h1>
|
||||
<div class='form-message'></div>
|
||||
<div class='user'>
|
||||
<div class='pfp-wrapper'>
|
||||
<img src='/pfp/<%= id %>.png' class='avatar'>
|
||||
<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">
|
||||
<h1>User</h1>
|
||||
<div class='form-message'></div>
|
||||
<div class='avatar'>
|
||||
<img src='/pfp/<%= id %>.png' class='avatar-img'>
|
||||
<div>
|
||||
<p>
|
||||
<b>@<%= id %></b>
|
||||
</p>
|
||||
<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>
|
||||
<input name='target' hidden value="<%= id %>">
|
||||
<input type='submit' value="Follow">
|
||||
<b>@<%= id %></b>
|
||||
<input class='form-input' type='submit' value="Follow">
|
||||
</div>
|
||||
</div>
|
||||
<input name='target' hidden value="<%= id %>">
|
||||
<pre class='form-input'><%= user[0] ? user[0].bio : 'This user has not set a bio.' %></pre>
|
||||
<details>
|
||||
<summary>
|
||||
<%= following.length %> following
|
||||
</summary>
|
||||
<% for (let user of following) { %>
|
||||
<a class='link' href='/client/user?id=<%= user.target %>'>
|
||||
<%= user.target %>
|
||||
</a>
|
||||
<%} %>
|
||||
</details>
|
||||
<details>
|
||||
<summary>
|
||||
<%= followers.length %> followers
|
||||
</summary>
|
||||
<% for (let user of followers) { %>
|
||||
<a class='link' href='/client/user?id=<%= user.username %>'>
|
||||
<%= user.username %>
|
||||
</a>
|
||||
<%} %>
|
||||
</details>
|
||||
</div>
|
||||
<pre><%= user[0] ? user[0].bio : 'This user has not set a bio.' %></pre>
|
||||
</form>
|
||||
<div class='area'>
|
||||
<h1>Uploaded Videos</h1>
|
||||
<div class=' videos'>
|
||||
<%- include('videos.ejs') -%>
|
||||
</div>
|
||||
<h1 class='content-header'>Uploaded Videos</h1>
|
||||
<div class=' videos'>
|
||||
<%- include('videos.ejs') -%>
|
||||
</div>
|
||||
<%- include('comments.ejs') -%>
|
||||
<%- include('footer.ejs') -%>
|
Loading…
Add table
Add a link
Reference in a new issue