aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cuirass/http.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/cuirass/http.scm b/src/cuirass/http.scm
index d1362b5..7579e1a 100644
--- a/src/cuirass/http.scm
+++ b/src/cuirass/http.scm
@@ -284,6 +284,12 @@ Hydra format."
"Cuirass [Admin]"
(specifications-table (db-get-specifications) 'admin)
'())))
+ (('GET "admin")
+ (respond-html (html-page
+ "Cuirass [Admin]"
+ `(ul (li (a (@ (href "/admin/specifications"))
+ "Edit specifications")))
+ '())))
(('GET (or "jobsets" "specifications") . rest)
(respond-json (object->json-string
(list->vector (db-get-specifications)))))