moviewyrm/bookwyrm/templates/discover/discover.html

92 lines
3.3 KiB
HTML
Raw Normal View History

2021-08-07 19:33:45 +00:00
{% extends "layout.html" %}
{% load i18n %}
{% block title %}{% trans "Discover" %}{% endblock %}
{% block content %}
2021-08-07 21:38:19 +00:00
<section class="block">
<header class="block content has-text-centered">
<h1 class="title">{% trans "Discover" %}</h1>
<p class="subtitle">
{% blocktrans trimmed with site_name=site.name %}
See what's new in the local {{ site_name }} community
{% endblocktrans %}
</p>
</header>
2021-08-07 19:33:45 +00:00
{% with tile_classes="tile is-child box has-background-secondary is-clipped" %}
2021-08-07 21:38:19 +00:00
<div class="tile is-ancestor">
<div class="tile is-6 is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.0 %}
2021-08-07 19:33:45 +00:00
</div>
</div>
2021-08-07 21:38:19 +00:00
<div class="tile is-6 is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.1 %}
</div>
</div>
</div>
<div class="tile is-ancestor">
<div class="tile is-vertical is-6">
<div class="tile is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.2 %}
2021-08-07 19:33:45 +00:00
</div>
</div>
2021-08-07 21:38:19 +00:00
<div class="tile">
<div class="tile is-parent is-6">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/small-book.html' with status=small_activities.0 %}
</div>
</div>
<div class="tile is-parent is-6">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/small-book.html' with status=small_activities.1 %}
</div>
2021-08-07 19:33:45 +00:00
</div>
</div>
</div>
2021-08-07 21:38:19 +00:00
<div class="tile is-vertical is-6">
<div class="tile">
<div class="tile is-parent is-6">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/small-book.html' with status=small_activities.2 %}
</div>
</div>
<div class="tile is-parent is-6">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/small-book.html' with status=small_activities.3 %}
</div>
2021-08-07 19:33:45 +00:00
</div>
</div>
2021-08-07 21:38:19 +00:00
<div class="tile is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.3 %}
2021-08-07 19:33:45 +00:00
</div>
</div>
</div>
2021-08-07 21:38:19 +00:00
</div>
<div class="tile is-ancestor">
<div class="tile is-6 is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.4 %}
</div>
</div>
<div class="tile is-6 is-parent">
2021-09-19 16:21:13 +00:00
<div class="{{ tile_classes }}">
2021-08-07 21:38:19 +00:00
{% include 'discover/large-book.html' with status=large_activities.5 %}
2021-08-07 19:33:45 +00:00
</div>
</div>
</div>
2021-09-19 16:21:13 +00:00
{% endwith %}
2021-08-07 19:33:45 +00:00
</section>
2021-08-07 21:38:19 +00:00
<div class="block">
{% include 'snippets/pagination.html' with page=large_activities %}
</div>
2021-08-07 19:33:45 +00:00
{% endblock %}