Skip to content

Commit

Permalink
update info page
Browse files Browse the repository at this point in the history
  • Loading branch information
kemzops committed Mar 14, 2023
1 parent b190d99 commit 1bf414f
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 6 deletions.
17 changes: 12 additions & 5 deletions src/pages/info.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,18 +131,25 @@
<p id="Sources_7">https://github.com/rastikerdar/vazirmatn</p>
</td>
</tr>

<tr>
<td class="Sources_name">مؤثرات الإنتقال</td>
<td class="Sources_url">
<p id="Sources_8">https://animate.style</p>
</td>
</tr>
</table>

<ul id="dependencies">

<li id="url_1">adhan-js</li>
<li id="url_2">electron</li>
<li id="url_3">fs-extra</li>
<li id="url_4">moment-js</li>
<li id="url_7">v8-compile-cache</li>
<li id="url_5">node-fetch</li>
<li id="url_1">adhan-js</li>
<li id="url_3">fs-extra</li>
<li id="url_4">moment-timezone</li>
<li id="url_8">moment-hijri</li>
<li id="url_9">moment-duration-format</li>
<li id="url_6">menubar</li>
<li id="url_7">v8-compile-cache</li>

</ul>

Expand Down
18 changes: 17 additions & 1 deletion src/preload/preload_modules/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,16 @@ module.exports = function info(fs, path, App_Path, shell) {
let Sources_5 = document.getElementById('Sources_5');
let Sources_6 = document.getElementById('Sources_6');
let Sources_7 = document.getElementById('Sources_7');
let Sources_8 = document.getElementById('Sources_8');
let url_1 = document.getElementById('url_1');
let url_2 = document.getElementById('url_2');
let url_3 = document.getElementById('url_3');
let url_4 = document.getElementById('url_4');
let url_5 = document.getElementById('url_5');
let url_6 = document.getElementById('url_6');
let url_7 = document.getElementById('url_7');
let url_8 = document.getElementById('url_8');
let url_9 = document.getElementById('url_9');

info_li_1.addEventListener('click', e => {
altaqwaa.style.display = 'none'
Expand Down Expand Up @@ -139,6 +142,10 @@ module.exports = function info(fs, path, App_Path, shell) {
shell.openExternal('https://github.com/rastikerdar/vazirmatn')
});

Sources_8.addEventListener('click', e => {
shell.openExternal('https://animate.style/')
});

url_1.addEventListener('click', e => {
shell.openExternal('https://github.com/batoulapps/adhan-js')
});
Expand All @@ -152,7 +159,7 @@ module.exports = function info(fs, path, App_Path, shell) {
});

url_4.addEventListener('click', e => {
shell.openExternal('https://github.com/moment')
shell.openExternal('https://momentjs.com/timezone/')
});

url_5.addEventListener('click', e => {
Expand All @@ -166,4 +173,13 @@ module.exports = function info(fs, path, App_Path, shell) {
url_7.addEventListener('click', e => {
shell.openExternal('https://github.com/zertosh/v8-compile-cache')
});

url_8.addEventListener('click', e => {
shell.openExternal('https://github.com/xsoh/moment-hijri')
});

url_9.addEventListener('click', e => {
shell.openExternal('https://github.com/jsmreese/moment-duration-format')
});

}

0 comments on commit 1bf414f

Please sign in to comment.