aboutsummaryrefslogtreecommitdiff
path: root/views/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/user.html')
-rw-r--r--views/user.html22
1 files changed, 22 insertions, 0 deletions
diff --git a/views/user.html b/views/user.html
new file mode 100644
index 0000000..19ffff6
--- /dev/null
+++ b/views/user.html
@@ -0,0 +1,22 @@
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 <h1>{{ .DisplayUser.Name }}</h1>
12 <blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br />
13 <div class="row">
14 <h3>Listen von {{ .DisplayUser.Name }}</h3>
15 {{ range .Lists }}
16 {{ template "card" . }}
17 {{ end }}
18 </div>
19 </div>
20 </body>
21</html>
22{{ end }}