blob: 21c33929804589add58e40c1de80ab1e1ad648b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{{ define "user" }}
<html>
<head>
{{ template "materialize" }}
<title>{{ .DisplayUser.Name }} - grilist</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
</head>
<body>
{{ template "navbar" . }}
<div class="container">
<div class="row" style="margin-top: 50px">
<span style="font-size: 4.2rem; line-height: 110%; margin: 2.1rem 1rem 1.68rem 0;">{{ .DisplayUser.Name }}</span>
{{ if and .user (eq .DisplayUser.ID .user.ID) }} <a class="btn waves-effect waves-light indigo lighten-5 black-text" style="margin-top: -1.68rem" href="/settings">Einstellungen</a>
{{ end }}
</div>
<blockquote>zuletzt gesehen: {{ .DisplayUser.LastActivity.Format "Mon Jan _2 15:04:05 2006" }}</blockquote><br />
<div class="row">
<h3>Listen von {{ .DisplayUser.Name }}</h3>
{{ range .Lists }}
{{ template "card" . }}
{{ end }}
</div>
</div>
</body>
</html>
{{ end }}
|