registration.html 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Skyeye</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7. <!-- 新 Bootstrap4 核心 CSS 文件 -->
  8. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.1.0/css/bootstrap.min.css">
  9. <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
  10. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  11. <!-- popper.min.js 用于弹窗、提示、下拉菜单 -->
  12. <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
  13. <!-- 最新的 Bootstrap4 核心 JavaScript 文件 -->
  14. <script src="https://cdn.bootcss.com/bootstrap/4.1.0/js/bootstrap.min.js"></script>
  15. <script src="../static/js/registration.js"></script>
  16. <link rel="stylesheet" href="../static/css/registration.css">
  17. </head>
  18. <body>
  19. <div class="container">
  20. <div class="row">
  21. <div class="col-2"></div>
  22. <div class="col">
  23. <img src="../static/img/logo_new.png" class="img-fluid">
  24. <h1 class="text-center">Registration</h1>
  25. <form method="post" action="/register">
  26. <div class="form">
  27. <div class="wrong-info"><span id="username-span"></span></div>
  28. <div class="form-inline">
  29. <label for="usr">User Name</label>
  30. <input type="text" class="form-control" id="usr" name="username">
  31. </div>
  32. <div class="wrong-info"><span id="password-span"></span></div>
  33. <div class="form-inline">
  34. <label for="pwd">Password</label>
  35. <input type="password" class="form-control" id="pwd" name="password">
  36. </div>
  37. <div class="wrong-info"><span></span></div>
  38. <div class="form-inline">
  39. <label for="cpwd">Confirm Password</label>
  40. <input type="password" class="form-control" id="cpwd" name="confirmpwd">
  41. </div>
  42. </div>
  43. <div>
  44. <input type="submit" class="btn btn-info" value="Register">
  45. <input type="button" class="btn btn-info" value="Cancel" onclick="Login()">
  46. </div>
  47. </form>
  48. </div>
  49. <div class="col-2"></div>
  50. </div>
  51. </div>
  52. </body>
  53. </html>