forked from mirrors/bookwyrm
[lint] Fix white spaces in HTML.
This commit is contained in:
parent
1cb84b0f62
commit
c370cad7f9
3 changed files with 18 additions and 13 deletions
|
@ -11,16 +11,16 @@
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
|
||||||
<label class="label" for="source">
|
<label class="label" for="source">
|
||||||
<p>{% trans "Data source" %}</p>
|
<p>{% trans "Data source" %}</p>
|
||||||
<div class="select {{ class }}">
|
<div class="select {{ class }}">
|
||||||
<select name="source" id="source">
|
<select name="source" id="source">
|
||||||
<option value="GoodReads" {% if current == 'GoodReads' %}selected{% endif %}>
|
<option value="GoodReads" {% if current == 'GoodReads' %}selected{% endif %}>
|
||||||
GoodReads
|
GoodReads
|
||||||
</option>
|
</option>
|
||||||
<option value="LibraryThing" {% if current == 'LibraryThing' %}selected{% endif %}>
|
<option value="LibraryThing" {% if current == 'LibraryThing' %}selected{% endif %}>
|
||||||
LibraryThing
|
LibraryThing
|
||||||
</option>
|
</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="navbar-end">
|
<div class="navbar-end">
|
||||||
{% if request.user.is_authenticated %}
|
{% if request.user.is_authenticated %}
|
||||||
<div class="navbar-item has-dropdown is-hoverable">
|
<div class="navbar-item has-dropdown is-hoverable">
|
||||||
<div class="navbar-link pulldown-menu" role="button" aria-expanded="false" tabindex="0" aria-haspopup="true" aria-controls="navbar-dropdown"><p>
|
<div class="navbar-link pulldown-menu" role="button" aria-expanded="false" tabindex="0" aria-haspopup="true" aria-controls="navbar-dropdown"><p>
|
||||||
{% include 'snippets/avatar.html' with user=request.user %}
|
{% include 'snippets/avatar.html' with user=request.user %}
|
||||||
|
|
|
@ -7,9 +7,14 @@
|
||||||
<div class="field has-addons mb-0">
|
<div class="field has-addons mb-0">
|
||||||
<div class="control">
|
<div class="control">
|
||||||
<input
|
<input
|
||||||
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
|
class="input is-small"
|
||||||
class="input is-small" type="number" min="0"
|
type="number"
|
||||||
name="progress" size="3" value="{{ readthrough.progress|default:'' }}">
|
name="progress"
|
||||||
|
value="{{ readthrough.progress|default:'' }}"
|
||||||
|
min="0"
|
||||||
|
size="3"
|
||||||
|
aria-label="{% if readthrough.progress_mode == 'PG' %}Current page{% else %}Percent read{% endif %}"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="control select is-small">
|
<div class="control select is-small">
|
||||||
<select name="progress_mode" aria-label="Progress mode">
|
<select name="progress_mode" aria-label="Progress mode">
|
||||||
|
|
Loading…
Reference in a new issue