aboutsummaryrefslogtreecommitdiff
path: root/web/views/map.pug
diff options
context:
space:
mode:
Diffstat (limited to 'web/views/map.pug')
-rw-r--r--web/views/map.pug11
1 files changed, 11 insertions, 0 deletions
diff --git a/web/views/map.pug b/web/views/map.pug
new file mode 100644
index 0000000..b7781fa
--- /dev/null
+++ b/web/views/map.pug
@@ -0,0 +1,11 @@
+extends layout.pug
+block content
+ #sidebar
+ h1 This is a sidebar
+ #map
+
+ script(type='text/javascript').
+ var map = L.map('map').setView([#{lat},#{lng}], 15);
+ script(src='/javascripts/map.js')
+
+