diff options
Diffstat (limited to 'views/user.html')
-rw-r--r-- | views/user.html | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/views/user.html b/views/user.html deleted file mode 100644 index 2cf9c54..0000000 --- a/views/user.html +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | {{ define "user" }} | ||
2 | <html> | ||
3 | <head> | ||
4 | {{ template "materialize" }} | ||
5 | <title>{{ .DisplayUser.Name }} - 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" style="margin-top: 50px; line-height: 500%; "> | ||
12 | <span style="font-size: 4.2rem; margin: 2.1rem 1rem 1.68rem 0;">{{ .DisplayUser.GetName }}</span> | ||
13 | {{ if .user }} | ||
14 | {{ if eq .DisplayUser.ID .user.ID }} | ||
15 | <a class="btn waves-effect waves-light indigo lighten-5 black-text" style="margin-top: -1.68rem" href="/settings">Einstellungen</a> | ||
16 | {{ end }} | ||
17 | {{ end }} | ||
18 | </div> | ||
19 | <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br /> | ||
20 | <div class="row"> | ||
21 | <h3>Listen von {{ .DisplayUser.GetName }}</h3> | ||
22 | {{ range .Lists }} | ||
23 | {{ template "card" . }} | ||
24 | {{ end }} | ||
25 | </div> | ||
26 | </div> | ||
27 | </body> | ||
28 | </html> | ||
29 | {{ end }} | ||