diff options
author | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
---|---|---|
committer | rtz12 <koenig@fagott.pw> | 2016-01-17 20:31:26 (UTC) |
commit | 6cb2de0a1f583ef8d018e430181a7414fa7faff1 (patch) | |
tree | e2c60cc9ae28ef98bcc410e54b99a613b7267831 /views/login.html | |
parent | b868b32d348e6350225560b71c8712c2e932b063 (diff) |
Ordnung in die Templates gebracht
Diffstat (limited to 'views/login.html')
-rw-r--r-- | views/login.html | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/views/login.html b/views/login.html deleted file mode 100644 index 65c4857..0000000 --- a/views/login.html +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | {{ define "login" }} | ||
2 | <html> | ||
3 | <head> | ||
4 | <title>Grilist - Login</title> | ||
5 | {{ template "materialize" }} | ||
6 | </head> | ||
7 | <body> | ||
8 | <div class="row"> | ||
9 | <div class="col s12 m6 offset-m3 l4 offset-l4"> | ||
10 | <div class="row"> | ||
11 | <h1 class="center-align">grilist</h1> | ||
12 | {{ if .error }} | ||
13 | <div class="col s12 m8 offset-m2"> | ||
14 | <div class="card red lighten-2"> | ||
15 | <div class="card-content white-text"> | ||
16 | <span class="card-title">Fehler</span> | ||
17 | <p>Es gab einen Fehler: {{ .error }}</p> | ||
18 | </div> | ||
19 | </div> | ||
20 | </div> | ||
21 | {{ end }} | ||
22 | |||
23 | <form method="POST" name="login" action="#"> | ||
24 | <div class="input-field col s12"> | ||
25 | <i class="material-icons prefix">perm_identity</i> | ||
26 | <input name="username" type="text" placeholder="Benutzername" class="validate" value="{{ .previous_user }}"/> | ||
27 | </div> | ||
28 | <div class="input-field col s12"> | ||
29 | <i class="material-icons prefix">lock_outline</i> | ||
30 | <input name="password" type="password" placeholder="Passwort" class="validate" /> | ||
31 | </div> | ||
32 | <div class="row col s12"> | ||
33 | <div class="col s4"> | ||
34 | <a class="waves-effect waves-teal btn-flat" href="/register">Registrieren</a> | ||
35 | </div> | ||
36 | <div class="right-align"> | ||
37 | <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action"> | ||
38 | Login <i class="material-icons right">send</i> | ||
39 | </button> | ||
40 | </div> | ||
41 | </div> | ||
42 | </form> | ||
43 | </div> | ||
44 | </div> | ||
45 | </div> | ||
46 | </body> | ||
47 | </html> | ||
48 | {{ end }} | ||