-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
64 lines (59 loc) · 2.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Random Wikipedia Page Selector</title>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<link rel="icon" href="favicon.ico">
<script src="index.js"></script>
<link rel="stylesheet" type="text/css" href="index.css">
</head>
<body>
<div class="flexbox">
<div id="controls">
<button type="button" onclick="random_page_button()" id="random_page_button">Open Random Page</button>
<span>
Language:
</span>
<div class="combobox">
<input id="language" type="text" value="ja" class="param-input">
<select id="language_select" onchange="this.previousElementSibling.value=this.value; this.previousElementSibling.focus(); apply_language_features()">
<option>ar</option>
<option>bn</option>
<option>cs</option>
<option>de</option>
<option>en</option>
<option>es</option>
<option>fa</option>
<option>fi</option>
<option>fr</option>
<option>he</option>
<option>hu</option>
<option>id</option>
<option>it</option>
<option>ja</option>
<option>ko</option>
<option>nl</option>
<option>pl</option>
<option>pt</option>
<option>ru</option>
<option>sv</option>
<option>th</option>
<option>tr</option>
<option>uk</option>
<option>vi</option>
<option>zh</option>
</select>
</div>
<span id="rank_picker">
Max page rank:
<input id="rank_max" class="param-input" type="text" placeholder="∞">
</span>
<span id="category_picker">
<a id="categorical_index_link" href="https://en.wikipedia.org/wiki/Wikipedia:Contents/Categories">Category:</a>
<input id="category" class="param-input" type="text" placeholder="All">
</span>
</div>
<iframe id="wikipedia_page_iframe" onload="show_iframe(this)"></iframe>
</div>
</body>
</html>