multiple web config

This commit is contained in:
2018-09-13 01:17:11 +02:00
parent beacbb2fb3
commit 5ffb0d32c9
3 changed files with 33 additions and 23 deletions

View File

@@ -11,11 +11,24 @@
<button class="js-restart">Restart</button>
<br>
<br>
<form action="/config" method="post">
<textarea name="config" class="js-config" rows="20" cols="50"></textarea>
<br>
<input type="submit" value="Submit">
</form>
<fieldset>
<legend>Network</legend>
<form action="/config" method="post">
<input type="hidden" name="fileName" value="/config.json">
<textarea name="config" class="js-config" rows="20" cols="50"></textarea>
<br>
<input type="submit" value="Submit">
</form>
</fieldset>
<fieldset>
<legend>NeoPixel Config</legend>
<form action="/config" method="post">
<input type="hidden" name="fileName" value="/pixelConfig.json">
<textarea name="config" class="js-config" rows="20" cols="50"></textarea>
<br>
<input type="submit" value="Submit">
</form>
</fieldset>
</body>