mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
clear button for keyword
This commit is contained in:
parent
d6f783abf1
commit
b9cde0e267
@ -55,7 +55,7 @@ menu.register_toolbar_item("start",_("Start"), "start.png" ,TB.torrent_list, "PO
|
||||
menu.register_toolbar_item("queue_up",_("Queue Up"), "queue-up.png" ,TB.torrent_list, "POST","/torrent/queue/up/", True)
|
||||
menu.register_toolbar_item("queue_down",_("Queue Down"), "queue-down.png" ,TB.torrent_list, "POST","/torrent/queue/down/", True)
|
||||
menu.register_toolbar_item("queue_top",_("Queue Top"), "go-top.png" ,TB.torrent_list, "POST","/torrent/queue/top/", True)
|
||||
menu.register_toolbar_item("queue_bottom",_("Queue Down"), "go-bottom.png" ,TB.torrent_list, "POST","/torrent/queue/bottom/", True)
|
||||
menu.register_toolbar_item("queue_bottom",_("Queue Bottom"), "go-bottom.png" ,TB.torrent_list, "POST","/torrent/queue/bottom/", True)
|
||||
menu.register_toolbar_item("details",_("Details"), "details.png" ,TB.torrent, "GET","/torrent/info/", True)
|
||||
menu.register_toolbar_item("move",_("Move"), "move.png" ,TB.torrent_list,"POST","/torrent/move/", True)
|
||||
menu.register_toolbar_item("reannounce",_("Reannounce"), "view-refresh.png" ,TB.torrent_list, "POST","/torrent/reannounce/", False)
|
||||
|
BIN
deluge/ui/webui/static/images/tango/edit-clear.png
Normal file
BIN
deluge/ui/webui/static/images/tango/edit-clear.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 773 B |
@ -39,13 +39,14 @@ $for tracker, num in filters.tracker:
|
||||
|
||||
|
||||
<div class="title">$_('Keyword')</div>
|
||||
$if get('keyword'):
|
||||
<div style="background-color:#F00">
|
||||
<input type="text" name="keyword" value="$get('keyword')" style="width:100px"
|
||||
<input type="text" name="keyword" id="keyword" value="$get('keyword')" style="width:100px;padding:0px"
|
||||
title="$_('Filter on a keyword')"
|
||||
/>
|
||||
$if get('keyword'):
|
||||
</div>
|
||||
<button onclick="document.getElementById('keyword').value=''" style="padding:0px;position:relative;top:2px">
|
||||
<img src="$base/static/images/tango/edit-clear.png" alt="$_('Clear')">
|
||||
</button>
|
||||
|
||||
|
||||
</div>
|
||||
</form>
|
||||
|
Loading…
x
Reference in New Issue
Block a user