index.html 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>ArduRemoteID</title>
  6. <meta name="description" content="ArduPilot RemoteID Module.">
  7. <link rel="stylesheet" type="text/css" href="styles/main.css">
  8. </head>
  9. <body>
  10. <form name='loginForm'>
  11. <table width='20%' bgcolor='A09F9F' align='center'>
  12. <tr>
  13. <td colspan=2>
  14. <center><font size=4><b>ArduRemoteID Login</b></font></center>
  15. <br>
  16. </td>
  17. <br>
  18. <br>
  19. </tr>
  20. <br>
  21. <br>
  22. <tr>
  23. <td>Password:</td>
  24. <td><input type='Password' size=25 name='pwd'><br></td>
  25. <br>
  26. <br>
  27. </tr>
  28. <tr>
  29. <td><input type='submit' onclick='check(this.form)' value='Login'></td>
  30. </tr>
  31. </table>
  32. </form>
  33. <script>
  34. function check(form) {
  35. if (form.pwd.value=='admin') {
  36. window.open('/uploader.html')
  37. } else {
  38. alert('Incorrect Password')
  39. }
  40. }
  41. </script>
  42. </body>
  43. </html>