mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-05 01:47:15 +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": "يعيد عدادات الإرسال/الاستقبال لهذا الإدخال إلى 0.",
|
||||
"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