13 lines
474 B
HTML
13 lines
474 B
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>Turret!</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<div style="width: 400px; height: 400px; margin-top: -200px; margin-left: -200px; position: absolute; top: 50%; left: 50%;">
|
||
|
<a href="/up/20">Up</a>
|
||
|
<a href="/down/20">Down</a>
|
||
|
<a href="/left/20">Left</a>
|
||
|
<a href="/right/20">Right</a>
|
||
|
<h2>Status</h2> <p>""" + json.dumps(cannon.get_data()) + """ </p></div>
|
||
|
</body>
|
||
|
</html>
|