forked from yanjost/edge-laser-simulator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
27 lines (25 loc) · 1.49 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!DOCTYPE html>
<html>
<head>
<title>Edge Laser Simulator</title>
<script src="js/jquery-2.1.1.min.js"></script>
<script src="js/main.js"></script>
</head>
<body>
<div style="background-color:black;float:left;height:501px">
<canvas id="simulator" width="500" height="500" style="border:1px solid lime"></canvas>
</div>
<div style="padding-left:530px">
<h1>Edge Laser Simulator <small style="font-size:13px;color:white;background:black">sim v.1.2</small> <small style="font-size:13px;color:white;background:black">protocol v.2 (alpha)</small></h1>
<code id="log" style="display:block;padding-left:1px;font-family:monospace;background:black;color:lime;width:500px;height:240px;overflow:hidden"></code>
<br>
<table>
<tr><td>Simulator</td><td><small id="fps_simu" style="padding-left:1px;display:inline-block;width:35px;font-size:13px;color:lime;background:black;font-family:monospace;">0</small><small style="font-size:13px;color:lime;background:black;font-family:monospace;padding-right:1px">FPS</small></td></tr>
<tr><td>Server</td><td><small id="fps_serv" style="padding-left:1px;display:inline-block;width:35px;font-size:13px;color:lime;background:black;font-family:monospace;">0</small><small style="font-size:13px;color:lime;background:black;font-family:monospace;padding-right:1px">FPS</small></td></tr>
</table>
<br>
<b>Play game (<a href="javascript:pause()">Pause current</a>) :</b>
<div id="clients"><i>No clients connected</i></div>
</div>
</body>
</html>