WebUI: Allow to filter torrent list by save path

This PR adds ability to filter torrent list by save path. Everything should work exactly like in GUI.

Closes #19393.
PR #21175.
This commit is contained in:
skomerko
2024-08-11 10:08:13 +02:00
committed by GitHub
parent ea06eb9fe6
commit 04eb40376e
4 changed files with 15 additions and 6 deletions

View File

@@ -133,6 +133,11 @@
<input type="text" id="torrentsFilterInput" placeholder="QBT_TR(Filter torrent list...)QBT_TR[CONTEXT=MainWindow]" aria-label="QBT_TR(Filter torrent list...)QBT_TR[CONTEXT=MainWindow]" autocorrect="off" autocapitalize="none">
<input type="checkbox" id="torrentsFilterRegexBox">
<label for="torrentsFilterRegexBox" aria-label="QBT_TR(Use regular expressions)QBT_TR[CONTEXT=MainWindow]"></label>
<label for="torrentsFilterSelect">QBT_TR(Filter by:)QBT_TR[CONTEXT=MainWindow]</label>
<select id="torrentsFilterSelect">
<option value="name" selected>QBT_TR(Name)QBT_TR[CONTEXT=MainWindow]</option>
<option value="save_path">QBT_TR(Save Path)QBT_TR[CONTEXT=MainWindow]</option>
</select>
</div>
</div>
</div>