|
@ -6,6 +6,7 @@ |
|
|
|
|
|
|
|
|
<link href="index.css" rel="stylesheet" type="text/css"> |
|
|
<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="connection.js"></script> |
|
|
<script type="text/javascript" src="websocket.js"></script> |
|
|
<script type="text/javascript" src="websocket.js"></script> |
|
|
<script type="text/javascript" src="drawing.js"></script> |
|
|
<script type="text/javascript" src="drawing.js"></script> |
|
@ -16,13 +17,17 @@ |
|
|
</head> |
|
|
</head> |
|
|
<body ontouchmove="prevent_scrolling(event);"> |
|
|
<body ontouchmove="prevent_scrolling(event);"> |
|
|
|
|
|
|
|
|
<div id="login"> |
|
|
<div id="login" class="modalDialog"> |
|
|
|
|
|
<div> |
|
|
<form onSubmit="return init()"> |
|
|
<form onSubmit="return init()"> |
|
|
Name: <input type="text" id="loginname"><br/> |
|
|
Name:<br/> |
|
|
<input type="submit" value="login"> |
|
|
<input type="text" id="loginname"><br/> |
|
|
|
|
|
<input type="submit" value="Play!"> |
|
|
</form> |
|
|
</form> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
|
|
<div id="app"> |
|
|
<svg id="svgscreen" xmlns="http://www.w3.org/2000/svg" version="1.1"> |
|
|
<svg id="svgscreen" xmlns="http://www.w3.org/2000/svg" version="1.1"> |
|
|
<rect width="100%" height="100%" style="fill:rgb(255, 255, 255); opacity:0.1; stroke-width:1; stroke:rgb(0,0,0)"/> |
|
|
<rect width="100%" height="100%" style="fill:rgb(255, 255, 255); opacity:0.1; stroke-width:1; stroke:rgb(0,0,0)"/> |
|
|
</svg> |
|
|
</svg> |
|
@ -33,6 +38,7 @@ |
|
|
(<span id="status">provide your name</span>) |
|
|
(<span id="status">provide your name</span>) |
|
|
<a onClick="changeKind();" href="#">Change line kind (to <span id="line_kind">guitar</span>)</a> |
|
|
<a onClick="changeKind();" href="#">Change line kind (to <span id="line_kind">guitar</span>)</a> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |
|
|