Add status type filters
This commit is contained in:
@ -16,6 +16,27 @@
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
<details class="mb-5" {% if settings_saved %}open{% endif %}>
|
||||
<summary>
|
||||
<span class="has-text-weight-bold">What to display?</span>
|
||||
{% if settings_saved %}
|
||||
<span class="tag is-success is-light ml-2">Saved!</span>
|
||||
{% endif %}
|
||||
</summary>
|
||||
<form class="level" method="post" action="/{{ tab.key }}">
|
||||
{% csrf_token %}
|
||||
<div class="level-left">
|
||||
{{ feed_status_types_form }}
|
||||
</div>
|
||||
<div class="level-right">
|
||||
<button class="button is-small is-primary is-outlined" type="submit">
|
||||
Submit
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</details>
|
||||
|
||||
{# announcements and system messages #}
|
||||
{% if not activities.number > 1 %}
|
||||
<a href="{{ request.path }}" class="transition-y is-hidden notification is-primary is-block" data-poll-wrapper>
|
||||
|
11
bookwyrm/templates/widgets/checkbox_select_horizontal.html
Normal file
11
bookwyrm/templates/widgets/checkbox_select_horizontal.html
Normal file
@ -0,0 +1,11 @@
|
||||
{% with id=widget.attrs.id %}
|
||||
<div{% if id %} id="{{ id }}"{% endif %} class="field">
|
||||
<div class="control">
|
||||
{% for group, options, index in widget.optgroups %}
|
||||
{% for option in options %}
|
||||
{% include option.template_name with widget=option %}
|
||||
{% endfor %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% endwith %}
|
@ -0,0 +1,4 @@
|
||||
<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>
|
||||
{% include "django/forms/widgets/input.html" %}
|
||||
{{ widget.label }}
|
||||
</label>
|
Reference in New Issue
Block a user