mirror of https://github.com/jeelabs/esp-link.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
804 B
30 lines
804 B
9 years ago
|
<div id="main">
|
||
|
<div class="header">
|
||
|
<h1>Web Server</h1>
|
||
|
</div>
|
||
|
|
||
|
<div class="content">
|
||
9 years ago
|
<p>User defined web pages can be uploaded to esp-link. This is useful if esp-link acts as a web server while MCU provides
|
||
|
the measurement data.</p>
|
||
9 years ago
|
|
||
9 years ago
|
<form method="post" action="web-server/upload" name="submit" enctype="multipart/form-data" onSubmit="return onSubmit()">
|
||
8 years ago
|
The custom web page to upload: <input type="file" name="webpage" multiple>
|
||
9 years ago
|
<input type="submit" name="submit" value="Submit">
|
||
|
</form>
|
||
|
|
||
|
</div>
|
||
|
|
||
9 years ago
|
</div>
|
||
9 years ago
|
|
||
|
<script>
|
||
|
var allowSubmit = true;
|
||
|
|
||
|
function onSubmit() {
|
||
|
setTimeout(function() {
|
||
|
window.location.reload();
|
||
|
}, 1000);
|
||
|
return true;
|
||
|
}
|
||
|
</script>
|
||
9 years ago
|
</body></html>
|