From 11c38173760f6733a8027211c834e74fa0cbf2cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 15 Jun 2026 14:04:11 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.108:=20=D1=84=D0=B8=D0=BA=D1=81=20inline-?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=B0=D0=BA=D1=82=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D1=8F=20=E2=80=94=20innerHTML=20=D0=B2=D0=BC?= =?UTF-8?q?=D0=B5=D1=81=D1=82=D0=BE=20show/hide?= 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 | 65 ++++++++++++++++++++++++------------------ 3 files changed, 39 insertions(+), 30 deletions(-) diff --git a/package.json b/package.json index da091bf..555094e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ipwhitelist", - "version": "0.5.107", + "version": "0.5.108", "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 b40c9b3..b14f282 100644 --- a/v2/src/config/index.js +++ b/v2/src/config/index.js @@ -9,7 +9,7 @@ // ═══════════════════════════════════════════════════════════════════════════════ module.exports = { - version: '0.5.104', + version: '0.5.105', // ── 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 f07ca98..6c86364 100644 --- a/views/v2/user.ejs +++ b/views/v2/user.ejs @@ -220,29 +220,17 @@ <% entries.forEach(function(e) { %> - - - <%= e.value_cidr %><% if (e.deleted_at) { %> удалена<% } %> - - - - <%= e.comment || '—' %> - - + + <%= e.value_cidr %><% if (e.deleted_at) { %> удалена<% } %> + <%= e.comment || '—' %> <%= e.created_by %> <%= new Date(e.created_at).toLocaleString('ru') %> - + <% if (!e.deleted_at) { %> - - -
- -
-
- + +
+ +
<% } %> @@ -258,21 +246,38 @@