You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by ki...@apache.org on 2024/03/27 10:45:30 UTC

(jena) 01/01: GH-2370: Add tooltip to progress bars (via title attr)

This is an automated email from the ASF dual-hosted git repository.

kinow pushed a commit to branch gh-2370
in repository https://gitbox.apache.org/repos/asf/jena.git

commit bfbd98f9e480d75d92594789d7a226337dd4f18a
Author: Bruno P. Kinoshita <ki...@users.noreply.github.com>
AuthorDate: Wed Mar 27 11:45:15 2024 +0100

    GH-2370: Add tooltip to progress bars (via title attr)
---
 jena-fuseki2/jena-fuseki-ui/src/views/dataset/Upload.vue | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/jena-fuseki2/jena-fuseki-ui/src/views/dataset/Upload.vue b/jena-fuseki2/jena-fuseki-ui/src/views/dataset/Upload.vue
index 3f756315c3..028b2d4f44 100644
--- a/jena-fuseki2/jena-fuseki-ui/src/views/dataset/Upload.vue
+++ b/jena-fuseki2/jena-fuseki-ui/src/views/dataset/Upload.vue
@@ -122,20 +122,22 @@
                   <div class="pt-2 pb-2">
                     <div class="progress" style="height: 1.5rem;">
                       <div
-                        class="progress-bar"
-                        role="progressbar"
                         :style="`width: ${uploadSucceededPercentage}%`"
                         :aria-valuenow="uploadSucceededPercentage"
+                        :title="`${uploadSucceededCount}/${uploadCount}`"
+                        class="progress-bar"
+                        role="progressbar"
                         aria-valuemin="0"
                         aria-valuemax="100"
                       >
                         {{ uploadSucceededCount }}/{{ uploadCount }}
                       </div>
                       <div
-                        class="progress-bar bg-danger"
-                        role="progressbar"
                         :style="`width: ${uploadFailedPercentage}%`"
                         :aria-valuenow="uploadFailedPercentage"
+                        :title="`${uploadFailedCount}/${uploadCount}`"
+                        class="progress-bar bg-danger"
+                        role="progressbar"
                         aria-valuemin="0"
                         aria-valuemax="100"
                       >