mirror of
https://github.com/YGGverse/YGGtracker.git
synced 2026-03-31 17:15:38 +00:00
update torrent features
This commit is contained in:
parent
d1f8c126b0
commit
e713c17333
16 changed files with 661 additions and 329 deletions
|
|
@ -1,5 +1,6 @@
|
|||
<form class="margin-t-16-px" name="search" method="get" action="{{ path('search_index') }}">
|
||||
<form class="margin-t-16-px" name="search" method="get" action="{{ path('torrent_search') }}">
|
||||
<input class="min-width-200-px" type="text" name="query" value="{{ query }}" placeholder="{{ 'Keyword, file, hash...' | trans }}" />
|
||||
{#
|
||||
<select name="type">
|
||||
{% if type == 'torrent' %}
|
||||
<option value="torrent" selected="selected">{{ 'Torrents' | trans }}</option>
|
||||
|
|
@ -12,5 +13,6 @@
|
|||
<option value="article">{{ 'Articles' | trans }}</option>
|
||||
{% endif %}
|
||||
</select>
|
||||
<input {% if query %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
|
||||
#}
|
||||
<input {% if query is not null %}class="button-green"{% endif %} type="submit" value="{{ 'Search' | trans }}" />
|
||||
</form>
|
||||
Loading…
Add table
Add a link
Reference in a new issue