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

@ -1,9 +1,9 @@
.title{
color: #4d18e6;
font-weight:700;
.title {
color: #4d18e6;
font-weight: 700;
}
form{
form {
display: flex;
align-items: center;
flex-direction: column;
@ -12,15 +12,13 @@ form{
}
.input{
padding: 8px 10px;
font-family: inherit;
display: block;
font-weight: 600;
color: #4c4c4c;
width: 500px;
margin-bottom: 10px;
border: 2px solid #d9d9d9;
.input {
padding: 8px 10px;
font-family: inherit;
display: block;
font-weight: 600;
color: #4c4c4c;
width: 500px;
margin-bottom: 10px;
border: 2px solid #d9d9d9;
}

View File

@ -3,7 +3,7 @@
<%- include("extra/meta", {title: "Register!" }) %>
<link rel="stylesheet" href="/css/login.css" />
<link rel="stylesheet" href="/css/login.css" />
<body style="text-align: center;">
<%- include("extra/navbar") %>

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>
</body>
</html>