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. 3
      tildes/tildes/templates/topic.jinja2
  2. 3
      tildes/tildes/templates/topic_listing.jinja2

3
tildes/tildes/templates/topic.jinja2

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

3
tildes/tildes/templates/topic_listing.jinja2

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

Loading…
Cancel
Save