aboutsummaryrefslogtreecommitdiff
path: root/views/pages/user.html
diff options
context:
space:
mode:
Diffstat (limited to 'views/pages/user.html')
-rw-r--r--views/pages/user.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/views/pages/user.html b/views/pages/user.html
new file mode 100644
index 0000000..2cf9c54
--- /dev/null
+++ b/views/pages/user.html
@@ -0,0 +1,29 @@
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 &nbsp;&nbsp;<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 }}