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

Add a lock icon for admin actions.

* src/cuirass/templates.scm (build-details, evaluation-info-table): Add lock
icons for admin actions.
parent efb140d3
No related branches found
No related tags found
No related merge requests found
......@@ -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 "" "" "" "")
......
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