From e72034c430eb8e78a87d4b1d312e4a9c11f3df14 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sun, 9 Feb 2020 15:44:18 +0100 Subject: Implement login --- templates/layout.html | 13 +++++++++++++ templates/login.html | 12 ++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 templates/layout.html create mode 100644 templates/login.html (limited to 'templates') diff --git a/templates/layout.html b/templates/layout.html new file mode 100644 index 0000000..dd20e7a --- /dev/null +++ b/templates/layout.html @@ -0,0 +1,13 @@ + + + + + {{template "title"}} + + + +
+ {{template "body" .}} +
+ + diff --git a/templates/login.html b/templates/login.html new file mode 100644 index 0000000..80642ea --- /dev/null +++ b/templates/login.html @@ -0,0 +1,12 @@ +{{define "title"}}Log in{{end}} + +{{define "body"}} +

Log in

+ +
+
{{ .ErrorMessage }}
+ Username:
+ Password:
+ +
+{{end}} -- cgit v1.2.3