Skip to content

Commit 91510e4

Browse files
committed
بعض التحسينات v1.2.1
1 parent 6daeece commit 91510e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1980
-2309
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ node_modules
22
plugins
33
platforms
44
.idea
5-
package-lock.json
5+
package-lock.json
6+
tqw.keystore

config.xml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,44 @@
11
<?xml version='1.0' encoding='utf-8'?>
2-
<widget id="com.rn0x.altaqwaa" version="1.2.0"
3-
xmlns="http://www.w3.org/ns/widgets"
4-
xmlns:cdv="http://cordova.apache.org/ns/1.0">
2+
<widget id="com.rn0x.altaqwaa" version="1.2.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
53
<name>التقوى</name>
64
<description>تطبيق إسلامي سهل الإستخدام و جامع للكثير من الميزات التي يحتاجها المسلم في يومه</description>
7-
<author email="[email protected]" href="https://altaqwaa.org">
8-
Altaqwaa
9-
</author>
5+
<author email="[email protected]" href="https://altaqwaa.org">Altaqwaa</author>
106
<content src="index.html" />
7+
8+
<!-- Allow-intent settings -->
119
<allow-intent href="http://*/*" />
1210
<allow-intent href="https://*/*" />
11+
12+
<!-- Preferences -->
1313
<preference name="AndroidXEnabled" value="true" />
1414
<preference name="KeepRunning" value="true" />
1515
<preference name="loglevel" value="DEBUG" />
1616
<preference name="ErrorUrl" value="error.html" />
1717
<preference name="Fullscreen" value="false" />
1818
<preference name="DisallowOverscroll" value="true" />
19-
<preference name="StatusBarOverlaysWebView" value="false" />
20-
<preference name="StatusBarBackgroundColor" value="#2e3338" />
2119
<preference name="NavigationBarLight" value="true" />
2220
<preference name="Orientation" value="portrait" />
2321
<preference name="BackgroundColor" value="#2e3338" />
2422
<preference name="HideKeyboardFormAccessoryBar" value="true" />
2523
<preference name="NavigationBarBackgroundColor" value="#232527" />
26-
<preference name="android-compileSdkVersion" value="32" />
24+
<preference name="android-compileSdkVersion" value="33" />
2725
<preference name="SplashScreenBackgroundColor" value="#2e3338" />
26+
<!-- StatusBar settings -->
27+
<preference name="StatusBarBackgroundColor" value="#2e3338" />
28+
<preference name="StatusBarOverlaysWebView" value="false" />
29+
30+
<!-- Android platform settings -->
2831
<platform name="android">
32+
33+
<!-- Icons -->
2934
<icon density="ldpi" src="resources/android/icon/drawable-ldpi-icon.png" />
3035
<icon density="mdpi" src="resources/android/icon/drawable-mdpi-icon.png" />
3136
<icon density="hdpi" src="resources/android/icon/drawable-hdpi-icon.png" />
3237
<icon density="xhdpi" src="resources/android/icon/drawable-xhdpi-icon.png" />
3338
<icon density="xxhdpi" src="resources/android/icon/drawable-xxhdpi-icon.png" />
3439
<icon density="xxxhdpi" src="resources/android/icon/drawable-xxxhdpi-icon.png" />
40+
41+
<!-- Splash Screen settings -->
3542
<preference name="AndroidWindowSplashScreenAnimatedIcon" value="resources/splash.png" />
3643
<preference name="AndroidWindowSplashScreenBackground" value="#2e3338" />
3744
</platform>

keytool.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const { exec } = require('child_process');
2+
3+
exec('keytool -genkey -v -keystore ./debug.keystore -alias "rn0x" -storepass "11223344" -keypass "11223344" -keyalg RSA -keysize 2048 -dname "CN=rn0x, OU=altaqwaa, O=altaqwaa, L=makkah, ST=makkah, C=sa"', (error, stdout, stderr) => {
4+
if (error) {
5+
console.error(`Error: ${error.message}`);
6+
return;
7+
}
8+
console.log(`stdout: ${stdout}`);
9+
console.error(`stderr: ${stderr}`);
10+
});

