2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/guix-cuirass.git synced 2023-12-14 06:03:04 +01:00

Move weather icon next to build status icon.

* src/cuirass/templates.scm (build-details): Move the weather icon.
This commit is contained in:
Mathieu Othacehe 2021-02-01 19:02:27 +01:00
parent 79b77b4377
commit f6662298c9
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -550,13 +550,13 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
(define (table-header)
`(thead
(tr
(th (@ (scope "col") (class "border-0")) '())
(th (@ (scope "col") (class "border-0")) '())
(th (@ (scope "col") (class "border-0")) "ID")
(th (@ (scope "col") (class "border-0")) "Specification")
(th (@ (scope "col") (class "border-0")) "Completion time")
(th (@ (scope "col") (class "border-0")) "Job")
(th (@ (scope "col") (class "border-0")) "Name")
(th (@ (scope "col") (class "border-0")) "Weather")
(th (@ (scope "col") (class "border-0")) "System")
(th (@ (scope "col") (class "border-0")) "Log"))))
@ -576,6 +576,10 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
(title ,(status-title status))
(aria-hidden "true"))
""))
(td (span (@ (class ,(weather-class weather))
(title ,(weather-title weather))
(aria-hidden "true"))
""))
(th (@ (scope "row"))
(a (@ (href "/build/" ,(assq-ref build #:id) "/details"))
,(assq-ref build #:id)))
@ -585,10 +589,6 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
"—"))
(td ,(assq-ref build #:job))
(td ,(assq-ref build #:nixname))
(td (span (@ (class ,(weather-class weather))
(title ,(weather-title weather))
(aria-hidden "true"))
""))
(td ,(assq-ref build #:system))
(td (a (@ (href "/build/" ,(assq-ref build #:id) "/log/raw"))
"raw"))))