You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.2 KiB
44 lines
1.2 KiB
<!DOCTYPE html>
|
|
<meta charset="utf-8" />
|
|
<head>
|
|
<meta name="apple-mobile-web-app-capable" content="yes" />
|
|
<meta name="viewport" content="user-scalable=no, width=device-width" />
|
|
|
|
<link href="index.css" rel="stylesheet" type="text/css">
|
|
|
|
<script type="text/javascript" src="timers.js"></script>
|
|
<script type="text/javascript" src="connection.js"></script>
|
|
<script type="text/javascript" src="websocket.js"></script>
|
|
<script type="text/javascript" src="drawing.js"></script>
|
|
<script type="text/javascript" src="rendering.js"></script>
|
|
<script type="text/javascript" src="index.js"></script>
|
|
|
|
<title>WebSocket Test</title>
|
|
</head>
|
|
<body ontouchmove="prevent_scrolling(event);">
|
|
|
|
<div id="login" class="modalDialog">
|
|
<div>
|
|
<form onSubmit="return init()">
|
|
Name:<br/>
|
|
<input type="text" id="loginname"><br/>
|
|
<input type="submit" value="Play!">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="app">
|
|
<svg id="svgscreen" xmlns="http://www.w3.org/2000/svg" version="1.1">
|
|
<rect width="100%" height="100%" style="fill:rgb(0, 0, 0);"/>
|
|
</svg>
|
|
|
|
<div id="ballscreen"></div>
|
|
|
|
<div id="text">
|
|
<a onClick="changeKind();" href="#">Change line kind (to <span id="line_kind">guitar</span>)</a><br/>
|
|
<span id="status"></span>
|
|
</div>
|
|
</div>
|
|
|
|
</body>
|
|
</html>
|
|
|