-
Notifications
You must be signed in to change notification settings - Fork 14
/
popup.html
112 lines (106 loc) · 5.44 KB
/
popup.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title data-i18n="extension_name_dev"></title>
<link rel="stylesheet" href="css/variables.css" type="text/css" />
<link rel="stylesheet" href="css/core.css" type="text/css" />
<link rel="stylesheet" href="css/popup.css" type="text/css" />
<link rel="stylesheet" href="css/components/WikiList.css" type="text/css" />
<link rel="stylesheet" href="css/components/RuntimeListUpdates.css" type="text/css" />
</head>
<body>
<div id="area-top">
<h3><i18n>popup_name</i18n></h3>
</div>
<div id="area-mobile-fallback" class="tabber">
<!--- SETTINGS --->
<section id="area-left" data-tab-msg="popup_tab_options">
<!--- REDIRECT SETTINGS --->
<div class="options-group">
<h5><img class="icon" src="icons/cdx/redirect.svg" /><i18n>options_redirecting</i18n></h5>
<div>
<input type="radio" name="redirectMode" id="redirectMode__do"
data-component="DeclarativeSettings"
data-key="isRedirectDisabled"
data-value="false" />
<label for="redirectMode__do"><i18n>options_redirecting_yes</i18n></label>
</div>
<div>
<input type="radio" name="redirectMode" id="redirectMode__banner"
data-component="DeclarativeSettings"
data-key="isRedirectDisabled"
data-value="banner" />
<label for="redirectMode__banner"><i18n>options_redirecting_soft</i18n></label>
</div>
<div>
<input type="radio" name="redirectMode" id="redirectMode__dont"
data-component="DeclarativeSettings"
data-key="isRedirectDisabled"
data-value="true"
data-means-inactive />
<label for="redirectMode__dont"><i18n>options_redirecting_no</i18n></label>
</div>
</div>
<!--- SEARCH FILTER SETTINGS --->
<div class="options-group">
<h5><img class="icon" src="icons/cdx/search.svg" /> <i18n>options_filtering</i18n></h5>
<table data-component="SearchFilterSettings">
<thead>
<th></th>
<th><span>Replace</span></th>
<th><span>Filter</span></th>
<th><span>Nothing</span></th>
</thead>
<tbody>
<!-- This will be filled in by JavaScript -->
</tbody>
</table>
</div>
<!--- DEVELOPMENT BUILD OPTIONS --->
<div class="options-group" data-hide-in-stable>
<h5>Hidden options</h5>
<div>
<input type="checkbox" id="useTabRedirect"
data-component="DeclarativeSettings"
data-key="useTabRedirect"
data-on="true"
data-off="false" />
<label for="useTabRedirect">Use legacy redirection method</label>
</div>
<div>
<input type="checkbox" id="ffUseOptimisedSearchCore"
data-component="DeclarativeSettings"
data-key="ffUseOptimisedSearchCore"
data-on="true"
data-off="false" />
<label for="ffUseOptimisedSearchCore">Use in-dev optimised search module core</label>
</div>
<div>
<input type="checkbox" id="useRuntimeLists"
data-component="DeclarativeSettings"
data-key="useRuntimeLists"
data-on="true"
data-off="false" />
<label for="useRuntimeLists">[PH]Allow use of runtime lists</label>
</div>
<div data-component="RuntimeListUpdates">
<!-- This will be filled in by JavaScript -->
</div>
</div>
</section>
<!--- WIKI LIST --->
<section id="area-right" data-tab-msg="popup_tab_wikis">
<h4 class="no-mobile"><i18n>options_wikis</i18n></h4>
<div data-component="WikiList">
<!-- This will be filled in by JavaScript -->
</div>
</section>
</div>
<div id="area-bottom">
<p id="bottom-links"><span id="version-string">v???</span> | <a href="https://github.com/freedomgamesdev/wikigg-redirect-extension/issues" target="_blank"><i18n>feedback</i18n></a> | <a href="https://github.com/freedomgamesdev/wikigg-redirect-extension"><i18n>source_code</i18n></a></p>
</div>
<script type="text/javascript" src="built/popup.js"></script>
</body>
</html>