aboutsummaryrefslogtreecommitdiff
path: root/web/views/map.pug
blob: af97f6cbe54715c98f5aebc66a858372350484fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
extends layout.pug
block content
	#sidebar
		h1#details-header Details
		#report-container
			#report
				strong Gender
				span#report-gender
				strong Age Range
				span#report-age-range
				strong Race
				span#report-race
				strong Other Attributes
				span#report-other
				strong Distinctive Features
				span#report-distinctive
		#btn-container
			button.details-btn#pending-btn Pending
			button.details-btn#completed-btn Completed
			button.details-btn#close-btn Close

	#map

	script(type='text/javascript').
		var map = L.map('map').setView([#{lat},#{lng}], 13);
		var points = !{JSON.stringify(points)};
		console.log(points);
	script(src='/javascripts/map.js')