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.
This commit is contained in:
parent
b80461b75e
commit
6611151b7f
|
@ -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"))
|
||||
|
|
Loading…
Reference in New Issue