bookwyrm-mastodon/fedireads/templates/feed.html

36 lines
1017 B
HTML
Raw Normal View History

2020-01-25 18:25:19 -05:00
{% extends 'layout.html' %}
2020-01-29 18:10:32 -05:00
{% load fr_display %}
2020-01-25 18:25:19 -05:00
{% block content %}
2020-02-21 18:39:25 -05:00
2020-03-15 17:15:36 -04:00
<div class="all-shelves content-container">
2020-03-16 19:10:59 -04:00
{% include 'snippets/covers_shelf.html' with shelves=shelves user=request.user %}
2020-03-15 17:15:36 -04:00
</div>
2020-01-25 18:25:19 -05:00
2020-03-15 17:15:36 -04:00
{% for shelf in shelves %}
{% for book in shelf.books %}
<div class="compose-suggestion" id="compose-book-{{ book.id }}">
<span class="close icon icon-close" onclick="hide_element(this)">
<span class="hidden-text">Close</span>
</span>
<div class="content-container">
{% include 'snippets/create_status.html' with book=book user=request.user %}
2020-01-26 20:55:02 -05:00
</div>
2020-01-28 20:23:38 -05:00
</div>
2020-03-15 17:15:36 -04:00
{% endfor %}
{% endfor %}
2020-01-28 20:23:38 -05:00
<div id="feed">
2020-03-15 17:15:36 -04:00
<div class="content-container tabs">
{% include 'snippets/tabs.html' with tabs=feed_tabs active_tab=active_tab %}
2020-03-15 17:15:36 -04:00
</div>
2020-01-28 20:23:38 -05:00
2020-01-27 21:47:54 -05:00
{% for activity in activities %}
2020-03-15 17:15:36 -04:00
<div class="content-container">
{% include 'snippets/status.html' with status=activity %}
</div>
2020-01-27 21:47:54 -05:00
{% endfor %}
2020-01-25 18:25:19 -05:00
</div>
2020-03-15 17:15:36 -04:00
<script src="/static/js/feed.js"></script>
2020-01-25 18:25:19 -05:00
{% endblock %}