aboutsummaryrefslogtreecommitdiff
path: root/views/pages
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-10-10 10:27:27 (UTC)
committerjan <jan@ruken.pw>2016-10-10 10:27:27 (UTC)
commit49f7ec4e634c22c07df461b45840e6bd0830a88b (patch)
treef8aab829197e345b9c1db33be907b8c1931b04d0 /views/pages
parent0e17ffc1f088bb8ff2a4199bef5ab2a9247374bc (diff)
view fuer list settings
Diffstat (limited to 'views/pages')
-rw-r--r--views/pages/list_settings.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/views/pages/list_settings.html b/views/pages/list_settings.html
new file mode 100644
index 0000000..0ce3860
--- /dev/null
+++ b/views/pages/list_settings.html
@@ -0,0 +1,49 @@
1{{ define "list_settings" }}
2<html>
3 <head>
4 {{ template "materialize" }}
5 {{ template "materialize_js" }}
6 <link rel="stylesheet" href="/assets/css/list.css" />
7 <title>{{ .list.Name }} Einstellungen - grilist</title>
8 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
9 </head>
10 <body>
11 {{ template "navbar" . }}
12 <div class="container">
13 <h1>Listeneinstellungen</h1>
14 <div class="row">
15 <div class="col s12 m6 offset-m3 l4 offset-l4">
16 {{ if .error }}
17 <div class="col s12 m8 offset-m2">
18 <div class="card red lighten-2">
19 <div class="card-content white-text">
20 <span class="card-title">Fehler</span>
21 <p>Es gab einen Fehler: {{ .error }}</p>
22 </div>
23 </div>
24 </div>
25 {{ end }}
26 <form method="POST" name="list" action="#">
27 <div class="input-field col s12">
28 <i class="material-icons prefix">assignment_ind</i>
29 <input name="name" type="text" placeholder="Name" class="validate" value="{{ .list.Name }}"/>
30 </div>
31 <div class="input-field col s12">
32 <i class="material-icons prefix">mode_edit</i>
33 <textarea id="description" name="description" class="materialize-textarea">{{ .list.Description }}</textarea>
34 <label for="description">Beschreibung</label>
35 </div>
36 <div class="col s12">
37 <div class="right-align">
38 <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action">
39 Speichern <i class="material-icons right">send</i>
40 </button>
41 </div>
42 </div>
43 </form>
44 </div>
45 </div>
46 </div>
47 </body>
48</html>
49{{ end }}