summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 6e36f61..1b7e034 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -8,11 +8,17 @@
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.11.2/mapbox-gl.css' rel='stylesheet' />
<style>
body { margin:0; padding:0; }
+ #datetime { position:fixed; color: #ee8877; z-index: 100; font-family: monospace; padding: 5px; }
+ #date { font-size: 0.7em; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
+<div id='datetime'>
+ <div id='date'>{{ ts.strftime('%d/%m/%Y') }}</div>
+ <div id='hour'>{{ ts.strftime('%H:%M') }}</div>
+</div>
<div id='map'></div>
<script>