-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
41 lines (41 loc) · 1.66 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="./brython.js"></script>
<script type="text/javascript" src="./brython_modules.js"></script>
<script type="text/python" src="./blocks.py" ></script>
<title>Blocks in Brython</title>
<link href="./entireframework.min.css" rel="stylesheet" type="text/css">
</head>
<body onload="brython(1)">
<nav class="nav" tabindex="-1" onclick="this.focus()">
<div class="container">
<a class="pagename current" href="#">Blocks in Brython</a>
<a href="https://github.com/bmsleight/brython-blocks">Source Code</a>
<a href="https://www.barwap.com/projects/">Barwap.com</a>
</div>
</nav>
<button class="btn-close btn btn-sm">×</button>
<div class="container">
<p>An attempt to have blocks running, from the browser using
<a href="http://brython.info/">Brython</a>, Controls are arrow keys or WASF</p>
</div>
<div class="container">
<div class="row">
<div class="col c4">
<canvas id="grid" width="0" height="0"></canvas>
</div>
<div class="col c4"><p> </p>
</div>
<div class="col c4">
<p>Next block: <div id="details"></div></p>
<canvas id="next" width="0" height="0"></canvas>
<p>Total lines: <span id="total"></span></p>
<button id="stop" class="btn btn-sm btn-c">Stop</button>
</div>
</div>
</div>
</body>
</html>