diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 11:46:22 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-08-30 11:46:22 +0200 |
commit | 5c0a901b1b3e522ed523e966feb9901b8c7e01ff (patch) | |
tree | 736a57beb2a341005ec230c74a91d0613ed4d93b /tpls | |
parent | 8e7883db8b21fdb2190bfcaafa7f3ee6788eb290 (diff) | |
download | mailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.tar.gz mailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.tar.bz2 mailremind-5c0a901b1b3e522ed523e966feb9901b8c7e01ff.zip |
Login implemented
Diffstat (limited to 'tpls')
-rw-r--r-- | tpls/login.tpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tpls/login.tpl b/tpls/login.tpl new file mode 100644 index 0000000..34541e4 --- /dev/null +++ b/tpls/login.tpl @@ -0,0 +1,17 @@ +{{define "title"}}Login{{end}} + +{{define "content"}} + {{if .Error}} + <div class="error">{{.Error}}</div> + {{end}} + + {{if .Success}} + <div class="success">{{.Success}}</div> + {{else}} + <form action="/login" method="post" accept-charset="UTF-8"> + <p><strong>E-Mail</strong> <input type="text" name="Mail" /></p> + <p><strong>Password</strong> <input type="password" name="Password" /></p> + <p><input type="submit" /></p> + </form> + {{end}} +{{end}}
\ No newline at end of file |