Merge pull request #808 from mouse-reeve/ui-small-fixes

UI small fixes
This commit is contained in:
Mouse Reeve 2021-03-28 11:47:35 -07:00 committed by GitHub
commit fcce8f4cbf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 8 deletions

View file

@ -35,10 +35,14 @@
</div>
<div class="columns">
<div class="column is-one-fifth is-clipped">
{% include 'snippets/book_cover.html' with book=book size=large %}
{% include 'snippets/rate_action.html' with user=request.user book=book %}
{% include 'snippets/shelve_button/shelve_button.html' %}
<div class="column is-one-fifth">
<div class="is-clipped">
{% include 'snippets/book_cover.html' with book=book size=large %}
{% include 'snippets/rate_action.html' with user=request.user book=book %}
</div>
<div class="mb-3">
{% include 'snippets/shelve_button/shelve_button.html' %}
</div>
{% if request.user.is_authenticated and not book.cover %}
<div class="block">
@ -48,7 +52,7 @@
</div>
{% endif %}
<section class="content">
<section class="content is-clipped">
<dl>
{% if book.isbn_13 %}
<div class="is-flex is-justify-content-space-between is-align-items-center">

View file

@ -23,7 +23,7 @@
{% trans "Ignored Invite Requests" %}
{% else %}
{% trans "Invite Requests" %}
{% endif %}
{% endif %} ({{ count }})
</h2>
<table class="table is-striped">

View file

@ -2,7 +2,7 @@
{% load i18n %}
{% load bookwyrm_tags %}
{% if books|length > 0 %}
<div class="table-container">
<div class="scroll-x">
<table class="table is-striped is-fullwidth">
<tr class="book-preview">

View file

@ -28,7 +28,7 @@
{% if status.quote %}
<div class="quote block">
<blockquote dir="auto">{{ status.quote | safe }}</blockquote>
<blockquote dir="auto" class="mb-2">{{ status.quote | safe }}</blockquote>
<p> &mdash; {% include 'snippets/book_titleby.html' with book=status.book %}</p>
</div>

View file

@ -101,6 +101,7 @@ class ManageInviteRequests(View):
data = {
"ignored": ignored,
"count": paginated.count,
"requests": paginated.page(page),
}
return TemplateResponse(request, "settings/manage_invite_requests.html", data)