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

Add a lock icon for admin actions.

* src/cuirass/templates.scm (build-details, evaluation-info-table): Add lock
icons for admin actions.
This commit is contained in:
Mathieu Othacehe 2021-02-19 09:19:09 +01:00
parent efb140d3d5
commit b200ea8947
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -302,10 +302,10 @@ system whose names start with " (code "guile-") ":" (br)
(aria-expanded "false"))
"Action")
(div (@ (class "dropdown-menu"))
(a (@ (class "dropdown-item")
(a (@ (class "oi oi-lock-locked dropdown-item")
(href "/admin/build/"
,(assq-ref build #:id) "/restart"))
"Restart"))))
" Restart"))))
(table
(@ (class "table table-sm table-hover"))
(tbody
@ -516,11 +516,11 @@ system whose names start with " (code "guile-") ":" (br)
(aria-expanded "false"))
" ")
(div (@ (class "dropdown-menu"))
(a (@ (class "dropdown-item")
(a (@ (class "oi oi-lock-locked dropdown-item")
(href "/admin/evaluation/"
,(assq-ref row #:id)
"/restart"))
"Restart"))))))
" Restart"))))))
evaluations)))))
,(if (null? evaluations)
(pagination "" "" "" "")