added first bits of the website and moved source code to src
This commit is contained in:
@@ -18,8 +18,8 @@ add_subdirectory(../lib/bme280 bme280_build)
|
||||
add_subdirectory(../lib/dhcp_server dhcp_server_build)
|
||||
|
||||
add_executable(sensor-pico
|
||||
main.cpp
|
||||
webserver.c
|
||||
src/main.cpp
|
||||
src/webserver.c
|
||||
)
|
||||
|
||||
# Standard Ein-/Ausgabe über USB (du siehst printf im Terminal)
|
||||
|
||||
21
sensor-pico/fs/index.html
Normal file
21
sensor-pico/fs/index.html
Normal file
@@ -0,0 +1,21 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Konfiguration</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<h1>WLAN Einstellungen</h1>
|
||||
<form action="/config" method="post">
|
||||
<label>SSID:</label>
|
||||
<input type="text" name="ssid">
|
||||
<br>
|
||||
<label>Passwort:</label>
|
||||
<input type="password" name="password">
|
||||
<br>
|
||||
<input type="submit" value="Speichern">
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
0
sensor-pico/fs/style.css
Normal file
0
sensor-pico/fs/style.css
Normal file
Reference in New Issue
Block a user