-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (152 loc) · 8.64 KB
/
index.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
<html>
<head>
<meta charset="UTF-8">
<!-- this line removes any default padding and style. you might only need one of these values set. -->
<style> body {padding: 0; margin: 0;} </style>
<script src="libraries/p5.min.js"></script>
<script src="libraries/p5.dom.min.js"></script>
<script src="libraries/p5.sound.min.js"></script>
<script src="sketch.js"></script>
<script language="javascript" type="text/javascript" src="js/js.js"></script>
<title>Trinity Maps</title>
<script type="text/javascript" src="js/js.js"></script>
<link rel="stylesheet" href="css/css.css">
<link rel="stylesheet" href="css/css.css">
<link rel="shortcut icon" href="photos/fav/favicon.ico" type="image/ico" />
</head>
<body>
<div unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" class="whiteSpace" onmouseover="mouseOut()"></div>
<div id="canvasdiv" onmouseover="mouseOut()" unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; r-select:none;-o-user-select:none;"></div><br>
<br><br><br><br> <br><br><br><br> <br><br><br><br> <br><br><br><br><p></p>
<div class="walter"></div>
<!-- Write code above here -->
<div id="colorBox" onmouseover="mouseOut()"></div>
<div id="functionBox" onmouseover="mouseOut()">
<br><br><br>
<form>
Origin:<input list="rooms" id="orIn" type="text" name="origin"><br><br>
Destination: <input list="rooms" id="desIn" type="text" name="dest"><br><br>
<button name="data" onclick="genPaths();return false;">Submit</button>
<datalist id="rooms">
<option value="N330" data-y="323" data-x="776"><!-- Bot Bot Rooms -->
<option value="Stair H-F" data-y="323" data-x="916"><!-- Bot Bot Rooms -->
<option value="N329" data-y="323" data-x="677"><!-- Bot Bot Rooms -->
<option value="N327" data-y="323" data-x="578"><!-- Bot Bot Rooms -->
<option value="N326" data-y="323" data-x="478"><!-- Bot Bot Rooms -->
<option value="Stair N-C" data-y="323" data-x="453"><!-- Bot Bot Rooms -->
<option value="N325" data-y="323" data-x="383"><!-- Bot Bot Rooms -->
<option value="N323" data-y="323" data-x="296"><!-- Bot Bot Rooms -->
<option value="N322 (Math Lab)" data-y="323" data-x="212"><!-- Bot Bot Rooms -->
<option value="N320" data-y="323" data-x="47"><!-- Bot Bot Rooms -->
<option value="N321" data-y="296" data-x="128"><!-- Bot Bot Rooms -->
<option value="N324" data-y="296" data-x="296"><!-- Bot Bot Rooms -->
<option value="N312" data-y="296" data-x="383"><!-- Bot Bot Rooms ,145-->
<option value="N305A" data-y="296" data-x="578"><!-- Bot Bot Rooms -->
<option value="N328" data-y="296" data-x="657"><!-- Bot Bot Rooms -->
<option value="N304" data-y="296" data-x="677"><!-- Bot Bot Rooms ,145 -->
<option value="N302" data-y="296" data-x="776"><!-- Bot Bot Rooms ,145-->
<option value="N306" data-y="145" data-x="578"><!-- Bot Bot Rooms -->
<option value="N317" data-y="145" data-x="47"><!-- Bot Bot Rooms -->
<option value="Stair N-A" data-y="115" data-x="27"><!-- Bot Bot Rooms -->
<option value="N316" data-y="115" data-x="128"><!-- Bot Bot Rooms -->
<option value="N315" data-y="115" data-x="212"><!-- Bot Bot Rooms -->
<option value="N314" data-y="115" data-x="296"><!-- Bot Bot Rooms -->
<option value="N313" data-y="115" data-x="383"><!-- Bot Bot Rooms -->
<option value="N310" data-y="115" data-x="434"><!-- Bot Bot Rooms -->
<option value="N308" data-y="115" data-x="436"><!-- Bot Bot Rooms -->
<option value="N307 History" data-y="115" data-x="578"><!-- Bot Bot Rooms -->
<option value="N307 Physics" data-y="145" data-x="558"><!-- Bot Bot Rooms ,296-->
<option value="N305" data-y="115" data-x="677"><!-- Bot Bot Rooms -->
<option value="N301" data-y="115" data-x="776"><!-- Bot Bot Rooms -->
<option value="Stair N-B" data-y="115" data-x="916"><!-- Bot Bot Rooms -->
</datalist>
</form>
<br><p id="time"> Journey Time: </p>
</div>
<div unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" onmouseover="mouseOut()" id="HOLDER" onmouseover="mouseOut()"></div>
<div unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" onmouseover="mouseOut()" id="sideBurr" onmouseover="mouseOut()"></div>
<ul id="fb" class="filebar" unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;">
<li><a onmouseover="hov(this)"> File ▾</a>
<ul class="dropdown2">
<li class="option" onmouseup="mouseUp(this)" ><a id="recordBut" onclick="recordIt()"> Save</a></li>
<li class="option" onmouseup="mouseUp(this)" ><a id="deleteBut" onclick="deleteIt()"> Delete</a></li>
<li class="option" onmouseup="mouseUp(this)" ><a id="reB" onclick="rename(this)"> Rename</a></li>
<li class="option" onmouseup="mouseUp(this)" ><a id="newBut" onclick="addIt(this)"> New</a></li>
<li class="option" onmouseup="mouseUp(this)" ><a id="myBtn"> Download</a></li>
<li class="option" onmouseup="mouseUp(this)" ><label id="btnLabel" for="uploadBTN"> Upload
</label></li>
</ul></li>
</ul>
<ul unselectable="on"
onselectstart="return false;"
onmousedown="return false;" style="-moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;" class="stuff2" onmouseover="mouseOut()">
<li><a class="active" href="#">Home</a></li>
<li><a href="about/about.html">About</a></li>
<li id="headerTitle"><h1 id="headerTitleText">Trinity Maps</h1></li>
</ul>
<!-- The Modal -->
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Save Image</h2>
</div>
<div class="modal-body">
<p>How would you like to save your image?</p>
<form>
<text>Name: </text><input id="saveInput" type="text" name="saveName" value="Untitled">
<select id="modalSel">
<option value="jpg">.jpg</option>
<option value="png">.png</option>
<option value="tiff">.tiff</option>
<option value="raw">.raw</option>
<option value="bmp">.bmp</option>
</select>
<br><br>
<button rel="no-refresh" id="saveMOD" onclick="actualSave()">Save</button>
</form>
</div>
<div class="modal-footer">
<h3> </h3>
</div>
</div>
</div>
<div id="reModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<div class="modal-header">
<span class="close">×</span>
<h2>Rename</h2>
</div>
<div class="modal-body">
<p>What would you like to rename your project?</p>
<text>Name: </text><input id="renameInput" type="text" name="saveName" value="Untitled">
<button rel="no-refresh" onclick="actualRename()">Rename</button>
<br><br><br><br>
</div>
<div class="modal-footer">
<h3> </h3>
</div>
</div>
</div>
<div id="imageUploadBut"></div>
<!--<input id ="file-upload" type="file" onchange="Validate(this);" name="my_file" />-->
<!--<canvas id="viewport"></canvas>
<img id ="imageUp" src="" width="2800" height="2800" alt="Image preview...">
-->
<br><br><br><br><br><br><br><br><p></p>
<script language="javascript" type="text/javascript" src="js/modal.js"></script>
<link rel="stylesheet" href="css/css.css">
</body>
</html>