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> >{{ option.description }}</option>
{% endfor %} {% endfor %}
</select> </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> </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> </form>
</header> </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="all"{{ ' selected' if not period else '' }}>all time</option>
<option value="other">other period</option> <option value="other">other period</option>
</select> </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> </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> </form>
{% if not is_default_view %} {% if not is_default_view %}

Loading…
Cancel
Save