From 69c4445c8567487ac73c6a453df4c4741dceac17 Mon Sep 17 00:00:00 2001 From: Ivan K Date: Fri, 21 Mar 2025 14:54:52 +0300 Subject: [PATCH] refactor: move buttons for NFT and DNSMasq checks --- .../resources/view/podkop/podkop.js | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 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 d150896..8d69e81 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 @@ -704,16 +704,6 @@ let createStatusSection = function (podkopStatus, singboxStatus, podkop, luci, s label: _('Update Lists'), command: 'list_update', title: _('Lists Update Results') - }), - ButtonFactory.createModalButton({ - label: _('Check NFT Rules'), - command: 'check_nft', - title: _('NFT Rules') - }), - ButtonFactory.createModalButton({ - label: _('Check DNSMasq'), - command: 'check_dnsmasq', - title: _('DNSMasq Configuration') }) ]), @@ -733,6 +723,16 @@ let createStatusSection = function (podkopStatus, singboxStatus, podkop, luci, s label: 'Check Connections', command: 'check_sing_box_connections', title: 'Active Connections' + }), + ButtonFactory.createModalButton({ + label: _('Check NFT Rules'), + command: 'check_nft', + title: _('NFT Rules') + }), + ButtonFactory.createModalButton({ + label: _('Check DNSMasq'), + command: 'check_dnsmasq', + title: _('DNSMasq Configuration') }) ]),