lqml/examples/cl-repl/www/index.html

44 lines
1.5 KiB
HTML

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body { color: #505050; font-family: sans-serif; margin: 30px 20px; }
a:link, a:visited { text-decoration: none; color: blue; }
a:hover { text-decoration: underline; }
</style>
</head>
<body>
<h3>Upload files to REPL app</h3>
<form enctype="multipart/form-data" method="post" action="/">
<p>
<small><b>Whole Directory</b> (recursive in Firefox/Chromium)</small>
<br>
<input name="files[]" type="file" webkitdirectory directory />
</p>
<p>
<small><b>Single File</b></small>
<br>
<input name="file" type="file" value="Choose file" />
</p>
<p>
<input type="submit" value="Upload" />
</p>
</form>
<small>
Files are saved in <code>[Home]/uploads/</code>.
<ul>
<li>uploaded zip files can be unzipped on the device with
<br><code>(unzip "all.zip" "examples/") ; android</code>
<br><code>(unzip "all.zip" "../Documents/examples/") ; iOS</code>
<br>&nbsp;
<li>files on the device can be zipped before downloading with
<br><code>(zip "all.zip" "examples/") ; android</code>
<br><code>(zip "all.zip" "../Documents/examples/") ; iOS</code>
<br>and downloaded like so:
<br><code>http://192.168.1.x:1701/all.zip</code>
</ul>
</small>
</body>
</html>