1
0
Fork 0
mirror of https://gitlab.com/oloturia/fumcaso.git synced 2025-01-04 20:47:16 +01:00

added show.html: rolling strip viewer

This commit is contained in:
oloturia 2022-04-01 19:14:04 +02:00
parent d162c6141b
commit 8bd39db587
2 changed files with 17 additions and 1 deletions

1
.gitignore vendored
View file

@ -10,5 +10,4 @@ oloturia_credentials.secret
history/*
bin/*
temp/*
show.html
*.pyc

17
show.html Normal file
View file

@ -0,0 +1,17 @@
<html>
<head>
<title>Random Strip</title>
<script>
function reloadImage() {
var now = new Date();
var el = document.getElementById("image");
el.src = "file:///var/tmp/image.png?t=" + now;
setTimeout("reloadImage()",10000);
}
setTimeout("reloadImage()",10000);
</script>
</head>
<body>
<img id="image" src="file:///var/tmp/image.png" width=1500>
</body>
</html>