diff --git a/frontend/src/components/torrent/table.rs b/frontend/src/components/torrent/table.rs index 1ee9147..a274117 100644 --- a/frontend/src/components/torrent/table.rs +++ b/frontend/src/components/torrent/table.rs @@ -284,7 +284,82 @@ pub fn TorrentTable() -> impl IntoView { -
+
+ // Toolbar +
+ "Torrents" + + // Sort Dropdown + +
+ + // Scrollable Content +
{move || filtered_torrents().into_iter().map(|t| { let progress_class = if t.percent_complete >= 100.0 { "progress-success" } else { "progress-primary" }; let status_str = format!("{:?}", t.status); @@ -299,8 +374,6 @@ pub fn TorrentTable() -> impl IntoView { // We don't need t_hash_click separately if we use t_hash, but existing pattern uses clones let t_hash_click = t.hash.clone(); - - // Long press logic let (timer_id, set_timer_id) = create_signal(Option::::None); let t_hash_long = t.hash.clone(); @@ -415,7 +488,8 @@ pub fn TorrentTable() -> impl IntoView {
} }).collect::>()} -
+
+