index.html 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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="static/index.css">
  11. <script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
  12. <script type="text/javascript" charset="utf-8" src="static/echarts.js "></script>
  13. <script type="text/javascript" src="static/time.js"></script>
  14. <!-- <script type="text/javascript" charset="utf-8" src="static/echarts-liquidfill.js"></script> -->
  15. <title set-lan="html:title">機械所水塔監控網站 - {% block title %}{% endblock %}</title>
  16. </head>
  17. <body>
  18. <nav class="navbar navbar-expand-lg navbar-light">
  19. <div class="container-fluid">
  20. <a class="navbar-brand" href="#"><img src="static/img/PMS_LOGO.png" alt=""></a>
  21. <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  22. <span class="navbar-toggler-icon"></span>
  23. </button>
  24. <div class="collapse navbar-collapse ms-auto" id="navbarNav">
  25. <ul class="navbar-nav ms-auto">
  26. <li class="nav-item">
  27. <a class="nav-link" href="">訊息通知</a>
  28. </li>
  29. <li class="nav-item">
  30. <a class="nav-link" href="/login">會員登入</a>
  31. </li>
  32. </ul>
  33. </div>
  34. </div>
  35. </nav>
  36. <div id='sitebody'>
  37. <div id="nav-side-bar" class="nav-side-bar">
  38. <ul>
  39. <li><a href="/home" class="side-bar-link active">總覽</a></li>
  40. <li><a href="/tower" class="side-bar-link">水塔監控</a></li>
  41. <li><a href="/optim" class="side-bar-link">智能最佳化</a></li>
  42. <li><a href="/vibration" class="side-bar-link">震動監控</a></li>
  43. <li><a href="/history" class="side-bar-link">歷史資料</a></li>
  44. <li><a href="/device" class="side-bar-link">設備設定</a></li>
  45. <li><a href="/system" class="side-bar-link">系統設定</a></li>
  46. </ul>
  47. </div>
  48. <div id='content'>
  49. {% block body %}
  50. {% endblock %}
  51. </div>
  52. </div>
  53. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  54. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  55. crossorigin="anonymous"></script>
  56. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  57. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  58. crossorigin="anonymous"></script>
  59. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  60. <script type="text/javascript" src="static/index.js"></script>
  61. <script type="text/javascript" src="static/table.js"></script>
  62. </body>
  63. </html>