hcra/client/index.html
Samuel Sloniker 8ea09771e8
Big refactor (#20)
* First step of server redesign

Only thing left is to re-add disconnect handling

* Convert client to use img

Removing the tiling feature allowed me to switch the client to use img
instead of canvas.

* Rename "canvas" to "img"

"canvas" isn't a good variable name for an <img> element

* Handle disconnects (again)

I had removed disconnect handling when I started the partial rewrite.
This commit re-adds it.

* Remove obsolete code

* Change dependency to websocket-server in requirements.txt

* Fix Chrome click bug

This should fix the Chrome click bug.
2021-07-19 12:09:42 -07:00

26 lines
856 B
HTML

<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=UTF-8>
<title>HamClock</title>
<link rel=stylesheet href=css/layout.css>
<link rel=stylesheet href=css/font.css>
<link rel=stylesheet href=css/color.css>
</head>
<body>
<div id=login>
<h1>HamClock Remote Access</h1>
<form>
<div class=loginline><label for=url>Server URL:</label> <input name=url id=url></div>
<div class=loginline><label for=password>Password:</label> <input name=password id=password type=password></div>
<div class=loginline><button id=start>Start</button></div>
</form>
</div>
<div id=holder style="display:none">
<div id=errorbox style="width: 800px; height: 480px">Loading...</div>
<img id=img width=800 height=480 style="width: 800px; height: 480px; display: none"></canvas>
</div>
<script src=js/main.js></script>
</body>
</html>