blob: e90d78a4e7a6d0070e9aaf76e68db23543c8c5e1 (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="styles/style.css">
<link href="styles/css/fontawesome.css" rel="stylesheet">
<link href="styles/css/brands.css" rel="stylesheet">
<link href="styles/css/solid.css" rel="stylesheet">
<link rel="icon" href="images/favicon.png">
<link rel="manifest" href="manifest.json">
<!-- ios support -->
<link rel="apple-touch-icon" href="images/favicon.png">
<meta name="apple-mobile-web-app-status-bar" content="#f3f3f3">
<title>OpenQuran</title>
</head>
<body onload="quranOnLoad()">
<script src="scripts/window-buttons.js" defer></script>
<script src="scripts/main.js" defer></script>
<script src="scripts/service-worker.js" defer></script>
<div class="navbar">
<a href="./" style="text-decoration: none;" id="openquran-link">
<div class="navbar-logo">
<img src="images/favicon.png" alt="" class="navbar-logo-img">
<p class="navbar-logo-txt"><b>OpenQuran</b></p>
</div>
</a>
<div class="navbar-middle"></div>
<p style="text-align: right; color: rgba(0, 0, 0, 0.5); margin-right: 20px;" id="navbar-text">السَّلاَمُ
عَلَيْكُمْ وَرَحْمَةُ اللهِ وَبَرَكَاتُهُ</p>
<div class="window-button-container">
<button class="window-button" id="minimize">
<i class="fa-solid fa-minus"></i>
</button>
</div>
<div class="window-button-container" id="maximize">
<button class="window-button" style="display: grid; place-items: center;">
<img src="images/maximize.png" alt="" style="width: 12px;">
</button>
</div>
<div class="window-button-container" style="margin-right: 15px">
<button onclick="window.top.close()" class="window-button">
<i class="fa-solid fa-xmark"></i>
</button>
</div>
</div>
<div id="main-container">
<div class="sidebar">
<div class="scroll scroll-auto" id="scroll-sura">
<div class="dropdown" tabindex="0" id="dropdown">
<div class="dropdown-button">
<span id="dropdown-content">English</span>
<span style="float: right; font-size: 16px; line-height: 24px;"><i
class="fa-solid fa-angle-down"></i></span>
</div>
<div class="dropdown-content">
<a href="#" class="dropdown-item"
onclick="changeDropdownName(`dropdown-content`, `English`); changeLang(0);">English</a>
<a href="#" class="dropdown-item"
onclick="changeDropdownName(`dropdown-content`, `Indonesia`); changeLang(1);">Indonesia</a>
</div>
</div>
<hr style="margin: 10px">
<div id="sidebar-sura">
</div>
</div>
</div>
<div class="sidebar-links">
<a href="attribution.html" class="link">Attribution</a>
</div>
<div class="main height-no-scroll">
<div class="scroll main-content-padding">
<div class="dropdown" tabindex="0" id="dropdown-alternate">
<div class="dropdown-button">
<span id="dropdown-content-alternate">English</span>
<span style="float: right; font-size: 16px; line-height: 24px;"><i
class="fa-solid fa-angle-down"></i></span>
</div>
<div class="dropdown-content" style="width: calc(100% - 85px);">
<a href="#" class="dropdown-item"
onclick="changeDropdownName(`dropdown-content-alternate`, `English`); changeLang(0);">English</a>
<a href="#" class="dropdown-item"
onclick="changeDropdownName(`dropdown-content-alternate`, `Indonesia`); changeLang(1);">Indonesia</a>
</div>
</div>
<h1 id="header" class="title">Choose a sura</h1>
<h3 id="subheader" class="subtitle"></h3>
<div id="main">
</div>
</div>
</div>
</div>
<script src="scripts/quran.js"></script>
<script>
function changeDropdownName(id, text) {
document.getElementById(id).innerHTML = text;
}
</script>
</body>
</html>
|