branch: master commit 6611151b7fa7b838704d40a7471b6ab93c4f5e14 Author: Ludovic Courtès <l...@gnu.org> AuthorDate: Sun Oct 29 17:20:42 2023 +0100
templates: Improve toggle button on evaluation and spec pages. The contrast icon was arguably misleading. * src/cuirass/templates.scm (specifications-table): Use ‘oi-dashboard’ rather than ‘oi-contrast’ for the toggle button; clarify ‘title’. (evaluation-info-table): Likewise. --- src/cuirass/templates.scm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/cuirass/templates.scm b/src/cuirass/templates.scm index dd99e87..d14e575 100644 --- a/src/cuirass/templates.scm +++ b/src/cuirass/templates.scm @@ -311,13 +311,13 @@ system whose names start with " (code "guile-") ":" (br) (role "button")) (i (@ (class "oi oi-rss text-warning py-1")) "")))) - ,(let ((name "Toggle jobs")) + ,(let ((name "Toggle between success rate and job count")) `(div (button (@ (class "btn btn-outline-primary job-toggle") (title ,name) (aria-label ,name) (type "button")) - (i (@ (class "oi oi-contrast d-inline-block py-1")) + (i (@ (class "oi oi-dashboard d-inline-block py-1")) ""))))) (table (@ (id "spec-table") @@ -1025,13 +1025,13 @@ the existing SPEC otherwise." (i (@ (class "oi oi-rss text-warning py-1") (aria-hidden "true")) "")))) - ,(let ((name "Toggle jobs")) + ,(let ((name "Toggle between build changes and build overview")) `(div (button (@ (class "btn btn-outline-primary job-toggle") (title ,name) (aria-label ,name) (type "button")) - (i (@ (class "oi oi-contrast d-inline-block py-1")) + (i (@ (class "oi oi-dashboard d-inline-block py-1")) ""))))) (table (@ (class "table table-sm table-hover table-striped"))