aboutsummaryrefslogtreecommitdiff
path: root/views/user.html
blob: 7071fa8a0d9a56b961b6147766c60fa038a53dcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{{ 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">
			<h1>{{ .DisplayUser.Name }}{{ if eq .DisplayUser .user }}&nbsp;&nbsp;<a class="btn-large waves-effect waves-light indigo lighten-5" href="/settings">Einstellungen</a>{{ end }}</h1>
			<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 }}