forked from mirrors/bookwyrm
Add initial inline progress update
Doesn't work yet
This commit is contained in:
parent
ff7d87b1c4
commit
a579ea52f4
3 changed files with 22 additions and 0 deletions
|
@ -57,6 +57,19 @@ input.toggle-control:checked ~ .modal.toggle-content {
|
|||
content: '\e9d7';
|
||||
}
|
||||
|
||||
/* progress update */
|
||||
.progress-update {
|
||||
padding: 0 0.5rem;
|
||||
}
|
||||
.progress-update.is-small,
|
||||
.progress-update input.is-small {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.progress-update input {
|
||||
width: 3em;
|
||||
}
|
||||
|
||||
|
||||
/* --- BOOK COVERS --- */
|
||||
.cover-container {
|
||||
|
|
5
bookwyrm/templates/snippets/progress_update.html
Normal file
5
bookwyrm/templates/snippets/progress_update.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<div class="progress-update is-small">
|
||||
on page
|
||||
<input class="is-small" type="text" size="3">
|
||||
of
|
||||
</div>
|
|
@ -63,6 +63,10 @@
|
|||
</div>
|
||||
{% endwith %}
|
||||
</div>
|
||||
|
||||
{% if active_shelf.identifier == 'reading' %}
|
||||
{% include 'snippets/progress_update.html' %}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue