From 2fccc21f6a1b46086174313c2bf9b63db700280a Mon Sep 17 00:00:00 2001 From: "Alex.Petrov" Date: Thu, 14 May 2026 02:11:43 +0500 Subject: [PATCH] feat(panel): add 'Edit' button to tables and enhance layout - Move 'Edit' button from dropdown to the table since it's the most used action. Only for desktop. - Increase column widths for action keys in Inbounds, Balancers, Outbounds and Routing tables. - Slightly enhance layout for consistency. --- frontend/src/pages/inbounds/InboundList.vue | 120 +++++++++++--------- frontend/src/pages/xray/BalancersTab.vue | 68 +++++++---- frontend/src/pages/xray/OutboundsTab.vue | 81 ++++++++----- frontend/src/pages/xray/RoutingTab.vue | 61 ++++++---- frontend/src/pages/xray/XrayPage.vue | 3 +- 5 files changed, 208 insertions(+), 125 deletions(-) diff --git a/frontend/src/pages/inbounds/InboundList.vue b/frontend/src/pages/inbounds/InboundList.vue index 3671a520..85421ef5 100644 --- a/frontend/src/pages/inbounds/InboundList.vue +++ b/frontend/src/pages/inbounds/InboundList.vue @@ -229,7 +229,7 @@ const hasAnyRemark = computed(() => const desktopColumns = computed(() => { const cols = [ sortableCol({ title: 'ID', dataIndex: 'id', key: 'id', align: 'right', width: 30 }, 'id'), - { title: t('pages.inbounds.operate'), key: 'action', align: 'center', width: 30 }, + { title: t('pages.inbounds.operate'), key: 'action', align: 'center', width: 60 }, sortableCol({ title: t('pages.inbounds.enable'), key: 'enable', align: 'center', width: 35 }, 'enable'), ]; if (hasAnyRemark.value) { @@ -568,59 +568,68 @@ function showQrCodeMenu(dbInbound) {