List and user previews

This commit is contained in:
Mouse Reeve
2021-04-30 19:19:10 -07:00
parent 21a5147c3c
commit cb6c0035d7
5 changed files with 105 additions and 100 deletions

View File

@ -33,6 +33,7 @@
</div>
</form>
{% if query %}
<nav class="tabs">
<ul>
<li{% if type == "book" %} class="is-active"{% endif %}>
@ -56,4 +57,6 @@
</p>
{% endif %}
</section>
{% endif %}
{% endblock %}

View File

@ -1,9 +1,14 @@
{% extends 'search/layout.html' %}
{% load bookwyrm_tags %}
{% block panel %}
{% for result in results %}
hi
<div class="columns is-multiline">
{% for user in results %}
<div class="column is-one-third">
{% include 'directory/user_card.html' %}
</div>
{% endfor %}
</div>
{% endblock %}