-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmujam.html
122 lines (113 loc) · 3.78 KB
/
mujam.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<meta name="theme-color" content="#59b" />
<meta name="author" content="M A Eyler, Istanbul, 2019" />
<meta name="description" content="Reader for the Quran" />
<link rel="stylesheet" href="code/mujam.css" media="all">
<link rel="manifest" href="manifest.json">
<link rel="icon" href="image/iconF.png">
<title>Mucem </title>
</head>
<body>
<div id=div0>
<button id=showS>▶</button>
<span id=out1>[<span id=out2>count</span>]</span>
<span id=out3>root/word</span>
<div id=selections>
<select id=menu1></select>
<span id=kok></span>
<select id=menu2></select>
<button id=combine>◀</button>
</div>
</div>
<textarea id=noteBox hidden></textarea>
<button id=noteBut></button>
<div id=wordList hidden></div>
<table id=tablo></table>
<div id=menuK class=menu>
<div id=kay1 class="black"></div>
<span id="tanzil" class="menuK">tanzil.net</span>
<span id="quranc" class="menuK">quran.com</span>
<span id="corpus" class="menuK">corpus.quran.com</span>
<span id="coranc" class="menuK">corpuscoranicum</span>
<span id="diyant" class="menuK">diyanet.gov.tr</span>
<span id="kuranm" class="menuK">kuranmeali.com</span>
<span id="acikur" class="menuK">acikkuran.com</span>
<hr><div class="black" id=version></div>
<span id=yardim class="menuK"></span>
<span id=pay1 class="menuK"></span>
<!-- <span class="menuK" id=add2hs>Install PWA</span> -->
</div>
<script src="code/languages.js"></script>
<script>//localization strings
const localization = {};
localization.tr =
`showS title Kelime listesini göster
combine title Kelime listesini gizle
out1 title Ayet sayısı
out3 title Bu kök kaç kere geçiyor
noteBut title Bu kök hakkında notlar ekleyin
menu1 title Aranan kökün ilk harfi
kok innerText Kök:
menu2 title Kökler ve sayıları
yardim innerText Yardım — F1
pay1 innerText Paylaş...
kay1 innerText Dış kaynaklar:`
localization.en =
`showS title Show the word list
combine title Hide the word list
out1 title Number of verses
out3 title Number of pages with this root
noteBut title Add comments about this root
menu1 title First letter of the desired root
kok innerText Root:
menu2 title Roots and counts
yardim innerText Help — F1
pay1 innerText Share...
kay1 innerText External sources:`
localization.ar =
`showS title أظهر قائمة الكلمات
combine title أخفي قائمة الكلمات
out1 title عدد الآيات
out3 title عدد الصفحات بهذا المصدر
noteBut title أضف ملاحظة لهذا المصدر
menu1 title أول حرف من المصدر
kok innerText المصدر:
menu2 title المصادر وأعدادها
yardim innerText للمساعدة — F1
pay1 innerText شارك...
kay1 innerText مصادر خارجية:`
/* not used
showS innerText Liste
showS innerText List
showS innerText القائمة
*/
</script>
<script src="code/buckwalter.js"></script>
<script src="code/common.js"></script>
<script src="code/model.js"></script>
<script src="code/utilities.js"></script>
<script>
const langMgr = new LangManager( //callback
() => {
LangManager.adjustDirection(div0)
sName = suraNames[currentLanguage()]
})
function checkDarkMode() {
if (!getStorage("settings", "dark-mode")) return
let style = document.createElement('style')
document.head.appendChild(style)
style.sheet.insertRule('#wordList {background:black}')
style.sheet.insertRule('body, th {background:#222}')
style.sheet.insertRule('th, th a {color:wheat}')
style.sheet.insertRule('#tablo {background:black}')
style.sheet.insertRule('td {border-color:wheat}')
}
checkDarkMode()
</script>
<script src="code/mujam.js"></script>
</body>
</html>