mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-02 08:27:14 +00:00
feat(inbounds): add multi-select and bulk delete
Mirror the clients page: checkbox selection on the desktop table and on
mobile cards, with a danger Delete button in the toolbar that removes all
selected inbounds in one call.
Backend adds POST /panel/api/inbounds/bulkDel, which loops the existing
DelInbound per id (xray restarts at most once) and returns {deleted,
skipped}. Frontend shows a confirm modal plus a result toast, clears the
selection on success, adds bulk-delete i18n keys across all 13 languages,
and documents the endpoint in the in-panel API docs.
This commit is contained in:
@@ -296,6 +296,10 @@
|
||||
"deleteConfirmContent": "將刪除此入站及其所有客戶端。此操作無法復原。",
|
||||
"resetConfirmTitle": "重置「{remark}」的流量?",
|
||||
"resetConfirmContent": "將此入站的上/下行計數器歸零。",
|
||||
"selectedCount": "已選 {count} 項",
|
||||
"selectAll": "全選",
|
||||
"bulkDeleteConfirmTitle": "刪除 {count} 個入站?",
|
||||
"bulkDeleteConfirmContent": "將刪除所選入站及其所有客戶端。此操作無法復原。",
|
||||
"cloneConfirmTitle": "複製入站「{remark}」?",
|
||||
"cloneConfirmContent": "使用新連接埠和空客戶端清單建立副本。",
|
||||
"delAllClients": "刪除所有客戶端",
|
||||
@@ -421,6 +425,8 @@
|
||||
"inboundsUpdateSuccess": "入站連接已成功更新",
|
||||
"inboundUpdateSuccess": "入站連接已成功更新",
|
||||
"inboundCreateSuccess": "入站連接已成功建立",
|
||||
"bulkDeleted": "已刪除 {count} 個入站",
|
||||
"bulkDeletedMixed": "已刪除 {ok} 個,失敗 {failed} 個",
|
||||
"inboundDeleteSuccess": "入站連接已成功刪除",
|
||||
"inboundClientAddSuccess": "已新增入站客戶端",
|
||||
"inboundClientDeleteSuccess": "入站客戶端已刪除",
|
||||
|
||||
Reference in New Issue
Block a user