-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfloor_plan.html
67 lines (65 loc) · 2.03 KB
/
floor_plan.html
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html lang="en">
<head>
<title>Old Hobby Shop Floor Plan (W31)</title>
<meta name="viewport"
content="width=device-width, initial-scale=1">
<link href="../../shared-styles.css"
rel="st6ylesheet"/>
<script type="text/javascript"
src="../../placement.js"></script>
<script type="text/javascript">
window.onload = function() {
console.log("onload handler.");
load_and_draw_things([
"Facilities/HobbyShop-DuPont/furnashings/things.json",
"Facilities/HobbyShop-DuPont/furnashings/metal_shop.json",
"Facilities/HobbyShop-DuPont/furnashings/wood_shop.json",
"Facilities/HobbyShop-DuPont/furnashings/offices.json",
"Facilities/HobbyShop-DuPont/furnashings/welding_area.json"
]);
};
</script>
</head>
<body>
<svg xmlns="http://www.w3.org/2000/svg"
id="selection-overlay">
</svg>
<h1>MIT Hobby Shop</h1>
<p>
Each grid box is 16 feet by 16 feet.
</p>
<div>
<div id="description"></div>
<div class="pointer-position">
X: <span id="show-pointer-x"></span>,
Y: <span id="show-pointer-y"></span>
</div>
<!--
We use object instead of img so that code in placement.js can
get access to the loaded SVG document.
-->
<object id="floor_plan_svg"
data="Facilities/HobbyShop-DuPont/cleaned_up.svg"
type="image/svg+xml"
alt="Floor plan of the Hobby Shop showing the locations of
machines, furnature, tools, etc.">
The Hobby Shop floor plan should appear here.
</object>
</div>
<div id="controls">
<a id="download_floor_plan"
download="HobbyShop-floor-plan.svg"
href="">
Download the floor plan as an SVG file
</a>
</div>
<div id="filter">
Filter items:
<input name="filter" type="text" size="40"
onchange="filter_items_list(this.value)"/>
</div>
<div id="items"></div>
</div>
</body>
</html>