package.json

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "com.rn0x.altaqwaa",
33
"displayName": "التقوى",
4-
"version": "1.2.0",
4+
"version": "1.2.1",
55
"description": "تطبيق إسلامي سهل الإستخدام و جامع للكثير من الميزات التي يحتاجها المسلم في يومه",
66
"main": "index.js",
77
"scripts": {
@@ -11,29 +11,25 @@
1111
"bundle": "cordova build android --release -- --packageTypjetifiere=bundle",
1212
"android": "cordova platform add android@latest",
1313
"clear": "rm -rf ./node_modules && cordova platforms rm android && npm cache clean --force && npm i && cordova platform add android@latest",
14-
"keytool": "keytool -genkey -v -keystore ./debug.keystore -alias 'rn0x' -storepass '11223344' -keypass '11223344' -keyalg RSA -keysize 2048 -dname 'CN=rn0x, OU=altaqwaa, O=altaqwaa, L=makkah, ST=makkah, C=sa'"
14+
"keytool": "node keytool.js"
1515
},
1616
"author": {
1717
"name": "Ryan Almalki",
1818
"email": "[email protected]",
1919
"url": "https://www.altaqwaa.org"
2020
},
2121
"license": "GPL-3.0",
22-
"devDependencies": {
22+
"dependencies": {
2323
"browser-sync": "^2.28.3",
2424
"cordova": "^11.1.0",
25-
"cordova-android": "^11.0.0",
2625
"cordova-clipboard": "^1.3.0",
2726
"cordova-plugin-android-permissions": "^1.1.5",
2827
"cordova-plugin-device": "^2.1.0",
2928
"cordova-plugin-dialogs": "^2.0.2",
30-
"cordova-plugin-downloader": "github:asadaries/cordova-plugin-downloader",
3129
"cordova-plugin-geolocation": "^4.1.0",
3230
"cordova-plugin-navigationbar-color": "^0.1.0",
33-
"cordova-plugin-network-information": "github:apache/cordova-plugin-network-information",
3431
"cordova-plugin-statusbar": "^3.0.0",
35-
"cordova-plugin-vibration": "^3.1.1",
36-
"phonegap-plugin-mobile-accessibility": "github:phonegap/phonegap-mobile-accessibility"
32+
"cordova-plugin-vibration": "^3.1.1"
3733
},
3834
"cordova": {
3935
"plugins": {
@@ -53,5 +49,11 @@
5349
"platforms": [
5450
"android"
5551
]
52+
},
53+
"devDependencies": {
54+
"cordova-android": "^12.0.1",
55+
"cordova-plugin-downloader": "github:asadaries/cordova-plugin-downloader",
56+
"cordova-plugin-network-information": "github:apache/cordova-plugin-network-information",
57+
"phonegap-plugin-mobile-accessibility": "github:phonegap/phonegap-mobile-accessibility"
5658
}
5759
}

www/css/adhkar.css

Lines changed: 38 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@
136136
border-radius: 15px;
137137
margin-right: auto;
138138
margin-left: auto;
139+
position: relative;
139140
}
140141

141142
.adhkar:nth-child(1) {
@@ -164,16 +165,26 @@
164165
color: var(--green);
165166
} */
166167

