-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
54 lines (43 loc) · 1.79 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
42
43
44
45
46
47
48
49
50
51
52
53
54
<!doctype html>
<html>
<head>
<!-- Recommended meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<!--
<link rel="stylesheet" href="https://pyscript.net/releases/2024.1.1/core.css">
<script type="module" src="https://pyscript.net/releases/2024.1.1/core.js"></script>
-->
<link rel="stylesheet" href="https://pyscript.net/releases/2024.8.2/core.css">
<script type="module" src="https://pyscript.net/releases/2024.8.2/core.js"></script>
<link rel="stylesheet" href="./css/turtleps.css" />
<!-- for splashscreen -->
<style>
#loading { outline: none; border: none; background: transparent }
</style>
<script type="module">
const loading = document.getElementById('loading');
addEventListener('py:ready', () => loading.close());
loading.showModal();
</script>
<title>Turtle Pyscript</title>
<link rel="icon" type="image/png" href="./img/favicon.png" />
</head>
<body>
<dialog id="loading">
<h1>Loading...</h1>
</dialog>
<nav class="navbar" style="background-color: #000000">
<div class="app-header">
<a href="/">
<!--<img src="./img/logo.png" class="logo" /> -->
</a>
<a class="title" href="" style="color: #f0ab3c">Turtle Pyscript</a>
<!--<div class="cdtn-game-ctrl"><span class="cdtn-play">Play</span><span class="cdtn-stop">Stop</span></div>-->
</div>
</nav>
<section class="pyscript">
<script type="py" src="./main.py" config="./pyscript.json"></script>
</section>
</body>
</html>