25 lines
999 B
Plaintext
25 lines
999 B
Plaintext
import Widget from require "lapis.html"
|
|
|
|
csrf = require "lapis.csrf"
|
|
config = require("lapis.config").get!
|
|
|
|
class extends Widget
|
|
content: =>
|
|
html_5 ->
|
|
head ->
|
|
meta charset: "utf-8"
|
|
meta name: "viewport", content: "width=device-width, initial-scale=1"
|
|
if @title
|
|
title "#{@title} - Simplex"
|
|
else
|
|
title "Simplex"
|
|
-- Milligram CSS framework
|
|
link rel: "stylesheet", href: "https://fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic"
|
|
link rel: "stylesheet", href: "https://cdn.rawgit.com/necolas/normalize.css/master/normalize.css"
|
|
link rel: "stylesheet", href: "https://cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css"
|
|
-- JQuery
|
|
script src: "https://code.jquery.com/jquery-3.3.1.min.js", integrity: "sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=", crossorigin: "anonymous"
|
|
body ->
|
|
div class: "container", ->
|
|
@content_for "inner"
|