-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from Alsarmad/development
v 1.2.0
- Loading branch information
Showing
18 changed files
with
157 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#content { | ||
margin-top: 0px !important; | ||
} | ||
|
||
#sabha { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
height: 100%; | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
margin: 0 auto; | ||
right: 0; | ||
left: 0; | ||
} | ||
|
||
#sabha_number { | ||
font-family: var(--digital_7); | ||
font-size: 150px; | ||
color: var(--background_div_hover); | ||
text-shadow: 0px 3px 0px var(--green), | ||
0px 14px 10px rgba(0, 0, 0, 0.15), | ||
0px 24px 2px rgba(0, 0, 0, 0.1), | ||
0px 34px 30px rgba(0, 0, 0, 0.1); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import error_handling from './modules/error_handling.js'; | ||
|
||
export default async () => { | ||
|
||
if (window.location.pathname === '/pages/sabha.html') { | ||
|
||
try { | ||
|
||
let back = document.getElementById('back'); | ||
let sabha_number = document.getElementById('sabha_number'); | ||
let sabha = document.getElementById('sabha'); | ||
|
||
back.addEventListener("click", e => { | ||
window.location.href = "/more.html"; | ||
}); | ||
|
||
sabha.addEventListener("click", e => { | ||
|
||
let number = Number(sabha_number.innerText) + 1; | ||
sabha_number.innerText = number; | ||
|
||
}); | ||
|
||
} catch (error) { | ||
|
||
error_handling(error); | ||
|
||
} | ||
|
||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="format-detection" content="telephone=no"> | ||
<meta name="msapplication-tap-highlight" content="no"> | ||
<meta name="viewport" content="initial-scale=1, width=device-width, viewport-fit=cover"> | ||
<meta name="color-scheme" content="light dark"> | ||
<link rel="stylesheet" href="/css/var.css"> <!-- المتغيرات --> | ||
<link rel="stylesheet" href="/css/main.css"> <!-- ملف الإستايل الأساسي --> | ||
<link rel="stylesheet" href="/css/footer.css"> <!-- ملف css الفوتر --> | ||
<link rel="stylesheet" href="/css/sabha.css"> | ||
<link rel="stylesheet" href="/css/more.css"> | ||
<link rel="stylesheet" href="/css/animate.min.css"> <!-- مؤثرات الإنتقال --> | ||
<title>التقوى</title> | ||
</head> | ||
|
||
<body> | ||
|
||
<div id="more_header" class="animate__animated animate__fadeIn"> | ||
|
||
<img src="/img/back.png" id="back"> | ||
|
||
<p id="more_header_title"> | ||
المسبحة الإلكترونية | ||
</p> | ||
|
||
</div> | ||
|
||
<div id="content" class="animate__animated animate__fadeIn"> | ||
|
||
<!-- ================ ضع هنا محتوى الصفحة =============== --> | ||
|
||
|
||
<div id="sabha"> | ||
|
||
<h1 id="sabha_number"> | ||
0 | ||
</h1> | ||
|
||
</div> | ||
|
||
|
||
<!-- ================ ضع هنا محتوى الصفحة =============== --> | ||
|
||
</div> | ||
|
||
|
||
<footer id="footer"> | ||
<!-- الفوتر مربوط بالجافاسكربت --> | ||
</footer> | ||
|
||
<script src="/cordova.js"></script> | ||
<script src="/js/index.js" type="module"></script> | ||
</body> | ||
|
||
</html> |