Added view user ips!

This commit is contained in:
Akif9748 2022-09-17 16:36:48 +03:00
parent cf02f85eab
commit 67e12c2c26
3 changed files with 11 additions and 15 deletions

View file

@ -40,12 +40,7 @@ Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn
| upload other photos, model for it | ⚪ | MEDIUM |
| categories page is need a update | ⚪ | LOW |
- preview for send messages in markdown format.
- desp => description
- char limits in config.json
- select -id for api
- summary (∆) for ips of users in user page
- admin list in admin panel.
- limits for category.
## Major Version History
- V4: Caching

View file

@ -206,7 +206,6 @@ select option {
.footer {
width: 100%;
background-color: var(--main);
padding: 10px;
bottom: 0;
color: white;
display: flex;

View file

@ -84,7 +84,17 @@
<% } else if (user?.admin){ %>
<a id="delete" class="btn-outline-primary">Delete user! </a>
<% } %>
<% if (user?.admin) {%>
<details>
<summary class="btn-outline-primary">IP adresses of user:</summary>
<select>
<% for(const ip of member.ips) { %>
<option><%= ip %></option>
<% } %>
</select>
</details>
<% } %>
<div class="box" style="justify-content:center;">
<img style="width:150px;height:150px;border-radius:50%;" src="<%=member.avatar %>">
@ -94,14 +104,6 @@
<h2 class="box-value" style="align-self: center;">Admin</h2>
<% } %>
<% if (user?.admin) {%>
<h3 style="text-align: center;"> IPS:</h3>
<select>
<% for(const ip of member.ips) { %>
<option><%= ip %></option>
<% } %>
</select>
<% } %>
<div class="box-value" id="about" style="
margin: 10px auto;