Skip to content
Snippets Groups Projects
Unverified Commit f6662298 authored by Mathieu Othacehe's avatar Mathieu Othacehe
Browse files

Move weather icon next to build status icon.

* src/cuirass/templates.scm (build-details): Move the weather icon.
parent 79b77b43
No related branches found
No related tags found
No related merge requests found
...@@ -550,13 +550,13 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs." ...@@ -550,13 +550,13 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
(define (table-header) (define (table-header)
`(thead `(thead
(tr (tr
(th (@ (scope "col") (class "border-0")) '())
(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")) "ID")
(th (@ (scope "col") (class "border-0")) "Specification") (th (@ (scope "col") (class "border-0")) "Specification")
(th (@ (scope "col") (class "border-0")) "Completion time") (th (@ (scope "col") (class "border-0")) "Completion time")
(th (@ (scope "col") (class "border-0")) "Job") (th (@ (scope "col") (class "border-0")) "Job")
(th (@ (scope "col") (class "border-0")) "Name") (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")) "System")
(th (@ (scope "col") (class "border-0")) "Log")))) (th (@ (scope "col") (class "border-0")) "Log"))))
...@@ -576,6 +576,10 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs." ...@@ -576,6 +576,10 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
(title ,(status-title status)) (title ,(status-title status))
(aria-hidden "true")) (aria-hidden "true"))
"")) ""))
(td (span (@ (class ,(weather-class weather))
(title ,(weather-title weather))
(aria-hidden "true"))
""))
(th (@ (scope "row")) (th (@ (scope "row"))
(a (@ (href "/build/" ,(assq-ref build #:id) "/details")) (a (@ (href "/build/" ,(assq-ref build #:id) "/details"))
,(assq-ref build #:id))) ,(assq-ref build #:id)))
...@@ -585,10 +589,6 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs." ...@@ -585,10 +589,6 @@ and BUILD-MAX are global minimal and maximal (stoptime, rowid) pairs."
"—")) "—"))
(td ,(assq-ref build #:job)) (td ,(assq-ref build #:job))
(td ,(assq-ref build #:nixname)) (td ,(assq-ref build #:nixname))
(td (span (@ (class ,(weather-class weather))
(title ,(weather-title weather))
(aria-hidden "true"))
""))
(td ,(assq-ref build #:system)) (td ,(assq-ref build #:system))
(td (a (@ (href "/build/" ,(assq-ref build #:id) "/log/raw")) (td (a (@ (href "/build/" ,(assq-ref build #:id) "/log/raw"))
"raw")))) "raw"))))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment