webui:keyword filter
This commit is contained in:
parent
db24c543fe
commit
49ec8766ca
|
@ -15,7 +15,9 @@ $for state, num in filters.state:
|
||||||
</select>
|
</select>
|
||||||
<select name='tracker' id='tracker'
|
<select name='tracker' id='tracker'
|
||||||
onchange="document.getElementById('category_form').submit()"
|
onchange="document.getElementById('category_form').submit()"
|
||||||
title="$_('Filter on Tracker')">
|
title="$_('Filter on Tracker')"
|
||||||
|
style="width:150px"
|
||||||
|
>
|
||||||
<option value="">$_('Trackers')</option>
|
<option value="">$_('Trackers')</option>
|
||||||
$for tracker, num in filters.tracker:
|
$for tracker, num in filters.tracker:
|
||||||
<option value="$tracker"
|
<option value="$tracker"
|
||||||
|
@ -26,7 +28,11 @@ $for tracker, num in filters.tracker:
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<input type="image" id='toolbar_refresh'
|
<input type="text" name="keyword" value="$get('keyword')" style="width:150px"
|
||||||
|
title="$_('Filter on a keyword')"
|
||||||
|
/>
|
||||||
|
|
||||||
|
<input type="image" id='toolbar_refresh' name="refresh_organize"
|
||||||
src='/static/images/tango/view-refresh.png'
|
src='/static/images/tango/view-refresh.png'
|
||||||
title='$_('Refresh')'
|
title='$_('Refresh')'
|
||||||
>
|
>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
$def with (torrent_list, all_torrents)
|
$def with (torrent_list, organize_filter)
|
||||||
$:render.header(_('Torrent list'))
|
$:render.header(_('Torrent list'))
|
||||||
|
|
||||||
<table class="torrent_list" border=0 id='torrent_table'>
|
<table class="torrent_list" border=0 id='torrent_table'>
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
$def with (column_id, column_name, order, active_up, active_down)
|
$def with (column_id, column_name, order, active_up, active_down)
|
||||||
<th class="torrent_table">
|
<th class="torrent_table">
|
||||||
<a href="/index?sort=$column_id&order=$order&filter=$get('filter')&category=$get('category')">
|
<a href="/index?sort=$column_id&order=$order&state=$get('state')&tracker=$get('tracker')&keyword=$get('keyword')"">
|
||||||
$column_name\
|
$column_name\
|
||||||
$if active_up:
|
$if active_up:
|
||||||
<img src="/static/images/tango/up.png" />
|
<img src="/static/images/tango/up.png" />
|
||||||
|
|
Loading…
Reference in New Issue