From 59a16b6179e1850242adcd0fb52225b3d8afadc9 Mon Sep 17 00:00:00 2001 From: Matt Baer Date: Wed, 18 Feb 2015 00:26:31 -0500 Subject: [PATCH] Add user map to where.html template --- templates/where.html | 18 ++++++++++++++++++ where/map.html | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 where/map.html diff --git a/templates/where.html b/templates/where.html index a93ced1..84ae6a3 100644 --- a/templates/where.html +++ b/templates/where.html @@ -12,11 +12,24 @@ } div.user h2 { margin: 0; + padding: 4px 0; + } + div.user h2 a { + padding-top: 4px; + padding-bottom: 4px; } span.time { + margin-top: 10px; float: right; color: #999; } + iframe { + width: 100%; + height: 50em; + } + p.emph { + font-size: 1.2em; + } @@ -26,12 +39,17 @@

Last Updated:

+

Users online now:

{{range .Users}}

~{{.Name}}

{{Location .Region .Country}} {{.CurrentTime}}
{{end}} +

All users - full map | data

+ + + {{end}} diff --git a/where/map.html b/where/map.html new file mode 100644 index 0000000..707c612 --- /dev/null +++ b/where/map.html @@ -0,0 +1,40 @@ + + + + + + + + +
+ +