diff options
Diffstat (limited to 'sklad/base.tmpl')
-rw-r--r-- | sklad/base.tmpl | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/sklad/base.tmpl b/sklad/base.tmpl new file mode 100644 index 0000000..2070d6e --- /dev/null +++ b/sklad/base.tmpl @@ -0,0 +1,25 @@ +<!DOCTYPE html> +<html> +<head> + <title>{{ template "Title" }} - sklad</title> + <meta http-equiv=Content-Type content="text/html; charset=utf-8"> + <style> + html, body { min-height: 100vh; } + body { padding: 1em; box-sizing: border-box; + margin: 0 auto; max-width: 50em; + border-left: 1px solid gray; border-right: 1px solid gray; + font-family: sans-serif; } + </style> +</head> +<body> +<h1>sklad</h1> + +{{ if .LoggedIn }} +<form method=post action=/logout> +<input type=submit value="Odhlásit"> +</form> +{{ end }} + +{{ template "Content" . }} +</body> +</html> |