34 lines
1.2 KiB
HTML
34 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CircuitPython</title>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<script src="/welcome.js" defer=true></script>
|
|
<link rel="stylesheet" href="/style.css">
|
|
</head>
|
|
<body>
|
|
|
|
<h1><a href="/"><img src="/favicon.ico"/></a> Welcome!</h1>
|
|
|
|
<p>Welcome to CircuitPython's Web API. Go to the <a href="/fs/">file browser</a> to work with files in the CIRCUITPY drive. Go to the <a href="/cp/serial/">serial terminal</a> to see code output and interact with the REPL. Make sure you've set <code>CIRCUITPY_WEB_API_PASSWORD='somepassword'</code> in <code>/.env</code>. Provide the password when the browser prompts for it. <strong>Leave the username blank.</strong></p>
|
|
|
|
<h2>Device Info</h2>
|
|
|
|
<dl>
|
|
<dt>Board:</dt>
|
|
<dd><a id="board"></a></dd>
|
|
<dt>Version:</dt>
|
|
<dd><span id="version"></span></dd>
|
|
<dt>Hostname:</dt>
|
|
<dd><a id="hostname"></a></dd>
|
|
<dd>IP:</dd>
|
|
<dt><a id="ip"></a></dt>
|
|
<dd>Other Devices</dd>
|
|
</dl>
|
|
<h2>Here are other CircuitPython devices on your network:</h2>
|
|
<ul id="devices">
|
|
</ul>
|
|
</body>
|
|
</html>
|