Cleans up ui navigation

This commit is contained in:
Mouse Reeve 2021-04-01 09:46:18 -07:00
parent 19c2c7f67c
commit bb5aec18f1
2 changed files with 3 additions and 3 deletions

View file

@ -4,7 +4,7 @@
<label class="label" for="id_shelve_{{ book.id }}"> <label class="label" for="id_shelve_{{ book.id }}">
<div class="select is-small"> <div class="select is-small">
<select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}"> <select name="{{ book.id }}" aria-label="{% blocktrans with book_title=book.title %}Have you read {{ book_title }}?{% endblocktrans %}">
<option value="">-</option> <option disabled selected value>Add to your books</option>
{% for shelf in request.user.shelf_set.all %} {% for shelf in request.user.shelf_set.all %}
<option value="{{ shelf.id }}">{{ shelf.name }}</option> <option value="{{ shelf.id }}">{{ shelf.name }}</option>
{% endfor %} {% endfor %}

View file

@ -12,7 +12,7 @@
<h1 class="modal-card-title" id="get-started-header"> <h1 class="modal-card-title" id="get-started-header">
{% trans "Getting Started" %} {% trans "Getting Started" %}
</h1> </h1>
<a href="/" class="delete" aria-label="close"></a> <a href="/" class="delete" aria-label="{% trans 'Close' %}"></a>
</header> </header>
<section class="modal-card-body"> <section class="modal-card-body">
{% block panel %}{% endblock %} {% block panel %}{% endblock %}
@ -45,7 +45,7 @@
{% endif %} {% endif %}
</footer> </footer>
</div> </div>
<a href="/" class="modal-close is-large" aria-label="close"></a> <a href="/" class="modal-close is-large" aria-label="{% trans 'Close' %}"></a>
</div> </div>
{% endwith %} {% endwith %}
{% endblock %} {% endblock %}