Mercurial > sci
diff themes/bulma/theme.js @ 28:4c16bb25e4f1
scid: implement themes in javascript
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 04 Aug 2022 06:09:54 +0200 |
parents | |
children | 695637f1d8a7 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/themes/bulma/theme.js Thu Aug 04 06:09:54 2022 +0200 @@ -0,0 +1,21 @@ +const header = "<!DOCTYPE html>" + + "<html>" + + " <head>" + + " <meta charset=\"utf-8\" />" + + " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />" + + " <title>sci</title>" + + " <link rel=\"stylesheet\" href=\"/static/bulma.min.css\" />" + + " </head>" + + "" + + " <body>" + + " <section class=\"section\">" + + " <div class=\"container\">" + +const footer = "</div>" + + " </section>" + + "</body>" + +function index(data) +{ + return header + footer; +}