Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements for Improved Web REPL Website Performance and User Experience 馃弾 #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 7 additions & 4 deletions webrepl.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
<!doctype html>
<html>
<html lang="en">
<head>
<link rel="preload" href="term.js" as="script" />
<link rel="preload" href="FileSaver.js" as="script" />
<title>MicroPython WebREPL</title>
<link rel="stylesheet" href="webrepl.css">
<meta name="theme-color" content="#555555" />
<script src="term.js"></script>
<script src="FileSaver.js"></script>
<script defer src="webrepl.js"></script>
</head>
<body>

<div style="display:inline-block; vertical-align:top;">
<form>
<input type="text" name="webrepl_url" id="url" value="" />
<input type="text" inputmode="url" name="webrepl_url" id="url" value="" />
<input type="submit" id="button" value="Connect" onclick="button_click(); return false;" />
</form>
<div id="term">
Expand Down Expand Up @@ -38,9 +42,8 @@

<br clear="both" />
<i>Terminal widget should be focused (text cursor visible) to accept input. Click on it if not.</i><br/>
<i>To paste, press Ctrl+A, then Ctrl+V</i>
<i>To paste, press <kbd>Ctrl+A</kbd>, then <kbd>Ctrl+V</kbd></i>
</body>

<script src="webrepl.js"></script>

</html>