moviewyrm/fedireads/templates/feed.html

36 lines
1,017 B
HTML
Raw Normal View History

2020-01-25 23:25:19 +00:00
{% extends 'layout.html' %}
2020-01-29 23:10:32 +00:00
{% load fr_display %}
2020-01-25 23:25:19 +00:00
{% block content %}
2020-02-21 23:39:25 +00:00
2020-03-15 21:15:36 +00:00
<div class="all-shelves content-container">
2020-03-16 23:10:59 +00:00
{% include 'snippets/covers_shelf.html' with shelves=shelves user=request.user %}
2020-03-15 21:15:36 +00:00
</div>
2020-01-25 23:25:19 +00:00
2020-03-15 21:15:36 +00: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-27 01:55:02 +00:00
</div>
2020-01-29 01:23:38 +00:00
</div>
2020-03-15 21:15:36 +00:00
{% endfor %}
{% endfor %}
2020-01-29 01:23:38 +00:00
<div id="feed">
2020-03-15 21:15:36 +00:00
<div class="content-container tabs">
{% include 'snippets/tabs.html' with tabs=feed_tabs active_tab=active_tab %}
2020-03-15 21:15:36 +00:00
</div>
2020-01-29 01:23:38 +00:00
2020-01-28 02:47:54 +00:00
{% for activity in activities %}
2020-03-15 21:15:36 +00:00
<div class="content-container">
{% include 'snippets/status.html' with status=activity %}
</div>
2020-01-28 02:47:54 +00:00
{% endfor %}
2020-01-25 23:25:19 +00:00
</div>
2020-03-15 21:15:36 +00:00
<script src="/static/js/feed.js"></script>
2020-01-25 23:25:19 +00:00
{% endblock %}