mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-26 03:21:05 +00:00
Display tweaks
This commit is contained in:
parent
d5d4582ed1
commit
c9fdec33c4
3 changed files with 16 additions and 2 deletions
14
bookwyrm/templates/get_started/book_preview.html
Normal file
14
bookwyrm/templates/get_started/book_preview.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
{% load i18n %}
|
||||
<div class="column is-narrow is-clipped has-text-centered">
|
||||
{% include 'snippets/book_cover.html' with book=book %}
|
||||
<label class="label" for="id_shelve_{{ book.id }}">
|
||||
<div class="select is-small">
|
||||
<select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}">
|
||||
<option value="">-</option>
|
||||
{% for shelf in request.user.shelf_set.all %}
|
||||
<option value="{{ shelf.id }}">{{ shelf.name }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -45,7 +45,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="button is-primary">{% trans "Save" %}</button>
|
||||
<button type="submit" class="button is-primary">{% trans "Save & continue" %}</button>
|
||||
</form>
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<h1 class="modal-card-title" id="get-started-header">
|
||||
{% trans "Getting Started" %}
|
||||
</h1>
|
||||
<button class="delete" aria-label="close"></button>
|
||||
<a href="/" class="delete" aria-label="close"></a>
|
||||
</header>
|
||||
<section class="modal-card-body">
|
||||
{% block panel %}{% endblock %}
|
||||
|
|
Loading…
Reference in a new issue