-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
102 lines (99 loc) · 4.44 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bored?</title>
<meta name="theme-color" content="#1937a0">
<link rel="stylesheet" href="style.css">
<script src="script.js" defer></script>
<script src="kaiads.v5.min.js"></script>
</head>
<body>
<div tabindex="0" class="kui-input-holder item">
<label class="kui-input-label">Type</label>
<select tabindex="1" class="kui-input" id="typeSel">
<option value="">Random</option>
<option value="education">Education</option>
<option value="recreational">Recreational</option>
<option value="social">Social</option>
<option value="diy">DIY</option>
<option value="charity">Charity</option>
<option value="cooking">Cooking</option>
<option value="relaxation">Relaxation</option>
<option value="music">Music</option>
<option value="busywork">Busywork</option>
</select>
</div>
<div tabindex="1" class="kui-input-holder item">
<label class="kui-input-label">Price</label>
<select tabindex="1" class="kui-input" id="priceSel">
<option value="">Random</option>
<option selected value="&price=0">Free</option>
<option value="&minprice=0&maxprice=0.3">Cheap</option>
<option value="&minprice=0.3&maxprice=0.5">Affordable</option>
<option value="&minprice=0.5&maxprice=0.8">Expensive</option>
</select>
</div>
<div tabindex="2" class="kui-input-holder item">
<label class="kui-input-label">Accessibility</label>
<select tabindex="1" class="kui-input" id="accSel">
<option value="">Random</option>
<option value="&accessibility=0">Accessible</option>
<option selected value="&minaccessibility=0&maxaccessibility=0.3">Easily accessible</option>
<option value="&minaccessibility=0.3&maxaccessibility=0.6">Fairly accessible</option>
<option value="&minaccessibility=0.6&maxaccessibility=0.8">Moderately accessible</option>
<option value="&minaccessibility=0.8&maxaccessibility=1">Hardly accessible</option>
</select>
</div>
<div tabindex="3" class="kui-input-holder item">
<label class="kui-input-label">Participants</label>
<select tabindex="1" class="kui-input" id="partSel">
<option value="">Random</option>
<option selected value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="8">8</option>
</select>
</div>
<div class="kui-input-holder buttonHolder">
<button tabindex="4" class="item canFocusWithin" id="gen">Generate</button>
</div>
<div class="kui-input-holder buttonHolder">
<button tabindex="4" class="item canFocusWithin" id="randomgen">Random</button>
</div>
<div class="ad-container-wrapper ">
<div id="ad-container" tabindex="5" class="item canFocusWithin"></div>
</div>
<br>
<div id="result">
<b id="activity-result"></b>
<div id="result-info">
<p id="type"></p>
<div class="kui-input-holder progress">
<label for="">
<span class="progress-label">Price</span>
<span class="progress-value secondary" id="priceRangeValue"></span>
</label>
<input id="priceRange" class="slider" type="range" min="0" max="8" value="0">
</div>
<div class="kui-input-holder progress">
<label for="">
<span class="progress-label">Accessibility</span>
<span class="progress-value secondary" id="accRangeValue"></span>
</label>
<input id="accRange" class="slider" type="range" min="0" max="10" value="0">
</div>
<div class="kui-input-holder progress ">
<label for="">
<span class="progress-label">Participants</span>
<span class="progress-value secondary" id="partRangeValue"></span>
</label>
<input id="partRange" class="slider" type="range" min="1" max="8" value="1">
</div>
</div>
</div>
</body>
</html>