rigister_test.html 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. <!DOCTYPE html>
  2. <html lang='zh-TW'>
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <!-- link -->
  7. <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css"
  8. rel="stylesheet" integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x"
  9. crossorigin="anonymous">
  10. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
  11. integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  12. <link rel="stylesheet" href="static/index.css">
  13. <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  14. <script type="text/javascript" charset="utf-8" src="static/echarts.js "></script>
  15. <script type="text/javascript" src="static/time.js"></script>
  16. <!-- <script type="text/javascript" charset="utf-8" src="static/echarts-liquidfill.js"></script> -->
  17. <title set-lan="html:title">機械所水塔監控網站 - {% block title %}{% endblock %}</title>
  18. </head>
  19. <body>
  20. <nav class="navbar navbar-expand-lg navbar-light">
  21. <div class="container-fluid">
  22. <a class="navbar-brand" href="#"><img src="static/img/PMS_LOGO.png" alt=""></a>
  23. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  24. <span class="navbar-toggler-icon"></span>
  25. </button>
  26. <div class="collapse navbar-collapse ms-auto" id="navbarNav">
  27. <ul class="navbar-nav ms-auto">
  28. <li class="nav-item">
  29. <a class="nav-link" href="">訊息通知</a>
  30. </li>
  31. <li class="nav-item">
  32. <a class="nav-link" href="/login">會員登入</a>
  33. </li>
  34. </ul>
  35. </div>
  36. </div>
  37. </nav>
  38. <div id='sitebody'>
  39. <div id="nav-side-bar" class="nav-side-bar">
  40. <img src="static/img/PMS_LOGO.png" alt="" width="650" class="bar_img">
  41. </div>
  42. <div id='content_login'>
  43. <!-- {% block body %} -->
  44. <form method="post" action="register" class="login_form">
  45. <h2>Sign up</h2>
  46. <input type="hidden" class="form-control" id="id" name="id" value="0">
  47. <div class="mb-3">
  48. <label for="username" class="form-label">User name</label>
  49. <input type="text" class="form-control" id="username" name="username" placeholder="請輸入帳號">
  50. </div>
  51. <div class="mb-3">
  52. <label for="password" class="form-label">Password</label>
  53. <input type="password" class="form-control" id="password" name="password" placeholder="請輸入密碼">
  54. </div>
  55. <button type="submit" class="btn btn-primary" id="btn_register">註冊</button>
  56. </form>
  57. <!-- {% endblock %} -->
  58. </div>
  59. </div>
  60. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  61. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  62. crossorigin="anonymous"></script>
  63. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  64. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  65. crossorigin="anonymous"></script>
  66. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  67. <script type="text/javascript" src="static/index.js"></script>
  68. </body>
  69. </html>