From 67e12c2c267c68b754ac555ffeaca35572be65cf Mon Sep 17 00:00:00 2001 From: Akif9748 Date: Sat, 17 Sep 2022 16:36:48 +0300 Subject: [PATCH] Added view user ips! --- README.md | 5 ----- public/css/common.css | 1 - views/user.ejs | 20 +++++++++++--------- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index 17e2538..c5ffed9 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/public/css/common.css b/public/css/common.css index 1c967c3..ae10fbf 100644 --- a/public/css/common.css +++ b/public/css/common.css @@ -206,7 +206,6 @@ select option { .footer { width: 100%; background-color: var(--main); - padding: 10px; bottom: 0; color: white; display: flex; diff --git a/views/user.ejs b/views/user.ejs index 2092e77..1aa1c42 100644 --- a/views/user.ejs +++ b/views/user.ejs @@ -84,7 +84,17 @@ <% } else if (user?.admin){ %> Delete user! <% } %> - + <% if (user?.admin) {%> +
+ IP adresses of user: + +
+ + <% } %>
@@ -94,14 +104,6 @@

Admin

<% } %> - <% if (user?.admin) {%> -

IPS:

- - <% } %>