mirror of
https://github.com/datajerk/sendalo.git
synced 2024-09-27 20:56:34 +00:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
912c71eef0 | ||
|
280a4889ce |
5
Makefile
5
Makefile
@ -17,12 +17,9 @@ obj/c2t-96h.so: c2t
|
||||
link:
|
||||
mkdir -p bin
|
||||
emcc --shell-file sendalo.html.tpl -s INVOKE_RUN=0 -s EXIT_RUNTIME=0 -s ALLOW_MEMORY_GROWTH=1 -s EXTRA_EXPORTED_RUNTIME_METHODS=['callMain'] -o bin/sendalo.html obj/c2t-96h.so
|
||||
cp apple-touch-icon.png bin/
|
||||
|
||||
addproxy:
|
||||
head --bytes=-1 sendalo.php.tpl > bin/sendalo.php
|
||||
cat bin/sendalo.html >> bin/sendalo.php
|
||||
# rm bin/sendalo.html
|
||||
|
||||
test:
|
||||
cd bin; python3 -m http.server 65020
|
||||
|
||||
|
BIN
apple-touch-icon.png
Normal file
BIN
apple-touch-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.7 KiB |
@ -3,6 +3,9 @@
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
|
||||
<meta name="apple-mobile-web-app-capable" content="yes" />
|
||||
<link rel="apple-touch-icon" href="apple-touch-icon.png"/>
|
||||
<link rel="icon" type="image/png" href="apple-touch-icon.png" />
|
||||
|
||||
<title>Sendalo</title>
|
||||
|
||||
@ -81,6 +84,12 @@
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
#reload {
|
||||
display: none;
|
||||
text-align: center;
|
||||
margin-top: 1em;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
<script>
|
||||
@ -140,7 +149,7 @@
|
||||
audio.load();
|
||||
audio.play();
|
||||
|
||||
|
||||
document.getElementById('reload').style.display = 'block';
|
||||
}
|
||||
|
||||
function displayError() {
|
||||
@ -187,6 +196,10 @@
|
||||
</audio>
|
||||
</div>
|
||||
|
||||
<div id="reload">
|
||||
<a href="javascript:window.location.reload();">New transfer</a>
|
||||
</div>
|
||||
|
||||
<p id="w"><a href="#" onclick="document.getElementById('expl').style.display='block'">
|
||||
<small>What's this?</small>
|
||||
</a></p>
|
||||
|
Loading…
Reference in New Issue
Block a user