added labels to batch-select checkboxes

This commit is contained in:
Richard Schreiber
2021-02-19 11:00:38 +01:00
parent c9f89dc920
commit 78f2581bb8
2 changed files with 9 additions and 2 deletions

View File

@@ -59,7 +59,7 @@
<tr> <tr>
<th> <th>
{% if "can_change_event_settings" in request.eventpermset %} {% if "can_change_event_settings" in request.eventpermset %}
<input type="checkbox" data-toggle-table/> <label aria-label="{% trans "select all rows for batch-operation" %}" class="batch-select-label"><input type="checkbox" data-toggle-table/></label>
{% endif %} {% endif %}
</th> </th>
<th> <th>
@@ -88,7 +88,7 @@
<tr> <tr>
<td> <td>
{% if "can_change_event_settings" in request.eventpermset %} {% if "can_change_event_settings" in request.eventpermset %}
<input type="checkbox" name="subevent" class="" value="{{ s.pk }}"/> <label aria-label="{% trans "select row for batch-operation" %}" class="batch-select-label"><input type="checkbox" name="subevent" class="" value="{{ s.pk }}"/></label>
{% endif %} {% endif %}
</td> </td>
<td> <td>

View File

@@ -613,3 +613,10 @@ table td > .checkbox input[type="checkbox"] {
border-bottom: 1px solid $input-border; border-bottom: 1px solid $input-border;
padding-bottom: 5px; padding-bottom: 5px;
} }
.batch-select-label {
display: block;
width: 100%;
height: 1.5em;
cursor: pointer;
}