user replaced with new theme

This commit is contained in:
Akif9748 2022-08-26 20:36:04 +03:00
parent 6997aff2a8
commit 9cacdb7d65
4 changed files with 74 additions and 79 deletions

View File

@ -33,7 +33,7 @@ And, you can learn about API in `util/APIDOCS.md`.
## Roadmap
### TO-DO:
- If thread deleted, not show its messages in API.
- If redirect => /register, return
### Frontend
### User
| To do | Is done? | Priority |

View File

@ -22,5 +22,3 @@ width: 500px;
margin-bottom: 10px;
border: 2px solid #d9d9d9;
}

View File

@ -1,41 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<%- include("extra/old_header", { title: member.name }) %>
<%- include("extra/meta", {title: "User list!" }) %>
<body>
<%- include("extra/old_navbar", { user }) %>
<body style="text-align: center;">
<%- include("extra/navbar") %>
<ul>
<li>
<h1>Avatar:</h1>
<h1 style="color: #4d18e6;">Avatar:</h1>
<img style="width:256px;height:256px;" src=<%=member.avatar %> alt=<%= member.name %>>
</li>
<li>
<h2>Name: <%= member.name %>
<h2 style="color: #606060;">Name: <%= member.name %>
</h2>
</li>
<li>
<h2>Created at:
<h2 style="color: #606060;">Created at:
<%= new Date(member.time).toLocaleString() %>
</h2>
</li>
<li>
<h2>Is admin? <%= member.admin ? "Yes" : "No" %>
<h2 style="color: #606060;">Is admin? <%= member.admin ? "Yes" : "No" %>
</h2>
</li>
<li>
<h2> Message: <%= counts.message %>
<h2 style="color: #606060;"> Message: <%= counts.message %>
</h2>
</li>
<li>
<h2> Thread: <%= counts.thread %>
<h2 style="color: #606060;"> Thread: <%= counts.thread %>
</h2>
</li>
</ul>
@ -78,8 +77,6 @@
<% if (member.deleted) {%>
<h1>This user has been deleted!</h1>
<% }; %>
<%- include("extra/old_footer") %>
</body>
</html>