-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: use
@title
instead of tooltip for better accessibility
- Set title and remove tooltip for pagination settings - Modularize html for pagination options Resolves: #112
- Loading branch information
1 parent
8519b8b
commit 7243806
Showing
2 changed files
with
58 additions
and
50 deletions.
There are no files selected for viewing
32 changes: 32 additions & 0 deletions
32
web-app/django/VIM/apps/instruments/templates/instruments/includes/paginationOptions.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<div | ||
class="me-2 mb-1 d-flex align-items-center justify-content-end view-per-page" | ||
> | ||
<span class="text-start">View</span> | ||
<input | ||
type="radio" | ||
class="btn-check option-radio" | ||
name="options-group2" | ||
id="20" | ||
autocomplete="off" | ||
/> | ||
<label class="btn" title="View 20 entries per page" for="20">20</label> | ||
<label class="col-form-label mb-1">|</label> | ||
<input | ||
type="radio" | ||
class="btn-check option-radio" | ||
name="options-group2" | ||
id="50" | ||
autocomplete="off" | ||
/> | ||
<label class="btn" title="View 50 entries per page" for="50">50</label> | ||
<label class="col-form-label mb-1">|</label> | ||
<input | ||
type="radio" | ||
class="btn-check option-radio" | ||
name="options-group2" | ||
id="100" | ||
autocomplete="off" | ||
/> | ||
<label class="btn" title="View 100 entries per page" for="100">100</label> | ||
<span class="text-end">per page</span> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters