diff options
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 | 
