diff options
Diffstat (limited to 'guix-data-service/web/view/html.scm')
-rw-r--r-- | guix-data-service/web/view/html.scm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/guix-data-service/web/view/html.scm b/guix-data-service/web/view/html.scm index 0a9aabb..cec4c19 100644 --- a/guix-data-service/web/view/html.scm +++ b/guix-data-service/web/view/html.scm @@ -29,6 +29,7 @@ #:use-module (texinfo html) #:use-module (json) #:export (index + general-not-found unknown-revision view-statistics view-revision-package-and-version @@ -1389,6 +1390,15 @@ (take data 2)) (vlist->list target-packages-vhash)))))))))))) +(define (general-not-found header-text body) + (layout + #:body + `(,(header) + (div + (@ (class "container")) + (h1 ,header-text) + (p ,body))))) + (define (unknown-revision commit-hash job) (layout #:body |