aboutsummaryrefslogtreecommitdiff
path: root/views/register.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/register.html')
-rw-r--r--views/register.html52
1 files changed, 0 insertions, 52 deletions
diff --git a/views/register.html b/views/register.html
deleted file mode 100644
index b946518..0000000
--- a/views/register.html
+++ /dev/null
@@ -1,52 +0,0 @@
1{{ define "register" }}
2<html>
3 <head>
4 <title>Grilist - Registration</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="registration" action="#">
24 <div class="input-field col s12">
25 <i class="material-icons prefix">perm_identity</i>
26 <input name="username" type="text" placeholder="Username" 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="Password" class="validate" />
31 </div>
32 <div class="input-field col s12">
33 <i class="material-icons prefix">email</i>
34 <input name="email" type="email" placeholder="E-Mail" class="validate">
35 </div>
36 <div class="row col s12">
37 <div class="col s4">
38 <a class="waves-effect waves-teal btn-flat" href="/">Cancel</a>
39 </div>
40 <div class="right-align">
41 <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action">
42 Register <i class="material-icons right">send</i>
43 </button>
44 </div>
45 </div>
46 </form>
47 </div>
48 </div>
49 </div>
50 </body>
51</html>
52{{ end }} \ No newline at end of file