forked from mirrors/bookwyrm
Set tabbing on shelve button items
This commit is contained in:
parent
096d5008c3
commit
36dc41620a
2 changed files with 5 additions and 5 deletions
|
@ -9,12 +9,12 @@
|
||||||
<span>Read</span> <span class="icon icon-check"></span>
|
<span>Read</span> <span class="icon icon-check"></span>
|
||||||
</button>
|
</button>
|
||||||
{% elif active_shelf.identifier == 'reading' %}
|
{% elif active_shelf.identifier == 'reading' %}
|
||||||
<label class="button is-small" for="finish-reading-{{ uuid }}" role="button">
|
<label class="button is-small" for="finish-reading-{{ uuid }}" role="button" tabindex="0">
|
||||||
I'm done!
|
I'm done!
|
||||||
</label>
|
</label>
|
||||||
{% include 'snippets/finish_reading_modal.html' %}
|
{% include 'snippets/finish_reading_modal.html' %}
|
||||||
{% elif active_shelf.identifier == 'to-read' %}
|
{% elif active_shelf.identifier == 'to-read' %}
|
||||||
<label class="button is-small" for="start-reading-{{ uuid }}" role="button">
|
<label class="button is-small" for="start-reading-{{ uuid }}" role="button" tabindex="0">
|
||||||
Start reading
|
Start reading
|
||||||
</label>
|
</label>
|
||||||
{% include 'snippets/start_reading_modal.html' %}
|
{% include 'snippets/start_reading_modal.html' %}
|
||||||
|
@ -40,7 +40,7 @@
|
||||||
<li>
|
<li>
|
||||||
{% if shelf.identifier == 'reading' and active_shelf.identifier != 'reading' %}
|
{% if shelf.identifier == 'reading' and active_shelf.identifier != 'reading' %}
|
||||||
<div class="dropdown-item pt-0 pb-0">
|
<div class="dropdown-item pt-0 pb-0">
|
||||||
<label class="button is-small" for="start-reading-{{ uuid }}" role="button">
|
<label class="button is-small" for="start-reading-{{ uuid }}" role="button" tabindex="0">
|
||||||
{{ shelf.name }}
|
{{ shelf.name }}
|
||||||
</label>
|
</label>
|
||||||
{% include 'snippets/start_reading_modal.html' %}
|
{% include 'snippets/start_reading_modal.html' %}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="modal-card">
|
<div class="modal-card">
|
||||||
<header class="modal-card-head">
|
<header class="modal-card-head">
|
||||||
<p class="modal-card-title">Start "{{ book.title }}"</p>
|
<p class="modal-card-title">Start "{{ book.title }}"</p>
|
||||||
<label class="delete" for="start-reading-{{ uuid }}" aria-label="close" role="button"></label>
|
<label class="delete" for="start-reading-{{ uuid }}" aria-label="close" role="button" tabindex="0"></label>
|
||||||
</header>
|
</header>
|
||||||
<form name="start-reading" action="/start-reading" method="post">
|
<form name="start-reading" action="/start-reading" method="post">
|
||||||
<section class="modal-card-body">
|
<section class="modal-card-body">
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<button class="button is-success" type="submit">Save</button>
|
<button class="button is-success" type="submit">Save</button>
|
||||||
<label for="start-reading-{{ uuid }}" class="button" role="button">Cancel</button>
|
<label for="start-reading-{{ uuid }}" class="button" role="button" tabindex="0">Cancel</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
Loading…
Reference in a new issue