add following and ui updates
This commit is contained in:
parent
95fde911c5
commit
7bec5f61f0
8 changed files with 75 additions and 23 deletions
|
@ -1,12 +1,19 @@
|
|||
<%- include('header.ejs') -%>
|
||||
<div class='area'>
|
||||
<h1>User</h1>
|
||||
<div class='user'>
|
||||
|
||||
<form class='user' enctype='multipart/form-data' method='POST' action='/api/form/follow'>
|
||||
<p>
|
||||
<b>@<%= id %></b>
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
<%= following.length %> following
|
||||
</p>
|
||||
<p>
|
||||
<%= followers.length %> followers
|
||||
</p>
|
||||
<input name='target' hidden value="<%= id %>">
|
||||
<input type='submit' value="Follow">
|
||||
</form>
|
||||
</div>
|
||||
<div class='area'>
|
||||
<h1>Uploaded Videos</h1>
|
||||
|
@ -15,4 +22,4 @@
|
|||
</div>
|
||||
</div>
|
||||
<%- include('comments.ejs') -%>
|
||||
<%- include('footer.ejs') -%>
|
||||
<%- include('footer.ejs') -%>
|
Loading…
Add table
Add a link
Reference in a new issue