aboutsummaryrefslogtreecommitdiff
path: root/web/view/brand/msk.scm
blob: c20d8d965998462237318ea5962d8e2675aacfb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
;; Branding module for MSK
(define-module (web view brand msk)
  #:use-module (json)
  #:use-module (ice-9 match)
  #:use-module (ice-9 format)
  #:use-module (ice-9 iconv)
  #:use-module (ice-9 receive)
  #:use-module (ice-9 string-fun)
  #:use-module (sxml simple)
  #:use-module (web sxml)
  #:export (msk-html))


(define* (msk-html #:key
                 (head '())
                 (body '())
                 (title "GN4MSK: GeneNetwork for Musculoskeletal Genetics")
                 (info "")
                 (meta "")
                 (data "")
                 (back "")
                 )
  `((doctype "html")
    (html (@ (lang "en"))
     (head
      (title ,title)
      (meta (@ (charset "utf-8")))
      (meta (@ (http-equiv "Content-Type") (content "text/html; charset=UTF-8")))
      (meta (@ (name "author") (content "GN4MSK team (https://msk.genenetwork.org/)")))
      (meta (@ (name "description") (content "The GN4MSK portal for muscuskeletal disease and model organisms")))
      (meta (@ (name "viewport")
               (content "width=device-width, initial-scale=1")))
      ; (meta (@ (http-equiv "refresh") (content "5")))
      (link
       (@ (rel "stylesheet")
          (media "screen")
          (type "text/css")
          (href "/css/pico.css")
          ))
      ,@head)
     (body
      (main (@ (class "container"))
       (article
        (img (@ (src "/static/images/GN4MSK.png")))
        (p ,info)
        (footer
       (hr)
       (p "Copyright © 2005-2023 "
          (a (@ (href "https://genenetwork.org/")) "GeneNetwork Webservices") " | GeneNetwork and this website runs fully on free software. See status and download the "
          (a (@ (href "https://ci.genenetwork.org/"))
             "source code") ".")))
        )))))