-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdiffhtml.html
More file actions
376 lines (333 loc) · 18.3 KB
/
Copy pathdiffhtml.html
File metadata and controls
376 lines (333 loc) · 18.3 KB
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
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
<!DOCTYPE html>
<html>
<head>
<title>HTML Diff</title>
<meta charset="utf-8" />
<meta name="author" content="Marty Stepp" />
<meta name="company" content="University of Washington" />
<meta name="description"
content="HTML diff tool to compare two web pages." />
<meta name="keywords"
content="web, diff, html, CSE 190 M" />
<!-- stop the web browser from ever caching this page or its images -->
<meta http-equiv="Cache-Control" content="no-cache" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<link href="style.css" type="text/css" rel="stylesheet" />
<link href="diffhtml.css" type="text/css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/prototype/1.7.0.0/prototype.js" type="text/javascript"></script>
<script src="https://ajax.googleapis.com/ajax/libs/scriptaculous/1.9.0/scriptaculous.js" type="text/javascript"></script>
<script src="Cookies.js" type="text/javascript"></script>
<script src="cse.js" type="text/javascript"></script>
<script src="diffhtml.js" type="text/javascript"></script>
</head>
<body>
<div id="browsermessagearea"></div>
<form id="compareform">
<fieldset>
<legend>Pages to compare</legend>
<a id="maximizelink">
<img src="images/icon_maximize.gif" alt="show/hide" />
</a>
<ol>
<li>
<input id="page1" type="text" tabindex="1" />
<label>
<input id="show1" type="radio" name="whichpage" disabled="disabled" checked="checked" tabindex="2" />
Expected
</label> <br />
<select id="page1suggest" tabindex="3" >
<option value="">(choose an image)</option>
<optgroup label="Homework 9 (Remember the Cow)" class="delayed delayed_May_23_2012_11__00_AM" style="display: none">
<option value="homework/9/output/index-php.png"
title="hw9/index.php" class="delayed delayed_May_23_2012_11__00_AM" style="display: none">
index.php, initial appearance
</option>
<option value="homework/9/output/index-php-loginfail.png"
title="hw9/index.php?loginfail=true" class="delayed delayed_May_23_2012_11__00_AM" style="display: none">
index.php, after login failure
</option>
<option value="homework/9/output/todolist-php.png"
title="hw9/todolist.php" class="delayed delayed_May_23_2012_11__00_AM" style="display: none">
todolist.php, initial appearance
</option>
<option value="homework/9/output/todolist-php-items.png"
title="hw9/todolist.php" class="delayed delayed_May_23_2012_11__00_AM" style="display: none">
todolist.php, after items are added to list
</option>
</optgroup>
<optgroup label="Homework 8 (Baby Names)" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
<option value="homework/8/output/out-0-initial.png"
title="hw8/names.html" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
initial appearance
</option>
<option value="homework/8/output/out-1-lisa-f.png"
title="hw8/names.html?name=Lisa&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Lisa
</option>
<option value="homework/8/output/out-2-zelda-f.png"
title="hw8/names.html?name=Zelda&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Zelda
</option>
<option value="homework/8/output/out-3-donald-m.png"
title="hw8/names.html?name=Donald&gender=m" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Donald
</option>
<option value="homework/8/output/out-4-ethel-f.png"
title="hw8/names.html?name=Ethel&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Ethel
</option>
<option value="homework/8/output/out-5-stephanie-f.png"
title="hw8/names.html?name=Stephanie&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Stephanie
</option>
<option value="homework/8/output/out-6-morgan-m.png"
title="hw8/names.html?name=Morgan&gender=m" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Morgan (male)
</option>
<option value="homework/8/output/out-7-morgan-f.png"
title="hw8/names.html?name=Morgan&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Morgan (female)
</option>
<option value="homework/8/output/out-8-taylor-m.png"
title="hw8/names.html?name=Taylor&gender=m" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Taylor (male)
</option>
<option value="homework/8/output/out-9-taylor-f.png"
title="hw8/names.html?name=Taylor&gender=f" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Taylor (female)
</option>
<option value="homework/8/output/out-10-aaliyah-m.png"
title="hw8/names.html?name=Aaliyah&gender=m" class="delayed delayed_May_16_2012_11__00_AM" style="display: none">
Aaliyah (male)
</option>
</optgroup>
<optgroup label="Homework 7 (Fifteen Puzzle)" class="delayed delayed_May_9_2012_11__00_AM" style="display: none">
<option value="homework/7/output/out.png"
title="hw7/fifteen.html" class="delayed delayed_May_9_2012_11__00_AM" style="display: none">
fifteen.html
</option>
</optgroup>
<optgroup label="Homework 6 (ASCIImation)" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
<option value="homework/6/output/out.png"
title="hw6/ascii.html" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
ascii.html, initial appearance
</option>
<option value="homework/6/output/out-exercise-large.png"
title="hw6/ascii.html" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
ascii.html w/ Exercise, Large font
</option>
<option value="homework/6/output/out-exercise-medium-animating.png"
title="hw6/ascii.html" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
ascii.html w/ Exercise, Medium font, animating
</option>
<option value="homework/6/output/out-juggler-xxl-turbo.png"
title="hw6/ascii.html" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
ascii.html w/ Juggler, XXL font, Turbo checked, animating
</option>
<option value="homework/6/output/out-bike-tiny.png"
title="hw6/ascii.html" class="delayed delayed_May_2_2012_11__00_AM" style="display: none">
ascii.html w/ Bike, Tiny font
</option>
</optgroup>
<optgroup label="Homework 5 (Kevin Bacon)" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
<option value="homework/5/output/out-0-initial.png"
title="hw5/index.php" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
initial appearance
</option>
<option value="homework/5/output/out-1-kevin-spacey-all.png"
title="hw5/search-all.php?firstname=Kevin&lastname=Spacey" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Kevin Spacey (all)
</option>
<option value="homework/5/output/out-1-kevin-spacey-kevin.png"
title="hw5/search-kevin.php?firstname=Kevin&lastname=Spacey" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Kevin Spacey (w/ Kevin Bacon)
</option>
<option value="homework/5/output/out-2-tom-cruise-all.png"
title="hw5/search-all.php?firstname=Tom&lastname=Cruise" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Tom Cruise (all)
</option>
<option value="homework/5/output/out-2-tom-cruise-kevin.png"
title="hw5/search-kevin.php?firstname=Tom&lastname=Cruise" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Tom Cruise (w/ Kevin Bacon)
</option>
<option value="homework/5/output/out-3-julia-roberts-all.png"
title="hw5/search-all.php?firstname=Julia&lastname=Roberts" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Julia Roberts
</option>
<option value="homework/5/output/out-3-julia-roberts-kevin.png"
title="hw5/search-kevin.php?firstname=Julia&lastname=Roberts" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Julia Roberts
</option>
<option value="homework/5/output/out-4-william-shatner-all.png"
title="hw5/search-all.php?firstname=William&lastname=Shatner" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
William Shatner (all)
</option>
<option value="homework/5/output/out-4-william-shatner-kevin.png"
title="hw5/search-kevin.php?firstname=William&lastname=Shatner" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
William Shatner (w/ Kevin Bacon)
</option>
<option value="homework/5/output/out-5-gu-pearce-all.png"
title="hw5/search-all.php?firstname=GU&lastname=pearce" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
GU pearce (approximate first-name match)
</option>
<option value="homework/5/output/out-6-stuart-reges-all.png"
title="hw5/search-all.php?firstname=Stuart&lastname=Reges" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
Stuart Reges
</option>
<option value="homework/5/hoff.jpg" class="delayed delayed_Apr_25_2012_11__00_AM" style="display: none">
David Hasselhoff
</option>
</optgroup>
<optgroup label="Homework 4 (NerdLuv)" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
<option value="homework/4/output/index.png"
title="hw4/index.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
index (provided)
</option>
<option value="homework/4/output/matches.png"
title="hw4/matches.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches.php initial state
</option>
<option value="homework/4/output/matches-submit-bjarne-stroustroup.png"
title="hw4/matches-submit.php?name=Bjarne+Stroustroup" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches-submit.php result for Bjarne Stroustroup
</option>
<option value="homework/4/output/matches-submit-lara-croft.png"
title="hw4/matches-submit.php?name=Lara+Croft" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches-submit.php result for Lara Croft
</option>
<option value="homework/4/output/matches-submit-leeloo.png"
title="hw4/matches-submit.php?name=Leeloo" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches-submit.php result for Leeloo
</option>
<option value="homework/4/output/matches-submit-stewie-griffin.png"
title="hw4/matches-submit.php?name=Stewie+Griffin" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches-submit.php result for Stewie Griffin
</option>
<option value="homework/4/output/signup.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
signup.php initial state
</option>
<option value="homework/4/output/signup-elaine-benes.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
signup-submit.php form for Elaine Benes
</option>
<option value="homework/4/output/signup-submit-elaine-benes.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
signup-submit.php result for Elaine Benes (after form is submitted)
</option>
<option value="homework/4/output/matches-submit-elaine-benes.png"
title="hw4/matches-submit.php?name=Elaine+Benes" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
matches-submit.php result for Elaine Benes (after she has signed up)
</option>
<!--
<option value="homework/4/output/invalid_2.png">
results.php page (validation extra feature)
</option>
<option value="homework/4/output/initial_photo.png">
index.php (photo upload extra feature)
</option>
-->
</optgroup>
<optgroup label="Homework 4 extra features" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
<option value="homework/4/output/extra-signup-submit-invalid.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#1 validation, error when signup.php is sent bad data
</option>
<option value="homework/4/output/extra-signup-photo.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#2 photos, signup.php form
</option>
<option value="homework/4/output/extra-matches-submit-bjarne-stroustroup.png"
title="hw4/matches-submit.php?name=Bjarne+Stroustroup" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#2 photos, matches-submit.php result for Bjarne Stroustroup
</option>
<option value="homework/4/output/extra-signup-all.png"
title="hw4/signup.php" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#3 gay/lesbian/bi, signup.php form
</option>
<option value="homework/4/output/extra-matches-submit-nostalgia-critic.png"
title="hw4/matches-submit.php?name=Nostalgia+Critic" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#3 gay/lesbian/bi, matches-submit.php result for Nostalgia Critic
</option>
<option value="homework/4/output/extra-matches-submit-rosie-o-donnell.png"
title="hw4/matches-submit.php?name=Rosie+O+Donnell" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#3 gay/lesbian/bi, matches-submit.php result for Rosie O Donnell
</option>
<option value="homework/4/output/extra-matches-submit-stuart-reges.png"
title="hw4/matches-submit.php?name=Stuart+Reges" class="delayed delayed_Apr_18_2012_11__00_AM" style="display: none">
#3 gay/lesbian/bi, matches-submit.php result for Stuart Reges
</option>
</optgroup>
<optgroup label="Homework 3 (Movie Review Part Deux)" class="delayed delayed_Apr_11_2012_11__00_AM" style="display: none">
<option value="homework/3/output/tmnt.png"
title="hw3/movie.php?film=tmnt" class="delayed delayed_Apr_11_2012_11__00_AM" style="display: none">
TMNT
</option>
<option value="homework/3/output/tmnt2.png"
title="hw3/movie.php?film=tmnt2" class="delayed delayed_Apr_11_2012_11__00_AM" style="display: none">
TMNT 2
</option>
<option value="homework/3/output/princessbride.png"
title="hw3/movie.php?film=princessbride" class="delayed delayed_Apr_11_2012_11__00_AM" style="display: none">
Princess Bride
</option>
<option value="homework/3/output/mortalkombat.png"
title="hw3/movie.php?film=mortalkombat" class="delayed delayed_Apr_11_2012_11__00_AM" style="display: none">
Mortal Kombat
</option>
</optgroup>
<optgroup label="Homework 2 (Movie Review)" class="delayed delayed_Apr_4_2012_11__00_AM" style="display: none">
<option value="homework/2/output/out.png"
title="hw2/tmnt.html" class="delayed delayed_Apr_4_2012_11__00_AM" style="display: none">
expected output
</option>
</optgroup>
<optgroup label="Homework 1 (Recipe)" class="delayed delayed_Mar_28_2012_11__00_AM" style="display: none">
<option value="homework/1/output/out.png"
title="hw1/pie.html" class="delayed delayed_Mar_28_2012_11__00_AM" style="display: none">
expected output (Win7/FF11)
</option>
<option value="homework/1/output/out-extra.png"
title="hw1/pie.html" class="delayed delayed_Mar_28_2012_11__00_AM" style="display: none">
expected output, with extra features (Win7/FF11)
</option>
</optgroup>
</select>
<label>
<input id="mix12" type="radio" name="whichpage" disabled="disabled" tabindex="4" />
Blend Both
</label>
</li>
<li>
<input id="page2" type="text" tabindex="6" />
<!-- value="https://webster.cs.washington.edu/USERNAME/hw1/pie.html" -->
<label>
<input id="show2" type="radio" name="whichpage" disabled="disabled" tabindex="7" />
Your Page
</label>
</li>
</ol>
<ul>
<li>
<button id="compare" tabindex="9">Compare</button>
<input id="uwnetid" type="text" size="8" maxlength="8" tabindex="8" />
Your YU NetID (optional)
<span style="margin-left: 2em">
Shift by:
<input id="shiftx" type="number" min="-999" max="999" step="1" value="0" size="2" maxlength="2" />x
<input id="shifty" type="number" min="-999" max="999" step="1" value="0" size="2" maxlength="2" />y
</span>
</li>
</ul>
</fieldset>
</form>
<div id="errors" class="error" style="visibility: hidden"></div>
<div id="outputarea">
<img id="output1" src="images/pixel.gif" alt="" />
<iframe id="output2" frameborder="0" border="0" style="height: 2048px;" tabindex="-1"></iframe>
</div>
<style id="binarysearch"></style>
<div id="dummyelement" style="visibility: hidden;">Dummy element to test media queries.</div>
</body>
</html>