From 004ed451441180ae99ba7f4c840ec82774db842b Mon Sep 17 00:00:00 2001 From: Sylvain DUARTE Date: Sat, 14 Mar 2026 11:46:15 +0100 Subject: [PATCH] Add mobile compatibility for torrent-table (cherry picked from commit 65e843489dfefcb621b3874e55e81dc8cbd3ffb3) --- .../torrent-table.component.html | 31 ++++++- .../torrent-table.component.scss | 87 +++++++++++++++++-- 2 files changed, 111 insertions(+), 7 deletions(-) diff --git a/client/src/app/torrent-table/torrent-table.component.html b/client/src/app/torrent-table/torrent-table.component.html index d441002..aaf146e 100644 --- a/client/src/app/torrent-table/torrent-table.component.html +++ b/client/src/app/torrent-table/torrent-table.component.html @@ -21,7 +21,7 @@ }
- +
@@ -84,6 +84,35 @@
+
+ @for (torrent of torrents | sort: sortProperty : sortDirection; track torrent.torrentId) { +
+
+ +
+
+

{{ torrent.rdName }}

+
+ {{ torrent | status }} + @if (torrent.category) { + {{ torrent.category }} + } +
+
+ Size {{ torrent.rdSize | filesize }} + Seeders {{ torrent.rdSeeders }} + Files {{ torrent.files.length | number }} + Downloads {{ torrent.downloads.length | number }} +
+
+
+ } +
+
@if (torrents.length > 0) {