-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpopup.html
More file actions
111 lines (108 loc) · 4.87 KB
/
popup.html
File metadata and controls
111 lines (108 loc) · 4.87 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
<!DOCTYPE html>
<html lang="en">
<head>
<script src="popup.js"></script>
<script src="browser-polyfill.js"></script>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./popup.css" />
</head>
<body>
<form name="visionSettings">
<div class="header">
<h1>NoCoffee Vision Simulator</h1>
<button id="reset" type="reset">Reset all</button>
</div>
<fieldset class="pervasive margin-top-10">
<legend>Pervasive issues</legend>
<div class="lineup">
<div class="line">
<label for="blurValueText">Blur (low acuity): </label>
<span class="blur">
<input id="blur" type="range" tabindex="-1" min="0" max="20" step="1" value="0">
<input type="number" id="blurValueText" min="0" max="20" step="1" value="0" autofocus/>
</span>
</div>
<div class="line">
<label for="contrastValueText">Contrast loss: </label>
<span class="contrast">
<input id="contrast" type="range" tabindex="-1" min="0" max="50" step="1" value="0">
<input type="number" id="contrastValueText" min="0" max="50" step="1" value="0"/>
</span>
</div>
<div class="line">
<label for="brightnessValueText">Glare: </label>
<span class="brightness">
<input id="brightness" type="range" tabindex="-1" min="0" max="50" step="1" value="0">
<input type="number" id="brightnessValueText" min="0" max="50" step="1" value="0"/>
</span>
</div>
<div class="line">
<label for="ghostingValueText">Ghosting: </label>
<span class="ghosting">
<input id="ghosting" type="range" tabindex="-1" min="0" max="50" step="1" value="0">
<input type="number" id="ghostingValueText" min="0" max="50" step="1" value="0"/>
</span>
</div>
<div class="line">
<label for="snowValueText">Snow: </label>
<span class="snow">
<input id="snow" type="range" tabindex="-1" min="0" max="10" step="1" value="0">
<input type="number" id="snowValueText" min="0" max="10" step="1" value="0"/>
</span>
</div>
<div class="line">
<label for="cloudyValueText">Cloudiness (cataracts): </label>
<span class="cloudy">
<input id="cloudy" type="range" tabindex="-1" min="0" max="20" step="1" value="0">
<input type="number" id="cloudyValueText" min="0" max="20" step="1" value="0"/>
</span>
</div>
<div class="line">
<label for="flutterValueText">Flutter (nystagmus): </label>
<span class="flutter">
<input id="flutter" type="range" tabindex="-1" min="0" max="100" step="1" value="0">
<input type="number" id="flutterValueText" min="0" max="100" step="1" value="0"/>
</span>
</div>
<div class="line margin-top-10">
<label for="color">Color deficiency:</label>
<select size="1" id="color"></select>
</div>
</div>
</fieldset>
<fieldset class="blocks margin-top-15">
<legend>Blocked visual field</legend>
<div class="line"><input id="noBlock" type="radio" name="blockType" checked><label for="noBlock">Normal</label> </div>
<div class="line"><input id="centralBlock" type="radio" name="blockType"><label for="centralBlock">Central (macular degeneration)</label> </div>
<div class="line"><input id="peripheralBlock" type="radio" name="blockType"><label for="peripheralBlock">Peripheral (glaucoma, retinitis pigmentosa)</label> </div>
<div class="line"><input id="cornerBlock" type="radio" name="blockType"><label for="cornerBlock">Corner (retinal detachment)</label> </div>
<div class="line"><input id="sideBlock" type="radio" name="blockType"><label for="sideBlock">Side (hemianopia)</label> </div>
<div class="line"><input id="spotBlock" type="radio" name="blockType"><label for="spotBlock">Large spots (diabetic retinopathy)</label> </div>
<div class="line"><input id="floaterBlock" type="radio" name="blockType"><label for="floaterBlock">Floaters</label></div>
<div class="lineup margin-top-10">
<div class="line">
<label for="blockStrengthValueText">Strength and size: </label>
<span class="blockStrength">
<input id="blockStrength" type="range" tabindex="-1" min="0" max="100" step="1" value="40">
<input type="number" id="blockStrengthValueText" min="0" max="100" step="1" value="40"/>
</span>
</div>
</div>
</fieldset>
</form>
<div class="flex footer">
<div class="cursorEffects">
<input type="checkbox" id="cursor"/>
<label for="cursor">
Cursor effects
</label>
</div>
<div class="links">
<a class="link" href="http://accessgarage.wordpress.com/2013/02/09/458/">More info</a>
<a class="link" href="https://chrome.google.com/webstore/support/jjeeggmbnhckmgdhmgdckeigabjfbddl?hl=en&gl=US#bug" id="feedback">Feedback</a>
</div>
</div>
</body>
</html>