Starting Foundation automation

This commit is contained in:
2022-07-02 10:24:10 -05:00
parent 59b54619f7
commit 94f546a7be
90 changed files with 4162 additions and 48 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -0,0 +1,13 @@
// Thanks to https://stackoverflow.com/questions/31060722/cordova-refuse-to-execute-inline-event-handler-because-it-violates-the-followi
document.addEventListener('DOMContentLoaded', function () {
document.querySelector('img').addEventListener('click', clickHandler);
main();
});
function clickHandler(element) {
document.getElementById("adhan").play();
}
function main() {
}

Binary file not shown.

View File

@@ -0,0 +1,28 @@
<html>
<head>
<title>AniNIX::Adhan \\ Call to prayer</title>
<link rel="icon" type="image/png" href="/adhan/AdhanIcon.png">
<link rel='apple-touch-icon' sizes='180x180' href='/adhan/AdhanIcon.png' />
<script src="/adhan/adhan.js" type="text/javascript"></script>
<meta name='apple-mobile-web-app-capable' content='yes' />
</head>
<body bgcolor="#000">
<center>
<p style="color: #AAA;">Click to play</p>
<!--image-->
<img src="./subhanallah.jpg" style="width:auto; height:100%" id="adhanimg" />
<!-- HTML5/back compatibility for desktops -->
<audio id=adhan>
<source src="./adhan.mp3" type="audio/mpeg">
<object>
<param name="autostart" value="false">
<param name="src" value="./adhan.mp3">
<param name="autoplay" value="false">
<param name="controller" value="false">
<embed src="./adhan.mp3" controller="false" autoplay="false" autostart="false" type="audio/mpeg"></embed>
</object>
</audio>
</center>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB