diff options
author | pdp8 <pdp8@pdp8.info> | 2022-08-21 15:09:38 +0200 |
---|---|---|
committer | pdp8 <pdp8@pdp8.info> | 2022-08-21 15:09:38 +0200 |
commit | ec4c08d91081de6d9c7404742c70a94cea250dce (patch) | |
tree | d8279f6196ec2f4d94d86aa6138a568989367fd6 /images.html | |
parent | 5cc948cbe8f1e36c61f4e224a5ad74a8a975dbfd (diff) |
html snippets
Diffstat (limited to 'images.html')
-rw-r--r-- | images.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/images.html b/images.html new file mode 100644 index 0000000..64b4278 --- /dev/null +++ b/images.html @@ -0,0 +1,23 @@ +<script src="/distances.js"></script> +<script src="/images.js"></script> + +<script> + (function() { new_selection() })(); +</script> + +<img id="image" src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNgYAAAAAMAASsJTYQAAAAASUVORK5CYII=" alt/> +<script>document.getElementById("image").setAttribute("src", selection[0].src);</script> + +<div id="controller"> + <a class="btn" href="/info.html"><i class="fa fa-info" aria-label="info" aria-hidden="true"></i></a> + <a class="btn" class="controller-item" onclick="new_selection()"><i class="fa fa-refresh" aria-label="reload" aria-hidden="true"></i></a> + <a class="btn" class="controller-item" onclick="toggle_play()"><i id="play-indicator" class="fa fa-stop" area-label="stop" aria-hidden="true"></i></a> +</div> + +<a id="prev" onclick="prev()">❮</a> +<a id="next" onclick="next()">❯</a> + +<script> + (function() { play() })(); +</script> + |