Fork of the espurna firmware for `mhsw` switches
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.

76 lines
3.1 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <title>ESPurna 0.0.0</title>
  5. <meta charset="utf-8" />
  6. <link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  8. <!-- build:css style.css -->
  9. <link rel="stylesheet" href="pure-min.css" />
  10. <link rel="stylesheet" href="side-menu.css" />
  11. <link rel="stylesheet" href="grids-responsive-min.css" />
  12. <link rel="stylesheet" href="checkboxes.css" />
  13. <link rel="stylesheet" href="custom.css" />
  14. <!-- endbuild -->
  15. </head>
  16. <body>
  17. <div id="layout">
  18. <div class="content">
  19. <form id="formSave" class="pure-form" action="/" method="post">
  20. <div class="panel" style="display: block;">
  21. <div class="header">
  22. <h1>SECURITY</h1>
  23. <h2>Before using this device you have to change the default password for the user 'admin'. This password will be used for the <strong>AP mode hotspot</strong>, the <strong>web interface</strong> (where you are now) and the <strong>over-the-air updates</strong>.</h2>
  24. </div>
  25. <div class="page">
  26. <fieldset>
  27. <div class="pure-g">
  28. <label class="pure-u-1 pure-u-md-1-4" for="adminPass1">Admin password</label>
  29. <input name="adminPass1" class="pure-u-1 pure-u-md-3-4" type="password" tabindex="1" />
  30. <div class="pure-u-0 pure-u-md-1-4">&nbsp;</div>
  31. <div class="pure-u-1 pure-u-md-3-4 hint">
  32. The administrator password is used to access this web interface (user 'admin'), but also to connect to the device when in AP mode or to flash a new firmware over-the-air (OTA).<br />
  33. It should have at least <strong>eight characters</strong> (letters, numbers or the underscore) and at least <strong>one number</strong>, <strong>one lowercase</strong> and <strong>one uppercase</strong> letter.</div>
  34. </div>
  35. <div class="pure-g">
  36. <label class="pure-u-1 pure-u-md-1-4" for="adminPass2">Admin password (repeat)</label>
  37. <input name="adminPass2" class="pure-u-1 pure-u-md-3-4" type="password" tabindex="2" />
  38. </div>
  39. <button class="pure-button button-update">Update</button>
  40. </fieldset>
  41. </div>
  42. </div>
  43. </form>
  44. </div> <!-- content -->
  45. </div> <!-- layout -->
  46. </body>
  47. <!-- build:js script.js -->
  48. <script src="jquery-1.12.3.min.js"></script>
  49. <script src="checkboxes.js"></script>
  50. <script src="custom.js"></script>
  51. <!-- endbuild -->
  52. <script>
  53. password = true;
  54. </script>
  55. </html>