From 72438066604313f715d086e741916d172d1bde7d Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Mon, 15 Jul 2024 12:01:06 -0400 Subject: [PATCH] fix: use `@title` instead of tooltip for better accessibility - Set title and remove tooltip for pagination settings - Modularize html for pagination options Resolves: #112 --- .../includes/paginationOptions.html | 32 ++++++++ .../templates/instruments/index.html | 76 +++++++------------ 2 files changed, 58 insertions(+), 50 deletions(-) create mode 100644 web-app/django/VIM/apps/instruments/templates/instruments/includes/paginationOptions.html diff --git a/web-app/django/VIM/apps/instruments/templates/instruments/includes/paginationOptions.html b/web-app/django/VIM/apps/instruments/templates/instruments/includes/paginationOptions.html new file mode 100644 index 0000000..f38d908 --- /dev/null +++ b/web-app/django/VIM/apps/instruments/templates/instruments/includes/paginationOptions.html @@ -0,0 +1,32 @@ +
+ View + + + + + + + + + per page +
diff --git a/web-app/django/VIM/apps/instruments/templates/instruments/index.html b/web-app/django/VIM/apps/instruments/templates/instruments/index.html index ef88b8d..0cd959a 100644 --- a/web-app/django/VIM/apps/instruments/templates/instruments/index.html +++ b/web-app/django/VIM/apps/instruments/templates/instruments/index.html @@ -9,7 +9,7 @@ {% endblock %} - + {% block content %}
@@ -70,15 +70,15 @@

######

{% endcomment %}
- +