Update progress with comments

This commit is contained in:
Mouse Reeve
2021-03-20 17:34:58 -07:00
parent 942c4a6664
commit daa0268eb3
5 changed files with 41 additions and 3 deletions

View File

@ -60,13 +60,14 @@
{% with readthrough=book.latest_readthrough %}
<div class="field">
<label class="label" for="progress">{% trans "Progress:" %}</label>
<input type="hidden" name="id" value="{{ readthrough.id }}"/>
<label class="label" for="progress-{{ uuid }}">{% trans "Progress:" %}</label>
<div class="field has-addons mb-0">
<div class="control">
<input
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
class="input" type="number" min="0"
name="progress" size="3" value="{{ readthrough.progress|default:'' }}">
name="progress" size="3" value="{{ readthrough.progress|default:'' }}" id="progress-{{ uuid }}">
</div>
<div class="control select">
<select name="progress_mode" aria-label="Progress mode">