Browse Source

Fix OK button location for sorting with JS off

merge-requests/29/head
Jedi Burrell 6 years ago
committed by Deimos
parent
commit
98cfa08a60
  1. 9
      tildes/tildes/templates/topic.jinja2
  2. 9
      tildes/tildes/templates/topic_listing.jinja2

9
tildes/tildes/templates/topic.jinja2

@ -166,12 +166,11 @@
>{{ option.description }}</option>
{% endfor %}
</select>
{# add a submit button for people with js disabled so this is still usable #}
<noscript>
<button type="submit" class="btn btn-primary btn-sm">OK</button>
</noscript>
</div>
{# add a submit button for people with js disabled so this is still usable #}
<noscript>
<button type="submit" class="btn btn-primary btn-sm">OK</button>
</noscript>
</form>
</header>

9
tildes/tildes/templates/topic_listing.jinja2

@ -64,12 +64,11 @@
<option value="all"{{ ' selected' if not period else '' }}>all time</option>
<option value="other">other period</option>
</select>
{# add a submit button for people with js disabled so this is still usable #}
<noscript>
<button type="submit" class="btn btn-primary btn-sm">OK</button>
</noscript>
</div>
{# add a submit button for people with js disabled so this is still usable #}
<noscript>
<button type="submit" class="btn btn-primary btn-sm">OK</button>
</noscript>
</form>
{% if not is_default_view %}

Loading…
Cancel
Save