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 ## Roadmap
### TO-DO: ### TO-DO:
- If thread deleted, not show its messages in API. - If thread deleted, not show its messages in API.
- If redirect => /register, return
### Frontend ### Frontend
### User ### User
| To do | Is done? | Priority | | To do | Is done? | Priority |

View file

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

View file

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