| 1234567891011121314151617181920212223242526272829303132333435363738 |
- #pragma once
- #include <pgmspace.h>
- static const char AP_HTML[] PROGMEM = R"HTML(
- <!doctype html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <title>Modulos DSP — WiFi Setup</title>
- <style>
- body { font-family: sans-serif; max-width: 380px; margin: 60px auto; padding: 0 20px; }
- h3 { margin-bottom: 0.3rem; }
- p { color: #666; font-size: 0.88rem; margin-top: 0.2rem; }
- label { display: block; margin-top: 1rem; font-size: 0.88rem; font-weight: 600; }
- input { width: 100%; padding: 8px; margin-top: 4px; box-sizing: border-box;
- border: 1px solid #ccc; border-radius: 4px; font-size: 1rem; }
- button { display: block; width: 100%; margin-top: 1.4rem; padding: 10px;
- background: #f0ad4e; color: #000; border: none; border-radius: 4px;
- font-size: 1rem; cursor: pointer; }
- button:hover { background: #ec971f; }
- </style>
- </head>
- <body>
- <h3>Modulos DSP — WiFi Setup</h3>
- <p>Enter credentials for your WiFi network. The device will reboot and join automatically.</p>
- <form method="POST" action="/save">
- <label>Network SSID
- <input name="ssid" autocomplete="off" required>
- </label>
- <label>Password
- <input type="password" name="pass" autocomplete="new-password">
- </label>
- <button type="submit">Save & Connect</button>
- </form>
- </body>
- </html>
- )HTML";
|