blob: 375ddddab33af71022116f2ba93318256b4ca893 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
{{ define "create_list" }}
<html>
<head>
{{ template "materialize" }}
<title>grilist</title>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body>
{{ template "navbar" . }}
<div class="container">
<div class="row">
<div class="col s12 m8 offset-m2 l6 offset-l3">
{{ if .error }}
<div class="col s12 m8 offset-m2">
<div class="card red lighten-2">
<div class="card-content white-text">
<span class="card-title">Fehler</span>
<p>Es gab einen Fehler: {{ .error }}</p>
</div>
</div>
</div>
{{ end }}
<form method="POST" name="create-list" action="">
<div class="input-field col s12">
<i class="material-icons prefix">list</i>
<input name="name" type="text" placeholder="Name" class="validate"/>
</div>
<div class="input-field col s12">
<textarea id="description" name="description" class="materialize-textarea" style="padding-top: 32px"></textarea>
<label for="description">Beschreibung</label>
</div>
<div class="row col s12">
<div class="right-align">
<button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action">
Erstellen <i class="material-icons right">send</i>
</button>
</div>
</div>
</form>
</div>
</div>
</div>
</body>
</html>
{{ end }}
|