WebUI: Add tooltip to regex filter button

Add a tooltip to indicate the button's function.
And change the cursor to a pointer since label is used as a button.

PR #21695.
This commit is contained in:
Patrik Elfström 2024-11-03 08:35:28 +01:00 committed by GitHub
parent dc30b9c2ec
commit 3bb1e34233
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -487,6 +487,7 @@ a.propButton img {
background-size: 1.5em;
border: 1px solid var(--color-border-default);
border-radius: 4px;
cursor: pointer;
display: inline-block;
height: 26px;
margin-bottom: -9px;

View file

@ -141,7 +141,7 @@
<div id="torrentsFilterToolbar">
<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="torrentsFilterRegexBox" aria-label="QBT_TR(Use regular expression)QBT_TR[CONTEXT=MainWindow]" title="QBT_TR(Use regular expression)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>