167-
.text_bottom {
168+
.text_description {
168169
margin-bottom: 8px;
169170
margin-top: 10px;
170171
font-family: var(--NotoSansArabic);
171172
font-weight: 500;
172-
color: var(--color_font_grey);
173+
color: #1fa05d;
173174
font-size: 14px;
174175
text-align: center;
176+
word-break: break-all;
177+
}
175178

176-
179+
.text_source {
180+
display: block;
181+
margin-bottom: 8px;
182+
margin-top: 10px;
183+
font-family: var(--NotoSansArabic);
184+
color: #819953;
185+
font-size: 12px;
186+
text-align: center;
187+
word-break: break-all;
177188
}
178189

179190
.text {
@@ -183,6 +194,7 @@
183194
text-align: center;
184195
margin-bottom: 0px;
185196
font-size: 23px;
197+
word-break: break-all;
186198
}
187199

188200
.repetition {
@@ -269,6 +281,29 @@
269281
font-weight:900;
270282
}
271283

284+
.icon_copy_adhkar {
285+
display: block;
286+
margin-left: auto;
287+
margin-right: auto;
288+
width: 20px;
289+
height: 20px;
290+
position: absolute;
291+
right: 20px;
292+
bottom: 20px;
293+
cursor: pointer;
294+
}
295+
296+
.icon_repetition_adhkar {
297+
display: block;
298+
margin-left: auto;
299+
margin-right: auto;
300+
width: 20px;
301+
height: 20px;
302+
position: absolute;
303+
left: 20px;
304+
bottom: 20px;
305+
cursor: pointer;
306+
}
272307
/* @media (max-width: 330px) {
273308
#adhkar_ul li {
274309
width: 85%;

www/css/info.css

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,43 @@
1313
color: var(--white);
1414
}
1515

16+
#app_description {
17+
font-size: 12px;
18+
margin-top: 10px;
19+
margin-bottom: 10px;
20+
margin-left: 10px;
21+
margin-right: 10px;
22+
color: var(--color_font_grey);
23+
}
24+
25+
#license {
26+
font-size: 11px;
27+
margin-top: 0px;
28+
margin-bottom: 0px;
29+
color: var(--white);
30+
}
31+
32+
#free {
33+
font-size: 11px;
34+
margin-top: 10px;
35+
margin-bottom: 10px;
36+
color: var(--white);
37+
}
38+
39+
#telegram_info {
40+
font-size: 11px;
41+
margin-top: 10px;
42+
margin-bottom: 10px;
43+
color: var(--color_font_grey);
44+
direction: ltr;
45+
}
46+
#telegram_info a {
47+
text-decoration: none;
48+
color: var(--white);
49+
}
50+
51+
52+
1653
#app_version {
1754
margin: 0 auto;
1855
color: var(--white);
@@ -27,6 +64,7 @@
2764
margin-top: 3px;
2865
margin-bottom: 20px;
2966
color: var(--color_font_grey);
67+
text-decoration: none;
3068
}
3169

3270
#Do_not_forget {

www/css/main.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,24 @@ html {
150150
/* For some Androids */
151151
}
152152

153+
input:focus,
154+
textarea:focus,
155+
select:focus,
156+
a:focus {
157+
outline: none;
158+
}
159+
160+
161+
#loading {
162+
display: none;
163+
width: 80px;
164+
position: fixed;
165+
left: 50%;
166+
top: 50%;
167+
transform: translate(-50%, -50%);
168+
z-index: 100;
169+
}
170+
153171
@media (min-width: 500px) {
154172
.text_alert {
155173
margin-top: 30% !important;

www/css/prayer.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,10 @@
118118
#remaining {
119119
display: none;
120120
color: var(--color_font_grey);
121-
font-size: 15px;
121+
font-size: 13px;
122122
text-align: center;
123+
margin-top: 0px;
124+
margin-bottom: 5px;
123125
}
124126

125127
#remaining_name {
@@ -130,13 +132,14 @@
130132
#remaining_time {
131133
display: none;
132134
color: var(--white-div);
133-
font-size: 20px;
135+
font-size: 14px;
134136
text-align: center;
135137
background-color: var(--background_div_hover);
136-
width: 60%;
138+
width: 70%;
139+
max-width: 150px;
137140
border-radius: 8px;
138-
margin-bottom: auto;
139-
margin-top: auto;
141+
margin-bottom: 20px;
142+
margin-top: 0pc;
140143
margin-left: auto;
141144
margin-right: auto;
142145
box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;

www/css/quran.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,28 @@
179179
/* cursor: pointer; */
180180
}
181181

182+
#search_reader {
183+
display: block;
184+
width: 80%;
185+
max-width: 300px;
186+
background-image: url(/img/searchicon.png);
187+
background-position: 5px 10px;
188+
background-repeat: no-repeat;
189+
padding: 7px;
190+
background-color: #ffffff;
191+
color: #000000;
192+
border: none;
193+
margin-top: 10px;
194+
margin-bottom: 10px;
195+
margin-left: auto;
196+
margin-right: auto;
197+
font-family: var(--NotoSansArabic);
198+
font-weight: 700;
199+
font-size: 12px;
200+
border-radius: 5px;
201+
202+
}
203+
182204
@media (max-width: 320px) {
183205
.quran_reader li {
184206
width: calc(70% / 2);

www/css/sabha.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,11 @@
2323
0px 14px 10px rgba(0, 0, 0, 0.15),
2424
0px 24px 2px rgba(0, 0, 0, 0.1),
2525
0px 34px 30px rgba(0, 0, 0, 0.1);
26+
}
27+
28+
#repetition_bt {
29+
position: absolute;
30+
width: 30px;
31+
top: 100px;
32+
cursor: pointer;
2633
}

0 commit comments

Comments
 (0)