mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
communities list layout
This commit is contained in:
parent
f7fea98dff
commit
8a46d694d9
1 changed files with 14 additions and 16 deletions
|
@ -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">
|
||||
|
|
Loading…
Reference in a new issue