mirror of
https://github.com/thebaer/tildes.git
synced 2018-07-20 07:15:21 +00:00
38 lines
742 B
HTML
38 lines
742 B
HTML
{{define "where"}}
|
|
<html>
|
|
<head>
|
|
|
|
<title>$ where</title>
|
|
|
|
<link type="text/css" rel="stylesheet" href="tilde.css" />
|
|
<style type="text/css">
|
|
div.user {
|
|
margin: 0;
|
|
width: 50em;
|
|
}
|
|
div.user h2 {
|
|
margin: 0;
|
|
}
|
|
span.time {
|
|
float: right;
|
|
color: #999;
|
|
}
|
|
</style>
|
|
|
|
</head>
|
|
<body id="hello" class="user-list">
|
|
|
|
<h1>$ where</h1> <span class="updated"><a href="/~bear/">↑ up</a></span>
|
|
|
|
<p>Last Updated: <time datetime="{{.Updated}}">{{.UpdatedForHumans}}</time></p>
|
|
|
|
{{range .Users}}
|
|
<div class="user">
|
|
<h2><a href="/~{{.Name}}/">~{{.Name}}</a></h2> <span class="location">{{Location .Region .Country}} </span> <span class="time">{{.CurrentTime}}</span>
|
|
</div>
|
|
{{end}}
|
|
|
|
</body>
|
|
</html>
|
|
{{end}}
|