From c4d592dcbea0389e7ca57d7674ab8a1ab472fdce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 16 Jun 2026 04:48:41 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.135:=20UI=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8?= =?UTF-8?q?=D1=86=D1=8B=20=E2=80=94=20=D1=80=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B8=D0=B5=20=D1=81=D1=82=D0=BE=D0=BB=D0=B1=D1=86?= =?UTF-8?q?=D0=BE=D0=B2,=20=F0=9F=92=BE,=20=D1=80=D0=B0=D0=B7=D0=BC=D0=B5?= =?UTF-8?q?=D1=80=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- v2/src/config/index.js | 2 +- views/v2/user.ejs | 17 ++++++++++++----- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 0c74f44..08a599d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipwhitelist", - "version": "0.5.134", + "version": "0.5.135", "description": "IP WhiteList microservice for cloud provider", "main": "server.js", "scripts": { diff --git a/v2/src/config/index.js b/v2/src/config/index.js index 649b1cd..2550fe5 100644 --- a/v2/src/config/index.js +++ b/v2/src/config/index.js @@ -9,7 +9,7 @@ // ═══════════════════════════════════════════════════════════════════════════════ module.exports = { - version: '0.5.134', + version: '0.5.135', // ── IAM ────────────────────────────────────────────────────────────────── iamUrl: process.env.V2_IAM_URL || 'https://auth-api.ngcloud.ru/api/v1/auth/user', diff --git a/views/v2/user.ejs b/views/v2/user.ejs index 420f990..b39e98b 100644 --- a/views/v2/user.ejs +++ b/views/v2/user.ejs @@ -210,11 +210,12 @@ - + - - + + + @@ -223,14 +224,20 @@ - + +
Адрес / ПодсетьАдрес / Подсеть Комментарий ДобавилДобавленаДействияДобавленаРедактирование
<%= e.value_cidr %><% if (e.deleted_at) { %> удалена<% } %> <%= e.comment || '—' %> <%= e.created_by %><%= new Date(e.created_at).toLocaleString('ru', {timeZone:'Europe/Moscow'}) %> МСК<%= new Date(e.created_at).toLocaleString('ru', {timeZone:'Europe/Moscow'}) %> МСК <% if (!e.deleted_at) { %>
- +
+ <% } else { %> + удалена + <% } %> +
+ <% if (!e.deleted_at) { %>