Skip to content

Commit 264f49b

Browse files
committed
give up on adding good javascript support, clean up UI instead
1 parent e8ffd4e commit 264f49b

5 files changed

Lines changed: 258 additions & 148 deletions

File tree

wasm/notebook/src/index.ejs

Lines changed: 17 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,27 @@
1414
<div class="d-flex">
1515
<div class="header item-center">RustPython 🐍 😱 🤘</div>
1616
<div>
17-
<a class="mr-px-5" href="https://rustpython.github.io/2020/10/21/rustpython-notebook-details"> how to </a>
18-
<a href="https://github.com/RustPython/"> github</a>
17+
<a target="_blank" class="mr-px-5 text-black" href="https://github.com/RustPython/RustPython/tree/master/wasm/notebook">how this works</a>
18+
<a target="_blank" class="text-black" href="https://github.com/RustPython/"> github</a>
1919
</div>
2020
</div>
2121

22-
23-
2422
<!-- navigation bar -->
25-
<div class="nav-bar">
26-
<div class="nav-bar-links d-flex">
27-
<a href="#" id="run-btn" class="bg-orange text-white mr-px-5">run &#9658; </a>
28-
<ul class="list-inline" id="buffers-list"></ul>
29-
<a href="#" id="new-tab" class="bg-light mr-px-5 text-black">new tab</a>
30-
<a href="#" id="split-view" class="bg-light mr-px-5 text-black">split view</a>
31-
<a href="#" id="reader-mode" class="bg-light mr-px-5 text-black">reader mode</a>
23+
<div class="nav-bar mt-px-5">
24+
<div class="nav-bar-links d-flex d-flex-space-between">
25+
<div class="d-flex">
26+
<a href="#" id="run-btn" class="bg-orange text-white mr-px-5">run &#9658; </a>
27+
<ul class="list-inline" id="buffers-list"></ul>
28+
<a href="#" id="new-tab" class="bg-light mr-px-5 text-black">new tab</a>
29+
<a href="#" id="import-code" class="bg-light mr-px-5 text-black">import code</a>
30+
</div>
31+
32+
<div class="nav-bar-links d-flex">
33+
<a href="#" id="split-view" class="bg-light mr-px-5 text-black">split view</a>
34+
<a href="#" id="default-view" class="bg-light mr-px-5 text-black">default view</a>
35+
<a href="#" id="reader-view" class="bg-light text-black">reader view</a>
36+
</div>
37+
3238
</div>
3339
</div>
3440

0 commit comments

Comments
 (0)