mirror of
https://gitlab.com/oloturia/fumcaso.git
synced 2025-01-06 21:47:17 +01:00
added show.html: rolling strip viewer
This commit is contained in:
parent
d162c6141b
commit
8bd39db587
2 changed files with 17 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,5 +10,4 @@ oloturia_credentials.secret
|
||||||
history/*
|
history/*
|
||||||
bin/*
|
bin/*
|
||||||
temp/*
|
temp/*
|
||||||
show.html
|
|
||||||
*.pyc
|
*.pyc
|
||||||
|
|
17
show.html
Normal file
17
show.html
Normal 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>
|
Loading…
Reference in a new issue