communities list layout

This commit is contained in:
rimu 2024-02-14 09:29:17 +13:00
parent f7fea98dff
commit 8a46d694d9

View file

@ -18,9 +18,12 @@
<a href="/communities/subscribed" class="btn {{ 'btn-primary' if request.path == '/communities/subscribed' else 'btn-outline-secondary' }}">
{{ _('Joined') }}
</a>
</div>
</div>
<div class="col-auto">
{% if topics %}
<span class="mt-1 pl-4">
<form method="get">Topic:
<form method="get" style="display:inline;">Topic:
<select name="topic_id" class="form-control-sm submit_on_change" aria-label="{{ _('Choose a topic to filter communities by') }}">
<option value="0">All</option>
{% for topic in topics %}
@ -28,13 +31,8 @@
{% endfor %}
</select>
</form>
</span>
{% endif %}
<span class="mt-1 pl-4">
<form method="get"><input type="search" name="search" placeholder="{{ _('Search') }}" value="{{ search }}"></form>
</span>
</div>
<form method="get" style="display:inline;"><input type="search" name="search" placeholder="{{ _('Search') }}" value="{{ search }}"></form>
</div>
<div class="col-auto">
<div class="btn-group">