From b3dbee1dbe969c1c1cf79602f098eeecabfaf845 Mon Sep 17 00:00:00 2001 From: Ivan K Date: Sun, 11 May 2025 20:30:16 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style(podkop):=20adjust=20margin?= =?UTF-8?q?=20styles=20in=20status=20panel?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../luci-static/resources/view/podkop/podkop.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js index b301fcf..6b04667 100644 --- a/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js +++ b/luci-app-podkop/htdocs/luci-static/resources/view/podkop/podkop.js @@ -855,8 +855,8 @@ const createStatusPanel = (title, status, buttons, extraData = {}) => { title: _('Lists Update Results') }) ] : title === _('FakeIP Status') ? [ - E('div', { style: 'margin-bottom: 10px;' }, [ - E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', {}, [ E('span', { style: `color: ${extraData.fakeipStatus?.color}` }, [ extraData.fakeipStatus?.state === 'working' ? '✔' : extraData.fakeipStatus?.state === 'not_working' ? '✘' : '!', ' ', @@ -871,8 +871,8 @@ const createStatusPanel = (title, status, buttons, extraData = {}) => { ]) ]) ]), - E('div', { style: 'margin-bottom: 10px;' }, [ - E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', {}, [ E('strong', {}, _('DNS Status')), E('br'), E('span', { style: `color: ${extraData.dnsStatus?.remote?.color}` }, [ @@ -888,8 +888,8 @@ const createStatusPanel = (title, status, buttons, extraData = {}) => { ]) ]) ]), - E('div', { style: 'margin-bottom: 10px;' }, [ - E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', { style: 'margin-bottom: 5px;' }, [ + E('div', {}, [ E('strong', {}, extraData.configName), E('br'), E('span', { style: `color: ${extraData.bypassStatus?.color}` }, [