-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
options.html
326 lines (326 loc) · 13.2 KB
/
options.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Options</title>
<link rel="stylesheet" href="/css/options.css" />
<link rel="stylesheet" href="/css/bootstrap.min.css" />
</head>
<body>
<div class="container">
<header class="mb-5">
<img class="icon img-fluid logo" src="assets/icon.png" />
<h1 class="display-4 text-center">__MSG_settings__</h1>
</header>
<div class="form-container">
<h2 class="mb-4">__MSG_general__</h2>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_top_sites" name="show_top_sites">
<label class="form-check-label" for="show_top_sites">__MSG_show_top_sites__</label>
</div>
<small class="text-secondary">__MSG_show_top_sites_description__</small>
</div>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_date" name="show_date">
<label class="form-check-label" for="show_date">__MSG_show_hijri_date__</label>
</div>
<small class="text-secondary">__MSG_show_hijri_date_description__</small>
</div>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="should_refresh" name="should_refresh">
<label class="form-check-label" for="should_refresh">__MSG_refresh_every_tab__</label>
</div>
</div>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_search" name="show_search">
<label class="form-check-label" for="show_search">__MSG_show_search_bar__</label>
</div>
</div>
<hr />
<h2 class="mb-4">__MSG_quran__</h2>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_translation" name="show_translation">
<label class="form-check-label" for="show_translation">__MSG_show_translation__</label>
</div>
</div>
<div class="form-group mb-4">
<label>__MSG_translation_language__:</label>
<select name="translation_language" class="form-control" disabled>
<option value="none" selected>
__MSG_none__
</option>
<option value="en">
__MSG_en__
</option>
<option value="ar">
__MSG_ar__
</option>
<option value="az">
__MSG_az__
</option>
<option value="bn">
__MSG_bn__
</option>
<option value="cs">
__MSG_cs__
</option>
<option value="de">
__MSG_de__
</option>
<option value="dv">
__MSG_dv__
</option>
<option value="es">
__MSG_es__
</option>
<option value="fa">
__MSG_fa__
</option>
<option value="fr">
__MSG_fr__
</option>
<option value="ha">
__MSG_ha__
</option>
<option value="hi">
__MSG_hi__
</option>
<option value="id">
__MSG_id__
</option>
<option value="it">
__MSG_it__
</option>
<option value="ja">
__MSG_ja__
</option>
<option value="ko">
__MSG_ko__
</option>
<option value="ku">
__MSG_ku__
</option>
<option value="ml">
__MSG_ml__
</option>
<option value="nl">
__MSG_nl__
</option>
<option value="no">
__MSG_no__
</option>
<option value="pl">
__MSG_pl__
</option>
<option value="pt">
__MSG_pt__
</option>
<option value="ro">
__MSG_ro__
</option>
<option value="ru">
__MSG_ru__
</option>
<option value="sd">
__MSG_sd__
</option>
<option value="so">
__MSG_so__
</option>
<option value="sq">
__MSG_sq__
</option>
<option value="sv">
__MSG_sv__
</option>
<option value="sw">
__MSG_sw__
</option>
<option value="ta">
__MSG_ta__
</option>
<option value="tg">
__MSG_tg__
</option>
<option value="th">
__MSG_th__
</option>
<option value="tr">
__MSG_tr__
</option>
<option value="tt">
__MSG_tt__
</option>
<option value="ug">
__MSG_ug__
</option>
<option value="ur">
__MSG_ur__
</option>
<option value="uz">
__MSG_uz__
</option>
</select>
</div>
<div class="form-group mb-4">
<label>__MSG_recitation__</label>
<select name="recitation" class="form-control">
<option value="ar.alafasy" selected>
مشاري راشد العفاسي - Mashary Rashid Alafasy
</option>
<option value="ar.abdullahbasfar">
عبدالله بصفر - Abdallah Basfar
</option>
<option value="ar.abdurrahmaansudais">
عبدالرحمن السديس - Abdurrahmaan As-Sudais
</option>
<option value="ar.abdulsamad">
عبدالصمد - Abdul Samad
</option>
<option value="ar.shaatree">
أبو بكر الشاطري - Abu Bakr Ash-Shaatree
</option>
<option value="ar.ahmedajamy">
أحمد بن علي العجمي - Ahmed ibn Ali al-Ajamy
</option>
<option value="ar.hanirifai">
هاني الرفاعي - Hani Rifai
</option>
<option value="ar.husary">
محمود خليل الحصري - Mahmoud Khalil Al-Hussary
</option>
<option value="ar.hudhaify">
علي بن عبد الرحمن الحذيفي - Ali Bin Abdur Rahman Al Huthaify
</option>
<option value="ar.mahermuaiqly">
ماهر المعيقلي - Maher Al Muaiqly
</option>
<option value="ar.muhammadayyoub">
محمد ايوب - Muhammad Ayyoub
</option>
<option value="ar.muhammadjibreel">
محمد جبريل - Muhammad Jibreel
</option>
<option value="en.walk">
Ibrahim Walk
</option>
<option value="ur.khan">
Shamshad Ali Khan
</option>
<option value="zh.chinese">
中文
</option>
<option value="fr.leclerc">
Youssouf Leclerc
</option>
</select>
</div>
<hr />
<h2 class="mb-4">__MSG_athkar__</h2>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_athkar" name="show_athkar">
<label class="form-check-label" for="show_athkar">__MSG_show_random_athkar__</label>
</div>
</div>
<hr />
<h2 class="mb-4">__MSG_calendar__</h2>
<div class="form-group mb-4">
<label class="mb-2">__MSG_week_start_date__</label>
<select class="form-control" id="calendar_start_day" name="calendar_start_day">
<option value="Monday">__MSG_Monday__</option>
<option value="Sunday">__MSG_Sunday__</option>
</select>
</div>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="send_fasting_notification" name="send_fasting_notification">
<label class="form-check-label" for="send_fasting_notification">__MSG_notification_setting__</label>
</div>
</div>
<hr />
<h2 class="mb-4">__MSG_prayer_times__</h2>
<div class="form-group mb-4">
<div class="form-check form-switch">
<input type="checkbox" class="form-check-input" id="show_prayer_times" name="show_prayer_times">
<label class="form-check-label" for="show_prayer_times">__MSG_show_prayer_times__</label>
</div>
<small class="text-secondary">__MSG_show_prayer_times_description__</small>
</div>
<div class="form-group mb-4">
<label class="mb-2">__MSG_prayer_times_format__</label>
<select class="form-control" id="prayer_times_format" name="prayer_times_format" disabled>
<option value="24">24h Format</option>
<option value="12">12h Format</option>
</select>
</div>
<div class="form-group mb-4">
<label class="mb-2">__MSG_prayer_times_method__</label>
<select class="form-control" id="prayer_times_method" name="prayer_times_method" disabled>
<option value="0">Shia Ithna-Ansari</option>
<option value="1">University of Islamic Sciences, Karachi</option>
<option value="2">Islamic Society of North America</option>
<option value="3">Muslim World League</option>
<option value="4">Umm Al-Qura University, Makkah</option>
<option value="5">Egyptian General Authority of Survey</option>
<option value="7">Institute of Geophysics, University of Tehran</option>
<option value="8">Gulf Region</option>
<option value="9">Kuwait</option>
<option value="10">Qatar</option>
<option value="11">Majlis Ugama Islam Singapura, Singapore</option>
<option value="12">Union Organization islamic de France</option>
<option value="13">Diyanet İşleri Başkanlığı, Turkey</option>
<option value="14">Spiritual Administration of Muslims of Russia</option>
</select>
<small class="text-secondary">__MSG_prayer_times_method_description__</small>
</div>
<hr />
<h2 class="mb-4">__MSG_background_image__</h2>
<div class="form-group mb-4">
<h4 class="mb-2">__MSG_image_source__</h4>
<label class="d-block">
<input type="radio" name="background_image_type" value="default" />
__MSG_default__
</label>
<label class="d-block">
<input type="radio" name="background_image_type" value="unsplash_collection" />
__MSG_unsplash_collection__
<small class="text-secondary d-block">__MSG_unsplash_collection_description__</small>
</label>
<label class="d-block">
<input type="radio" name="background_image_type" value="single_image" />
__MSG_single_image__
<small class="text-secondary d-block">__MSG_single_image_description__</small>
</label>
</div>
<div class="form-group mb-4 d-none background-image-input" id="unsplashCollectionInput">
<label for="collection_id">__MSG_collection_id__</label>
<input type="text" name="collection_id" id="collection_id" class="form-control" />
</div>
<div class="form-group mb-4 d-none background-image-input" id="singleImageInput">
<label for="single_image_file">__MSG_single_image_file__</label>
<input type="file" name="single_image_file" id="single_image_file" class="form-control" />
</div>
<button type="button" class="btn btn-dark" id="save">
__MSG_save__
</button>
<div class="alerts">
</div>
<hr />
<div class="survey-container">
<a href="https://shahednasser.typeform.com/to/Maf5wATU">__MSG_feedback__</a> | <a href="https://crowdin.com/project/quran-in-new-tab-extension">__MSG_translation_link__</a> |
<a href="https://www.buymeacoffee.com/shahednasser">__MSG_coffee__</a> | <a href="https://github.com/shahednasser/quran-extension/issues/new">__MSG_report_bug__</a> | <a href="mailto:[email protected]">__MSG_contact_developer__</a>
</div>
</div>
<div class="copyright text-center mt-3 mb-3">
Copyright © 2021 <a href="http://shahednasser.com">Shahed Nasser</a>
</div>
</div>
<script src="/js/options.js"></script>
</body>
</html>