From b29f9f3cc2187dd83ceb2d50b560239da28f18fc Mon Sep 17 00:00:00 2001 From: spinline Date: Thu, 12 Feb 2026 23:30:42 +0300 Subject: [PATCH] fix: align AlertDialog structure with project standards using AlertDialogBody --- frontend/src/components/torrent/table.rs | 78 ++++++++++++++---------- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/frontend/src/components/torrent/table.rs b/frontend/src/components/torrent/table.rs index 1cf36e2..46d2ec1 100644 --- a/frontend/src/components/torrent/table.rs +++ b/frontend/src/components/torrent/table.rs @@ -14,7 +14,17 @@ use crate::components::ui::empty::*; use crate::components::ui::input::Input; use crate::components::ui::multi_select::*; use crate::components::ui::dropdown_menu::*; -use crate::components::ui::alert_dialog::*; +use crate::components::ui::alert_dialog::{ + AlertDialog, + AlertDialogBody, + AlertDialogClose, + AlertDialogContent, + AlertDialogDescription, + AlertDialogFooter, + AlertDialogHeader, + AlertDialogTitle, + AlertDialogTrigger, +}; use tailwind_fuse::tw_merge; const ALL_COLUMNS: [(&str, &str); 8] = [ @@ -244,39 +254,41 @@ pub fn TorrentTable() -> impl IntoView { - - - - "Toplu Silme Onayı" - - - {move || format!("Seçili {} adet torrent silinecek. Lütfen silme yöntemini seçin:", selected_count.get())} -
- "⚠️ Dikkat: Verilerle birlikte silme işlemi dosyaları diskten de kalıcı olarak kaldıracaktır." + + + + + "Toplu Silme Onayı" + + + {move || format!("Seçili {} adet torrent silinecek. Lütfen silme yöntemini seçin:", selected_count.get())} +
+ "⚠️ Dikkat: Verilerle birlikte silme işlemi dosyaları diskten de kalıcı olarak kaldıracaktır." +
+
+
+ +
+ "Vazgeç" +
+ + +
- - - -
- "Vazgeç" -
- - -
-
-
+
+