mirror of
https://gitlab.com/SIGBUS/nyaa.git
synced 2024-12-22 19:00:07 +00:00
parent
6524e244c2
commit
3bd4898a65
|
@ -193,6 +193,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
<div class="search-container visible-xs visible-sm">
|
<div class="search-container visible-xs visible-sm">
|
||||||
|
{# The mobile menu #}
|
||||||
{% if user_page %}
|
{% if user_page %}
|
||||||
<form class="navbar-form navbar-right form" action="{{ url_for('view_user', user_name=user.username) }}" method="get">
|
<form class="navbar-form navbar-right form" action="{{ url_for('view_user', user_name=user.username) }}" method="get">
|
||||||
{% else %}
|
{% else %}
|
||||||
|
@ -249,7 +250,8 @@
|
||||||
<!--
|
<!--
|
||||||
On narrow viewports, there isn't enough room to fit the full stuff in the selectpicker, so we show a full-width one on wide viewports, but squish it on narrow ones.
|
On narrow viewports, there isn't enough room to fit the full stuff in the selectpicker, so we show a full-width one on wide viewports, but squish it on narrow ones.
|
||||||
-->
|
-->
|
||||||
<select class="selectpicker show-tick visible-lg" title="Category" data-width="200px" name="c">
|
{# XXX Search breaks with multiple fields with the same name: default to the shorter one so we don't break visuals. This is a hack! #}
|
||||||
|
{# <select class="selectpicker show-tick visible-lg" title="Category" data-width="200px" name="c">
|
||||||
<option value="0_0" title="All categories" {% if search is defined and search["category"] == "0_0" %}selected{% else %}selected{% endif %}>
|
<option value="0_0" title="All categories" {% if search is defined and search["category"] == "0_0" %}selected{% else %}selected{% endif %}>
|
||||||
All categories
|
All categories
|
||||||
</option>
|
</option>
|
||||||
|
@ -258,8 +260,8 @@
|
||||||
{{ cat_name }}
|
{{ cat_name }}
|
||||||
</option>
|
</option>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</select>
|
</select> #}
|
||||||
<select class="selectpicker show-tick hidden-lg" title="Category" data-width="130px" name="c">
|
<select class="selectpicker show-tick" title="Category" data-width="130px" name="c">
|
||||||
<option value="0_0" title="All categories" {% if search is defined and search["category"] == "0_0" %}selected{% else %}selected{% endif %}>
|
<option value="0_0" title="All categories" {% if search is defined and search["category"] == "0_0" %}selected{% else %}selected{% endif %}>
|
||||||
All categories
|
All categories
|
||||||
</option>
|
</option>
|
||||||
|
|
Loading…
Reference in a new issue