forked from lejonmanen/learn-code-blockly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
65 lines (60 loc) · 1.63 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
55
56
57
58
59
60
61
62
63
64
65
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/javascript.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title> Koda med Blockly </title>
<script type="module" src="/src/main.js"></script>
</head>
<body>
<header>
<h1> Koda med Blockly </h1>
<button id="tour-btn"> Guide </button>
<button id="menu"> ⚙️ </button>
<!-- <button id="load-btn"> Ladda </button> -->
<!-- <button id="save-btn"> Spara </button> -->
<h2 id="snippet-title"> Namnlöst projekt </h2>
</header>
<main>
<div style="display: none;">
<button id="initBtn" type="button"> Init Blockly </button>
</div>
<div class="splitter">
<div class="blockly"> </div>
<div class="separator"></div>
<div class="codeOutput">
<pre><code class="language-javascript"></code></pre>
<button> Kopiera kod </button>
</div>
</div>
</main>
<div class="overlay">
<dialog id="options-dialog">
<h1> Ditt projekt </h1>
<div id="options-rename">
<input type="text" value="" />
<button> Spara nytt </button>
</div>
<hr>
<h1> Tidigare kod </h1>
<section class="projects">
<p class="item">
Den 2023-10-21, klockan 12:33
<button> Byt till </button>
</p>
<p class="item">
Den 2023-10-21, klockan 12:33
<button> Byt till </button>
</p>
<p class="item">
Den 2023-10-21, klockan 12:33
<button> Byt till </button>
</p>
<!-- TODO "idag", "igår", X dagar sedan -->
</section>
<p><em> Ditt nuvarande projekt sparas när du byter till ett annat. </em></p>
</dialog>
</div>
</body>
</html>