44 lines
1.2 KiB
HTML
44 lines
1.2 KiB
HTML
<html>
|
|
<head>
|
|
<title>WeatherSensor Config</title>
|
|
<style>
|
|
label { display: inline-block; width: 165px; }
|
|
h1 { text-align: center; }
|
|
div { margin: 10px 0px; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div style='margin: 0 auto; width: 400px;'>
|
|
<h1>Weather Sensor</h1>
|
|
<form id='SensorConfig' action='config' method='POST'>
|
|
<fieldset>
|
|
<legend>Config Details</legend>
|
|
<div>
|
|
<label for='ssid'>WLAN SSID:</label>
|
|
<input name='ssid' type='text' placeholder='WeatherSensorWiFi' value='' required autofocus>
|
|
</div>
|
|
<div>
|
|
<label for='pw'>WLAN Password:</label>
|
|
<input name='pw' type='text' placeholder='123456' required>
|
|
</div>
|
|
<div>
|
|
<label for='dev'>Device Name:</label>
|
|
<input name='dev' type='text' placeholder='S000' required>
|
|
</div>
|
|
<div>
|
|
<input name='config' type='submit' value='Save'>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
<form method='POST' action='update' enctype='multipart/form-data'>
|
|
<fieldset disabled='disabled'>
|
|
<legend>Firmware Update</legend>
|
|
<div>
|
|
<input type='file' name='update'>
|
|
<input type='submit' value='Update'>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html> |