aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-09 16:19:55 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-09 16:19:55 +0100
commit3fe43f85aefedc6223aee45171df483e2f57c381 (patch)
tree19e4fbb9e7708db40f238218d9bc961fcca3a1c9 /templates
parente72034c430eb8e78a87d4b1d312e4a9c11f3df14 (diff)
downloadguichet-3fe43f85aefedc6223aee45171df483e2f57c381.tar.gz
guichet-3fe43f85aefedc6223aee45171df483e2f57c381.zip
Integrate Bootstrap CSS
Diffstat (limited to 'templates')
-rw-r--r--templates/home.html7
-rw-r--r--templates/layout.html3
2 files changed, 9 insertions, 1 deletions
diff --git a/templates/home.html b/templates/home.html
new file mode 100644
index 0000000..0b39e11
--- /dev/null
+++ b/templates/home.html
@@ -0,0 +1,7 @@
+{{define "title"}}Guichet{{end}}
+
+{{define "body"}}
+<h1>Guichet</h1>
+
+Welcome, {{ .Username }}!
+{{end}}
diff --git a/templates/layout.html b/templates/layout.html
index dd20e7a..28cd262 100644
--- a/templates/layout.html
+++ b/templates/layout.html
@@ -3,7 +3,8 @@
<head>
<meta charset="utf-8">
<title>{{template "title"}}</title>
- <link rel="stylesheet" href="/static/style.css">
+ <link rel="stylesheet" href="/static/css/bootstrap.min.css">
+ <link rel="stylesheet" href="/static/css/main.css">
</head>
<body>
<div id="contents">