index.html 3.5 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"
  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. <ul>
  41. <li><a href="/home" class="side-bar-link active">總覽</a></li>
  42. <li><a href="/tower" class="side-bar-link">水塔監控</a></li>
  43. <li><a href="/optim" class="side-bar-link">智能最佳化</a></li>
  44. <li><a href="/vibration" class="side-bar-link">震動監控</a></li>
  45. <li><a href="/history" class="side-bar-link">歷史資料</a></li>
  46. <li><a href="/device" class="side-bar-link">設備設定</a></li>
  47. <li><a href="/system" class="side-bar-link">系統設定</a></li>
  48. </ul>
  49. </div>
  50. <div id='content'>
  51. {% block body %}
  52. {% endblock %}
  53. </div>
  54. </div>
  55. <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"
  56. integrity="sha384-IQsoLXl5PILFhosVNubq5LC7Qb9DXgDA9i+tQ8Zj3iwWAwPtgFTxbJ8NT4GN1R8p"
  57. crossorigin="anonymous"></script>
  58. <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js"
  59. integrity="sha384-Atwg2Pkwv9vp0ygtn1JAojH0nYbwNJLPhwyoVbhoPwBhjQPR5VtM2+xf0Uwh9KtT"
  60. crossorigin="anonymous"></script>
  61. <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
  62. <script type="text/javascript" src="/static/index.js"></script>
  63. </body>
  64. </html>