aboutsummaryrefslogtreecommitdiff
path: root/views/pages/create_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/pages/create_list.html')
-rw-r--r--views/pages/create_list.html46
1 files changed, 46 insertions, 0 deletions
diff --git a/views/pages/create_list.html b/views/pages/create_list.html
new file mode 100644
index 0000000..ead61dd
--- /dev/null
+++ b/views/pages/create_list.html
@@ -0,0 +1,46 @@
1{{ define "create_list" }}
2<html>
3 <head>
4 {{ template "materialize" }}
5 <title>grilist</title>
6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
7 </head>
8 <body>
9 {{ template "navbar" . }}
10 <div class="container">
11 <div class="row">
12 <div class="col s12 m8 offset-m2 l6 offset-l3">
13 {{ if .error }}
14 <div class="col s12 m8 offset-m2">
15 <div class="card red lighten-2">
16 <div class="card-content white-text">
17 <span class="card-title">Fehler</span>
18 <p>Es gab einen Fehler: {{ .error }}</p>
19 </div>
20 </div>
21 </div>
22 {{ end }}
23
24 <form method="POST" name="create-list" action="">
25 <div class="input-field col s12">
26 <i class="material-icons prefix">list</i>
27 <input name="name" type="text" placeholder="Name" class="validate"/>
28 </div>
29 <div class="input-field col s12">
30 <textarea id="description" name="description" class="materialize-textarea" style="padding-top: 32px"></textarea>
31 <label for="description">Beschreibung</label>
32 </div>
33 <div class="row col s12">
34 <div class="right-align">
35 <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action">
36 Erstellen <i class="material-icons right">send</i>
37 </button>
38 </div>
39 </div>
40 </form>
41 </div>
42 </div>
43 </div>
44 </body>
45</html>
46{{ end }}