aboutsummaryrefslogtreecommitdiff
path: root/web/views/map.pug
diff options
context:
space:
mode:
authorKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-18 04:15:36 +0000
committerKumar Damani <kumar.damani@mail.utoronto.ca>2019-02-18 04:15:36 +0000
commit085538ec47cb5baa29c4214d97c6926b285ab507 (patch)
tree64a34dda05d1ef36c7e2b569e3fc39887493b621 /web/views/map.pug
parent5635b98d0ba8f28db9868ee44a82a3f1151eed05 (diff)
added basic site with basic map
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')
+
+