forked from mirrors/bookwyrm
Adds close button to suggested post window on mobile
This commit is contained in:
parent
a4e4d260df
commit
fdbce5d05e
2 changed files with 15 additions and 11 deletions
|
@ -44,18 +44,26 @@
|
|||
<div>
|
||||
<input class="toggle-control" type="radio" name="recent-books" id="book-{{ book.id }}" {% if shelf_counter == 1 and forloop.first %}checked{% endif %}>
|
||||
<div class="toggle-content hidden" role="tabpanel" id="book-{{ book.id }}-panel">
|
||||
<div class="box">
|
||||
<div class="block">
|
||||
{% include 'snippets/book_titleby.html' with book=book %}
|
||||
{% include 'snippets/shelve_button.html' with book=book %}
|
||||
<div class="card">
|
||||
<div class="card-header">
|
||||
<p class="card-header-title">
|
||||
<span>{% include 'snippets/book_titleby.html' with book=book %}</span>
|
||||
</>
|
||||
<div class="card-header-icon is-hidden-tablet">
|
||||
<label class="delete" for="no-book" aria-label="close" role="button"></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
{% include 'snippets/shelve_button.html' with book=book %}
|
||||
{% include 'snippets/create_status.html' with book=book %}
|
||||
</div>
|
||||
{% include 'snippets/create_status.html' with book=book %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
{% endwith %}
|
||||
{% endfor %}
|
||||
<input class="toggle-control" type="radio" name="recent-books" id="no-book" {% if shelf_counter == 1 and forloop.first %}checked{% endif %}>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
<span>
|
||||
<a href="/book/{{ book.id }}">{{ book.title }}</a>
|
||||
</span>
|
||||
<a href="/book/{{ book.id }}">{{ book.title }}</a>
|
||||
{% if book.authors %}
|
||||
<span>
|
||||
by {% include 'snippets/authors.html' with book=book %}
|
||||
</span>
|
||||
by {% include 'snippets/authors.html' with book=book %}
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue