index.html 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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" rel="stylesheet"
  8. integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
  9. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css"
  10. integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
  11. <link rel="stylesheet" href="/static/index.css">
  12. <script src="https://code.jquery.com/jquery-3.6.0.min.js"
  13. 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"
  24. aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
  25. <span class="navbar-toggler-icon"></span>
  26. </button>
  27. <div class="collapse navbar-collapse ms-auto" id="navbarNav">
  28. <ul class="navbar-nav ms-auto">
  29. <li class="nav-item">
  30. <a class="nav-link" href="">訊息通知</a>
  31. </li>
  32. <li class="nav-item">
  33. <a class="nav-link" href="/login">會員登入</a>
  34. </li>
  35. </ul>
  36. </div>
  37. </div>
  38. </nav>
  39. <div id='sitebody'>
  40. <div id="nav-side-bar" class="nav-side-bar">
  41. <ul>
  42. <li><a href="/home" class="side-bar-link active">總覽</a></li>
  43. <li><a href="/tower" class="side-bar-link">水塔監控</a></li>
  44. <li><a href="/optim" class="side-bar-link">智能最佳化</a></li>
  45. <li><a href="/vibration" class="side-bar-link">震動監控</a></li>
  46. <li><a href="/history" class="side-bar-link">歷史資料</a></li>
  47. <li><a href="/device" class="side-bar-link">設備設定</a></li>
  48. <li><a href="/system" class="side-bar-link">系統設定</a></li>
  49. </ul>
  50. </div>
  51. <div id='content'>
  52. {% block body %}
  53. {% endblock %}
  54. </div>
  55. </div>
  56. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  57. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  58. crossorigin="anonymous"></script>
  59. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  60. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  61. crossorigin="anonymous"></script>
  62. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  63. <script type="text/javascript" src="/static/index.js"></script>
  64. </body>
  65. </html>