registration.html 4.0 KB

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