aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--views/pages/list_settings.html49
1 files changed, 32 insertions, 17 deletions
diff --git a/views/pages/list_settings.html b/views/pages/list_settings.html
index 5612093..c74b3a9 100644
--- a/views/pages/list_settings.html
+++ b/views/pages/list_settings.html
@@ -12,7 +12,7 @@
12 <div class="container"> 12 <div class="container">
13 <h1 class="row valign-wrapper"><a href="/list/{{ .list.ID}}" class="col s1 btn purple lighten-4" style="width: auto"><i class="material-icons">arrow_back</i></a><span class="col s11"> Listeneinstellungen</span></h1> 13 <h1 class="row valign-wrapper"><a href="/list/{{ .list.ID}}" class="col s1 btn purple lighten-4" style="width: auto"><i class="material-icons">arrow_back</i></a><span class="col s11"> Listeneinstellungen</span></h1>
14 <div class="row"> 14 <div class="row">
15 <div class="col s12 m6 offset-m3 l4 offset-l4"> 15 <div class="col s12 m8 offset-m1">
16 {{ if .error }} 16 {{ if .error }}
17 <div class="col s12 m8 offset-m2"> 17 <div class="col s12 m8 offset-m2">
18 <div class="card red lighten-2"> 18 <div class="card red lighten-2">
@@ -23,25 +23,40 @@
23 </div> 23 </div>
24 </div> 24 </div>
25 {{ end }} 25 {{ end }}
26 <form method="POST" name="list" action=""> 26 <div class="row">
27 <div class="input-field col s12"> 27 <div class="col s12 m10 l8">
28 <i class="material-icons prefix">assignment_ind</i> 28 <form method="POST" name="list" action="">
29 <input id="name" name="name" type="text" placeholder="Name" class="{{ if .error_name }}invalid{{ end }}" value="{{ .list.Name }}"/> 29 <div class="input-field col s12">
30 <label for="name">Name</label> 30 <i class="material-icons prefix">assignment_ind</i>
31 <input id="name" name="name" type="text" placeholder="Name" class="{{ if .error_name }}invalid{{ end }}" value="{{ .list.Name }}"/>
32 <label for="name">Name</label>
33 </div>
34 <div class="input-field col s12">
35 <i class="material-icons prefix">mode_edit</i>
36 <textarea id="description" name="description" class="materialize-textarea {{ if .error_description }}invalid{{ end }}">{{ .list.Description }}</textarea>
37 <label for="description">Beschreibung</label>
38 </div>
39 <div class="col s12">
40 <div class="right-align">
41 <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action">
42 Speichern <i class="material-icons right">send</i>
43 </button>
44 </div>
45 </div>
46 </form>
31 </div> 47 </div>
32 <div class="input-field col s12"> 48 <div class="col s12 m2 l4">
33 <i class="material-icons prefix">mode_edit</i> 49 <div class="card red lighten-2">
34 <textarea id="description" name="description" class="materialize-textarea {{ if .error_description }}invalid{{ end }}">{{ .list.Description }}</textarea> 50 <div class="card-content white-text">
35 <label for="description">Beschreibung</label> 51 <span class="card-title">Liste löschen</span>
36 </div> 52 <p>Unwiderruflich und so. Beschwer dich nicht!</p>
37 <div class="col s12"> 53 </div>
38 <div class="right-align"> 54 <div class="card-action center-align">
39 <button class="btn waves-effect waves-light purple lighten-2" type="submit" name="action"> 55 <a class="btn red darken-1 white-text" href="/list/{{ .list.ID }}/delete">löschen</a>
40 Speichern <i class="material-icons right">send</i> 56 </div>
41 </button>
42 </div> 57 </div>
43 </div> 58 </div>
44 </form> 59 </div>
45 </div> 60 </div>
46 </div> 61 </div>
47 </div> 62 </div>